diff options
author | kevlo <kevlo@FreeBSD.org> | 2007-10-02 23:00:14 +0800 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2007-10-02 23:00:14 +0800 |
commit | c43c5022b3a3563d2ee578cd86888f8542e9d3fd (patch) | |
tree | be1d635f939f83d6d669a069773aa285448a5843 /irc/quirc/files | |
parent | 55fbc64d1f1cda80113a3ad8de58f7300e13b2d6 (diff) | |
download | freebsd-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.cc | 11 |
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); + } |