1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00
freebsd-ports/irc/quirc/files/patch-format.cc
Kevin Lo 14326f5ba4 - Fix build with gcc4.
- Drop maintainer.
2007-10-02 15:00:14 +00:00

16 lines
349 B
C++

--- format.cc.orig 2004-01-12 17:32:01.000000000 +0800
+++ format.cc 2007-10-02 22:46:34.000000000 +0800
@@ -1,4 +1,5 @@
#include <stdarg.h>
+#include <sys/types.h>
#include "quirc.h"
#include "hash.h"
@@ -405,5 +406,5 @@
}
int fexists(const char *type) {
- return (int)hash_get(&formats,type);
+ return (int)*hash_get(&formats,type);
}