aports/testing/gutenprint/pagesize-name-clash.patch
2015-10-06 21:40:36 +02:00

15 lines
428 B
Diff

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 {