summaryrefslogtreecommitdiffstats
path: root/system/mdocml/patches/00-Makefile_Linux.diff
diff options
context:
space:
mode:
Diffstat (limited to 'system/mdocml/patches/00-Makefile_Linux.diff')
-rw-r--r--system/mdocml/patches/00-Makefile_Linux.diff20
1 files changed, 20 insertions, 0 deletions
diff --git a/system/mdocml/patches/00-Makefile_Linux.diff b/system/mdocml/patches/00-Makefile_Linux.diff
new file mode 100644
index 0000000000..4f411d6b80
--- /dev/null
+++ b/system/mdocml/patches/00-Makefile_Linux.diff
@@ -0,0 +1,20 @@
+--- Makefile.orig 2014-01-06 15:05:19.565762653 +0100
++++ Makefile 2014-01-06 15:05:28.701192221 +0100
+@@ -29,7 +29,7 @@ CFLAGS += -DUSE_WCHAR
+ # for example on Mac OS X.
+ STATIC = -static
+ # Linux requires -pthread to statically link with libdb.
+-#STATIC += -pthread
++STATIC += -pthread
+
+ CFLAGS += -g -DHAVE_CONFIG_H
+ CFLAGS += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings
+@@ -54,7 +54,7 @@ INSTALL_MAN = $(INSTALL_DATA)
+ # However, if you don't have -ldb at all (or it's not native), then
+ # comment out apropos and mandocdb.
+ #
+-#DBLIB = -ldb
++DBLIB = -ldb
+ DBBIN = apropos mandocdb man.cgi catman whatis
+ DBLN = llib-lapropos.ln llib-lmandocdb.ln llib-lman.cgi.ln llib-lcatman.ln
+