aboutsummaryrefslogtreecommitdiffstats
path: root/main/unbound/swig.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-07-23 06:39:03 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-07-23 06:40:12 +0000
commit314d990e5daffbeab3259220c14fcba539e3f253 (patch)
tree18ce93efd098270ed05bfd8bcf826949d600e348 /main/unbound/swig.patch
parent069d12cbf840e601e6721b4afb5d2933877e674d (diff)
downloadaports-314d990e5daffbeab3259220c14fcba539e3f253.tar.bz2
aports-314d990e5daffbeab3259220c14fcba539e3f253.tar.xz
main/unbound: upgrade to 1.5.4
Diffstat (limited to 'main/unbound/swig.patch')
-rw-r--r--main/unbound/swig.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/main/unbound/swig.patch b/main/unbound/swig.patch
index 176e06c56d..4a11c832b1 100644
--- a/main/unbound/swig.patch
+++ b/main/unbound/swig.patch
@@ -1,11 +1,11 @@
--- ./Makefile.in.orig
+++ ./Makefile.in
-@@ -370,7 +370,7 @@
- $(srcdir)/libunbound/unbound.h
- libunbound/python/libunbound_wrap.c: $(srcdir)/libunbound/python/libunbound.i $(srcdir)/libunbound/unbound.h
+@@ -394,7 +394,7 @@
+ unbound.h
+ libunbound/python/libunbound_wrap.c: $(srcdir)/libunbound/python/libunbound.i unbound.h
@-if test ! -d libunbound/python; then $(INSTALL) -d libunbound/python; fi
-- $(SWIG) -python -o $@ $(CPPFLAGS) $(srcdir)/libunbound/python/libunbound.i
-+ $(SWIG) -python -o $@ "$(CPPFLAGS)" $(srcdir)/libunbound/python/libunbound.i
+- $(SWIG) -python -o $@ $(CPPFLAGS) -DPY_MAJOR_VERSION=$(PY_MAJOR_VERSION) $(srcdir)/libunbound/python/libunbound.i
++ $(SWIG) -python -o $@ "$(CPPFLAGS)" -DPY_MAJOR_VERSION=$(PY_MAJOR_VERSION) $(srcdir)/libunbound/python/libunbound.i
# Pyunbound python unbound wrapper
_unbound.la: libunbound_wrap.lo libunbound.la