summaryrefslogtreecommitdiff
path: root/sysutils/strigi/patches
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2011-02-17 09:45:00 +0000
committermarkd <markd@pkgsrc.org>2011-02-17 09:45:00 +0000
commitbd798f6ba8965984c962ddf0135db4f816072173 (patch)
tree0b1b612a3b2430983dab203c0e1e9adf06024b7a /sysutils/strigi/patches
parent219117b59317f73250aa101afec4c0c552f83f95 (diff)
downloadpkgsrc-bd798f6ba8965984c962ddf0135db4f816072173.tar.gz
fix build with gcc4.3
Diffstat (limited to 'sysutils/strigi/patches')
-rw-r--r--sysutils/strigi/patches/patch-src_daemon_strigithread.cpp14
-rw-r--r--sysutils/strigi/patches/patch-src_luceneindexer_jsgzipcompressstream.h14
2 files changed, 28 insertions, 0 deletions
diff --git a/sysutils/strigi/patches/patch-src_daemon_strigithread.cpp b/sysutils/strigi/patches/patch-src_daemon_strigithread.cpp
new file mode 100644
index 00000000000..7263d9f69f2
--- /dev/null
+++ b/sysutils/strigi/patches/patch-src_daemon_strigithread.cpp
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_daemon_strigithread.cpp,v 1.1 2011/02/17 09:45:00 markd Exp $
+
+Fix build with gcc4.3
+
+--- src/daemon/strigithread.cpp.orig 2009-02-01 19:56:01.000000000 +0000
++++ src/daemon/strigithread.cpp
+@@ -23,6 +23,7 @@
+
+ #include <string>
+ #include <cstring>
++#include <cstdio>
+ #include <errno.h>
+ #include <signal.h>
+ #include <vector>
diff --git a/sysutils/strigi/patches/patch-src_luceneindexer_jsgzipcompressstream.h b/sysutils/strigi/patches/patch-src_luceneindexer_jsgzipcompressstream.h
new file mode 100644
index 00000000000..343da1b99a5
--- /dev/null
+++ b/sysutils/strigi/patches/patch-src_luceneindexer_jsgzipcompressstream.h
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_luceneindexer_jsgzipcompressstream.h,v 1.1 2011/02/17 09:45:00 markd Exp $
+
+Fix build with gcc4.3
+
+--- src/luceneindexer/jsgzipcompressstream.h.orig 2009-02-01 19:55:38.000000000 +0000
++++ src/luceneindexer/jsgzipcompressstream.h
+@@ -21,6 +21,7 @@
+ #define GZIPCOMPRESSSTREAM_H
+
+ #include <strigi/strigiconfig.h> // (u)int64_t
++#include <cstdio>
+ #include <CLucene/util/streambase.h>
+ #include <CLucene/util/bufferedstream.h>
+