aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gutenprint/pagesize-name-clash.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-10-06 14:05:19 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2015-10-06 21:40:36 +0200
commita33d64800e845b5b341e38357d0e2792d40cf2b6 (patch)
treedada772677e0c4004623d5c705b489014bd568e6 /testing/gutenprint/pagesize-name-clash.patch
parent834ac32b80a52a3bfe59e8c4e03c50ebd6552d13 (diff)
downloadaports-a33d64800e845b5b341e38357d0e2792d40cf2b6.tar.bz2
aports-a33d64800e845b5b341e38357d0e2792d40cf2b6.tar.xz
testing/gutenprint: new aport
Printer Drivers Package http://gimp-print.sourceforge.net/ fixes #4656
Diffstat (limited to 'testing/gutenprint/pagesize-name-clash.patch')
-rw-r--r--testing/gutenprint/pagesize-name-clash.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/gutenprint/pagesize-name-clash.patch b/testing/gutenprint/pagesize-name-clash.patch
new file mode 100644
index 0000000000..932ae2da05
--- /dev/null
+++ b/testing/gutenprint/pagesize-name-clash.patch
@@ -0,0 +1,14 @@
+diff --git a/src/testpattern/testpatterny.h b/src/testpattern/testpatterny.h
+index 010e17a..986d1d7 100644
+--- a/src/testpattern/testpatterny.h
++++ b/src/testpattern/testpatterny.h
+@@ -36,6 +36,9 @@
+ /* Tokens. */
+ #ifndef YYTOKENTYPE
+ # define YYTOKENTYPE
++#ifdef PAGESIZE
++#undef PAGESIZE
++#endif
+ /* Put the tokens into the symbol table, so that GDB and other debuggers
+ know about them. */
+ enum yytokentype {