aboutsummaryrefslogtreecommitdiff
path: root/irc/znc/files
diff options
context:
space:
mode:
authorJase Thew <jase@FreeBSD.org>2012-11-28 23:02:15 +0000
committerJase Thew <jase@FreeBSD.org>2012-11-28 23:02:15 +0000
commitcaf90266b56cdfc8bcf2a175e2ee5f74eb4d494a (patch)
tree1623a650e2815b2bbe440a71f81171275c3cd0af /irc/znc/files
parent3d0db4d5f11139b0a0735e92f7d67a98f1a8501c (diff)
Notes
Diffstat (limited to 'irc/znc/files')
-rw-r--r--irc/znc/files/patch-configure15
-rw-r--r--irc/znc/files/patch-modules-modperl-Makefile_inc11
2 files changed, 26 insertions, 0 deletions
diff --git a/irc/znc/files/patch-configure b/irc/znc/files/patch-configure
new file mode 100644
index 000000000000..44420036be37
--- /dev/null
+++ b/irc/znc/files/patch-configure
@@ -0,0 +1,15 @@
+--- configure.orig 2012-11-06 16:02:24.000000000 +0000
++++ configure 2012-11-28 12:03:59.905827557 +0000
+@@ -4567,10 +4567,10 @@
+ $ac_path_SWIG -python -py3 -c++ -shadow -I"$srcdir"/swig_lib/python conftest-python.i >&5 && \
+ echo "python wrapper created" >&5 && \
+ echo "testing std::set... ">&5 && \
+- grep SInt_discard conftest.py >& /dev/null && \
++ (grep SInt_discard conftest.py) >/dev/null 2>&1 && \
+ echo "std::set works" >&5 && \
+ echo "testing PyInt_FromSize_t..." >&5 && \
+- grep '#define PyInt_FromSize_t' conftest-python_wrap.cxx >& /dev/null && \
++ (grep '#define PyInt_FromSize_t' conftest-python_wrap.cxx) >/dev/null 2>&1 && \
+ echo "PyInt_FromSize_t is defined" >&5 && \
+ $ac_path_SWIG -perl -c++ -shadow -I"$srcdir"/swig_lib/perl5 conftest-perl.i >&5 && \
+ echo "perl wrapper created" >&5 && \
diff --git a/irc/znc/files/patch-modules-modperl-Makefile_inc b/irc/znc/files/patch-modules-modperl-Makefile_inc
new file mode 100644
index 000000000000..377fdc46d892
--- /dev/null
+++ b/irc/znc/files/patch-modules-modperl-Makefile_inc
@@ -0,0 +1,11 @@
+--- modules/modperl/Makefile.inc.orig 2012-11-28 11:59:30.509460980 +0000
++++ modules/modperl/Makefile.inc 2012-11-28 12:00:07.142992057 +0000
+@@ -6,7 +6,7 @@
+ PERL_LD := $(shell $(PERL) -MExtUtils::Embed -e ldopts)
+ # Perl API is ugly, casting string literals to char* and redeclaring functions :(
+ PERL_CXX += -Wno-write-strings -Wno-redundant-decls -Wno-missing-declarations
+-PERL_CXX += -Wno-type-limits -Wno-sign-compare -Wno-strict-overflow -Wno-unused-value
++PERL_CXX += -Wno-sign-compare -Wno-strict-overflow -Wno-unused-value
+ # This is for SWIG
+ PERL_CXX += -DSWIG_TYPE_TABLE=znc
+ modperlCXXFLAGS := $(PERL_CXX) -Wno-unused-function