aboutsummaryrefslogtreecommitdiff
path: root/net/apcupsd/patches
diff options
context:
space:
mode:
authorOthmar Truniger <Othmar Truniger github@truniger.ch>2015-02-17 23:14:27 +0100
committerOthmar Truniger <Othmar Truniger github@truniger.ch>2015-02-17 23:14:27 +0100
commita460965a670d06566e653ef7df3ed25c554a34a0 (patch)
tree87cdfc298a2c86f0cf6e527a9ee25c7a8d9dc1e9 /net/apcupsd/patches
parent0d10c8ae481164362f86587105362c5d195558fb (diff)
apcupsd: move from old packages and Makefile updated
Signed-off-by: Othmar Truniger <Othmar Truniger github@truniger.ch>
Diffstat (limited to 'net/apcupsd/patches')
-rw-r--r--net/apcupsd/patches/010-fix-include-paths.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/net/apcupsd/patches/010-fix-include-paths.patch b/net/apcupsd/patches/010-fix-include-paths.patch
new file mode 100644
index 000000000..21515441f
--- /dev/null
+++ b/net/apcupsd/patches/010-fix-include-paths.patch
@@ -0,0 +1,13 @@
+diff --git a/autoconf/variables.mak.in b/autoconf/variables.mak.in
+index b67e467..6022434 100644
+--- a/autoconf/variables.mak.in
++++ b/autoconf/variables.mak.in
+@@ -65,7 +65,7 @@ DRVLIBS = @PTHREAD_LFLAGS@ @DRVLIBS@
+ X_LIBS = @X_LIBS@
+ X_EXTRA_LIBS = @X_EXTRA_LIBS@
+
+-CPPFLAGS = @CPPFLAGS@ -I$(topdir)/include $(EXTRAINCS)
++CPPFLAGS = -I$(topdir)/include @CPPFLAGS@ $(EXTRAINCS)
+ CFLAGS = $(CPPFLAGS) @CFLAGS@ @PTHREAD_CFLAGS@
+ CXXFLAGS = $(CPPFLAGS) @CXXFLAGS@ @PTHREAD_CFLAGS@
+ LDFLAGS = @LDFLAGS@