summaryrefslogtreecommitdiffstats
path: root/app-text/a2ps/files/a2ps-4.14-ptrdiff_t.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/a2ps/files/a2ps-4.14-ptrdiff_t.patch')
-rw-r--r--app-text/a2ps/files/a2ps-4.14-ptrdiff_t.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/app-text/a2ps/files/a2ps-4.14-ptrdiff_t.patch b/app-text/a2ps/files/a2ps-4.14-ptrdiff_t.patch
new file mode 100644
index 0000000..00d955a
--- /dev/null
+++ b/app-text/a2ps/files/a2ps-4.14-ptrdiff_t.patch
@@ -0,0 +1,14 @@
+diff -uNr a2ps-4.14/lib/obstack.h a2ps-4.14.test/lib/obstack.h
+--- a2ps-4.14/lib/obstack.h 2007-12-29 09:37:59.000000000 +0800
++++ a2ps-4.14.test/lib/obstack.h 2009-06-10 18:49:45.000000000 +0900
+@@ -138,9 +138,9 @@
+ #define __need_ptrdiff_t
+ #endif
+ #endif
++#endif
+
+ #include <stddef.h>
+-#endif
+
+ #if defined (__STDC__) && __STDC__
+ #define PTR_INT_TYPE ptrdiff_t