w3m: Fix ubilding with unified headers
authorFredrik Fornwall <fredrik@fornwall.net>
Wed, 28 Jun 2017 23:06:46 +0000 (01:06 +0200)
committerFredrik Fornwall <fredrik@fornwall.net>
Wed, 28 Jun 2017 23:06:46 +0000 (01:06 +0200)
packages/w3m/Str.h.patch [new file with mode: 0644]

diff --git a/packages/w3m/Str.h.patch b/packages/w3m/Str.h.patch
new file mode 100644 (file)
index 0000000..9701680
--- /dev/null
@@ -0,0 +1,11 @@
+diff -u -r ../w3m-0.5.3-git20170102/Str.h ./Str.h
+--- ../w3m-0.5.3-git20170102/Str.h     2017-01-02 13:43:38.000000000 +0100
++++ ./Str.h    2017-06-29 01:05:35.903835683 +0200
+@@ -17,6 +17,7 @@
+ #define GC_STR_H
+ #include <stdio.h>
+ #include <string.h>
++#include <strings.h>
+ #ifdef __EMX__
+ #define strcasecmp    stricmp
+ #define strncasecmp   strnicmp