summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/gts/files/gts-20100321-examples.patch')
-rw-r--r--sci-libs/gts/files/gts-20100321-examples.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/sci-libs/gts/files/gts-20100321-examples.patch b/sci-libs/gts/files/gts-20100321-examples.patch
new file mode 100644
index 000000000000..b418bbd1ed4f
--- /dev/null
+++ b/sci-libs/gts/files/gts-20100321-examples.patch
@@ -0,0 +1,24 @@
+diff --git a/examples/Makefile.am b/examples/Makefile.am
+index f03f215..8e9ca63 100644
+--- a/examples/Makefile.am
++++ b/examples/Makefile.am
+@@ -9,6 +9,8 @@ EXTRA_PROGRAMS = happrox
+
+ happrox_LDADD = $(LDADD) -lnetpbm
+
++happrox_CPPFLAGS = -I/usr/include/netpbm
++
+ if HAS_NETPBM
+ NETPBM_EXTRA = happrox
+ endif
+@@ -16,9 +18,7 @@ endif
+ bin_PROGRAMS = \
+ transform \
+ delaunay \
+- $(NETPBM_EXTRA)
+-
+-noinst_PROGRAMS = \
++ $(NETPBM_EXTRA) \
+ set \
+ volume \
+ cleanup \