summaryrefslogtreecommitdiff
path: root/net/jigdo/patches
diff options
context:
space:
mode:
authorjoerg <joerg>2011-11-25 22:11:44 +0000
committerjoerg <joerg>2011-11-25 22:11:44 +0000
commit662fed3fc7e2f5672078bfc546cb5119ed6fec0e (patch)
tree50f550d12795dd7c44156b4fbf71bb81f53e6f0a /net/jigdo/patches
parentcdb4b98bdb90f99b3df8c7b4ba04620c9b928add (diff)
downloadpkgsrc-662fed3fc7e2f5672078bfc546cb5119ed6fec0e.tar.gz
Fix build with newer GCC
Diffstat (limited to 'net/jigdo/patches')
-rw-r--r--net/jigdo/patches/patch-src_compat.hh12
-rw-r--r--net/jigdo/patches/patch-src_gtk_gtk-single-url.cc12
-rw-r--r--net/jigdo/patches/patch-src_gtk_jigdo.cc16
-rw-r--r--net/jigdo/patches/patch-src_recursedir.cc12
-rw-r--r--net/jigdo/patches/patch-src_util_configfile.cc12
-rw-r--r--net/jigdo/patches/patch-src_util_md5sum.hh12
-rw-r--r--net/jigdo/patches/patch-src_util_string-utf.cc12
7 files changed, 88 insertions, 0 deletions
diff --git a/net/jigdo/patches/patch-src_compat.hh b/net/jigdo/patches/patch-src_compat.hh
new file mode 100644
index 00000000000..4557c615c0d
--- /dev/null
+++ b/net/jigdo/patches/patch-src_compat.hh
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_compat.hh,v 1.1 2011/11/25 22:11:44 joerg Exp $
+
+--- src/compat.hh.orig 2011-11-25 18:39:05.000000000 +0000
++++ src/compat.hh
+@@ -19,6 +19,7 @@
+ #include <config.h>
+
+ #include <string>
++#include <cstdlib>
+ #include <stdio.h>
+ #include <unistd-jigdo.h>
+ #include <sys/stat.h>
diff --git a/net/jigdo/patches/patch-src_gtk_gtk-single-url.cc b/net/jigdo/patches/patch-src_gtk_gtk-single-url.cc
new file mode 100644
index 00000000000..f5a67c3e8dd
--- /dev/null
+++ b/net/jigdo/patches/patch-src_gtk_gtk-single-url.cc
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_gtk_gtk-single-url.cc,v 1.1 2011/11/25 22:11:44 joerg Exp $
+
+--- src/gtk/gtk-single-url.cc.orig 2011-11-25 18:42:19.000000000 +0000
++++ src/gtk/gtk-single-url.cc
+@@ -13,6 +13,7 @@
+
+ #include <config.h>
+
++#include <cstring>
+ #include <time.h>
+ #include <errno.h>
+
diff --git a/net/jigdo/patches/patch-src_gtk_jigdo.cc b/net/jigdo/patches/patch-src_gtk_jigdo.cc
new file mode 100644
index 00000000000..a165d8e92ce
--- /dev/null
+++ b/net/jigdo/patches/patch-src_gtk_jigdo.cc
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_gtk_jigdo.cc,v 1.1 2011/11/25 22:11:44 joerg Exp $
+
+--- src/gtk/jigdo.cc.orig 2011-11-25 18:44:14.000000000 +0000
++++ src/gtk/jigdo.cc
+@@ -12,10 +12,10 @@
+ #include <config.h>
+
+ #if DEBUG
+-# include <string.h>
+ # include <unistd-jigdo.h>
+ #endif
+
++#include <cstring>
+ #include <iostream>
+ #include <string>
+ #include <vector>
diff --git a/net/jigdo/patches/patch-src_recursedir.cc b/net/jigdo/patches/patch-src_recursedir.cc
new file mode 100644
index 00000000000..55dc4609a40
--- /dev/null
+++ b/net/jigdo/patches/patch-src_recursedir.cc
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_recursedir.cc,v 1.1 2011/11/25 22:11:44 joerg Exp $
+
+--- src/recursedir.cc.orig 2011-11-25 18:40:56.000000000 +0000
++++ src/recursedir.cc
+@@ -32,6 +32,7 @@
+ #include <recursedir.hh>
+
+ #include <iostream>
++#include <cstring>
+ #include <errno.h>
+ #include <sys/stat.h>
+ #include <sys/types.h>
diff --git a/net/jigdo/patches/patch-src_util_configfile.cc b/net/jigdo/patches/patch-src_util_configfile.cc
new file mode 100644
index 00000000000..685fc5f220c
--- /dev/null
+++ b/net/jigdo/patches/patch-src_util_configfile.cc
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_util_configfile.cc,v 1.1 2011/11/25 22:11:44 joerg Exp $
+
+--- src/util/configfile.cc.orig 2011-11-25 18:41:22.000000000 +0000
++++ src/util/configfile.cc
+@@ -18,6 +18,7 @@
+
+ #include <iostream>
+ #include <fstream>
++#include <cstring>
+
+ #include <configfile.hh>
+ #include <string.hh>
diff --git a/net/jigdo/patches/patch-src_util_md5sum.hh b/net/jigdo/patches/patch-src_util_md5sum.hh
new file mode 100644
index 00000000000..65256595176
--- /dev/null
+++ b/net/jigdo/patches/patch-src_util_md5sum.hh
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_util_md5sum.hh,v 1.1 2011/11/25 22:11:44 joerg Exp $
+
+--- src/util/md5sum.hh.orig 2011-11-25 18:39:32.000000000 +0000
++++ src/util/md5sum.hh
+@@ -31,6 +31,7 @@
+ #include <cstdlib>
+ #include <iosfwd>
+ #include <string>
++#include <cstring>
+
+ #include <bstream.hh>
+ #include <debug.hh>
diff --git a/net/jigdo/patches/patch-src_util_string-utf.cc b/net/jigdo/patches/patch-src_util_string-utf.cc
new file mode 100644
index 00000000000..f15e5add0eb
--- /dev/null
+++ b/net/jigdo/patches/patch-src_util_string-utf.cc
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_util_string-utf.cc,v 1.1 2011/11/25 22:11:44 joerg Exp $
+
+--- src/util/string-utf.cc.orig 2011-11-25 18:45:16.000000000 +0000
++++ src/util/string-utf.cc
+@@ -15,6 +15,7 @@
+ #include <glib.h>
+ #include <stdarg.h>
+ #include <stdio.h>
++#include <string.h>
+
+ #include <debug.hh>
+ #include <string-utf.hh>