opnsense-ports/irc/quirc/files/patch-format.cc
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

15 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);
}