summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/geany-plugins/files/geany-plugins-0.20-geanyprj-outsrc-tests.patch')
-rw-r--r--dev-util/geany-plugins/files/geany-plugins-0.20-geanyprj-outsrc-tests.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-util/geany-plugins/files/geany-plugins-0.20-geanyprj-outsrc-tests.patch b/dev-util/geany-plugins/files/geany-plugins-0.20-geanyprj-outsrc-tests.patch
new file mode 100644
index 000000000000..a8aa4c13f7f1
--- /dev/null
+++ b/dev-util/geany-plugins/files/geany-plugins-0.20-geanyprj-outsrc-tests.patch
@@ -0,0 +1,15 @@
+Author: Nathan Phillip Brink <ohnobinki@ohnopublishing.net>
+Date: 2011/01/20
+Purpose: Fix test compilation failure in geanyprj for out-of-source builds.
+Bug: https://sourceforge.net/tracker/?func=detail&aid=3163117&group_id=222729&atid=1056532
+
+--- a/geany-plugins/geanyprj/tests/Makefile.am
++++ b/geany-plugins/geanyprj/tests/Makefile.am
+@@ -1,6 +1,6 @@
+ if UNITTESTS
+ include $(top_srcdir)/build/vars.build.mk
+-INCLUDES = $(GEANY_CFLAGS) -I../src -DUNITTESTS
++INCLUDES = $(GEANY_CFLAGS) -I$(srcdir)/../src -DUNITTESTS
+ TESTS=unittests
+ noinst_PROGRAMS=unittests
+ unittests_SOURCES = unittests.c ../src/utils.c