aboutsummaryrefslogtreecommitdiffstats
path: root/irc/quirc/files
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2007-10-02 23:00:14 +0800
committerkevlo <kevlo@FreeBSD.org>2007-10-02 23:00:14 +0800
commitc43c5022b3a3563d2ee578cd86888f8542e9d3fd (patch)
treebe1d635f939f83d6d669a069773aa285448a5843 /irc/quirc/files
parent55fbc64d1f1cda80113a3ad8de58f7300e13b2d6 (diff)
downloadfreebsd-ports-gnome-c43c5022b3a3563d2ee578cd86888f8542e9d3fd.tar.gz
freebsd-ports-gnome-c43c5022b3a3563d2ee578cd86888f8542e9d3fd.tar.zst
freebsd-ports-gnome-c43c5022b3a3563d2ee578cd86888f8542e9d3fd.zip
- Fix build with gcc4.
- Drop maintainer.
Diffstat (limited to 'irc/quirc/files')
-rw-r--r--irc/quirc/files/patch-format.cc11
1 files changed, 9 insertions, 2 deletions
diff --git a/irc/quirc/files/patch-format.cc b/irc/quirc/files/patch-format.cc
index b2c258ab06f2..e43ad0f228c0 100644
--- a/irc/quirc/files/patch-format.cc
+++ b/irc/quirc/files/patch-format.cc
@@ -1,8 +1,15 @@
---- format.cc.orig Mon Jan 12 18:32:01 2004
-+++ format.cc Tue Feb 3 23:19:28 2004
+--- 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);
+ }