summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/openslp/files/openslp-2.0.0-cflags.patch')
-rw-r--r--net-libs/openslp/files/openslp-2.0.0-cflags.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/net-libs/openslp/files/openslp-2.0.0-cflags.patch b/net-libs/openslp/files/openslp-2.0.0-cflags.patch
new file mode 100644
index 000000000000..b77261ee1f6d
--- /dev/null
+++ b/net-libs/openslp/files/openslp-2.0.0-cflags.patch
@@ -0,0 +1,25 @@
+diff -ruN openslp-2.0.0.orig/configure.ac openslp-2.0.0/configure.ac
+--- openslp-2.0.0.orig/configure.ac 2013-06-08 06:58:54.000000000 +0200
++++ openslp-2.0.0/configure.ac 2013-07-12 22:17:15.000000000 +0200
+@@ -240,7 +240,6 @@
+ OPTFLAGS="-O"
+ fi
+ fi
+-CFLAGS="$CFLAGS $OPTFLAGS"
+
+ #
+ # Configuration and output
+diff -ruN openslp-2.0.0.orig/etc/Makefile.am openslp-2.0.0/etc/Makefile.am
+--- openslp-2.0.0.orig/etc/Makefile.am 2012-11-28 18:07:04.000000000 +0100
++++ openslp-2.0.0/etc/Makefile.am 2013-07-12 22:28:20.000000000 +0200
+@@ -3,8 +3,8 @@
+ dist_sysconf_DATA = slp.conf slp.reg slp.spi
+
+ #make sure the slpd log directory is there
+-install-data-hook:
+- mkdir -p $(localstatedir)/log
++#install-data-hook:
++# mkdir -p $(localstatedir)/log
+
+ ##install-data-local:
+ ## mkdir -p $(DESTDIR)$(sysconfdir)