summaryrefslogtreecommitdiffstats
path: root/groff-1.18.1.4-gcc4.3.0.patch
diff options
context:
space:
mode:
Diffstat (limited to 'groff-1.18.1.4-gcc4.3.0.patch')
-rw-r--r--groff-1.18.1.4-gcc4.3.0.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/groff-1.18.1.4-gcc4.3.0.patch b/groff-1.18.1.4-gcc4.3.0.patch
new file mode 100644
index 0000000..f8c2105
--- /dev/null
+++ b/groff-1.18.1.4-gcc4.3.0.patch
@@ -0,0 +1,14 @@
+diff -up groff-1.18.1.4/src/devices/grolbp/lbp.cc.old groff-1.18.1.4/src/devices/grolbp/lbp.cc
+--- groff-1.18.1.4/src/devices/grolbp/lbp.cc.old 2008-01-03 15:38:25.000000000 +0100
++++ groff-1.18.1.4/src/devices/grolbp/lbp.cc 2008-01-03 15:38:33.000000000 +0100
+@@ -25,7 +25,9 @@ TODO
+
+ - Add X command to include bitmaps
+ */
+-#define _GNU_SOURCE
++#ifndef _GNU_SOURCE
++#define _GNU_SOURCE 1
++#endif
+
+ #include "driver.h"
+ #include "lbp.h"