summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authordholland <dholland>2012-03-05 04:25:20 +0000
committerdholland <dholland>2012-03-05 04:25:20 +0000
commit641b95e1f3a9761d9f77481291b467401e9e760b (patch)
tree4bdca08d5ecd24fc1c0e4f7d4065d7c96bf5966d /x11
parentd2b8c7e902f099d375b16b439997176d4691af60 (diff)
downloadpkgsrc-641b95e1f3a9761d9f77481291b467401e9e760b.tar.gz
Fix build failure seen on Solaris by including limits.h before using
PATH_MAX.
Diffstat (limited to 'x11')
-rw-r--r--x11/mowitz/distinfo3
-rw-r--r--x11/mowitz/patches/patch-Mowitz_MwFilesel_c14
2 files changed, 16 insertions, 1 deletions
diff --git a/x11/mowitz/distinfo b/x11/mowitz/distinfo
index 5dd063f143e..eaec5600e23 100644
--- a/x11/mowitz/distinfo
+++ b/x11/mowitz/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2008/01/09 19:00:25 reed Exp $
+$NetBSD: distinfo,v 1.5 2012/03/05 04:25:20 dholland Exp $
SHA1 (Mowitz-0.3.1.tar.gz) = 0a850d5d47c3ec79eb294c4ef946252388ccaaf6
RMD160 (Mowitz-0.3.1.tar.gz) = 0fe2976726aff3a5f246ce50aeb537bc1418497b
Size (Mowitz-0.3.1.tar.gz) = 1150170 bytes
+SHA1 (patch-Mowitz_MwFilesel_c) = c83c1d6587506a18463eba3b8cef4fc96bfb6455
SHA1 (patch-aa) = 5acdce4a2b3ef6681a8ab62219077115b102ead6
diff --git a/x11/mowitz/patches/patch-Mowitz_MwFilesel_c b/x11/mowitz/patches/patch-Mowitz_MwFilesel_c
new file mode 100644
index 00000000000..2fe73699620
--- /dev/null
+++ b/x11/mowitz/patches/patch-Mowitz_MwFilesel_c
@@ -0,0 +1,14 @@
+$NetBSD: patch-Mowitz_MwFilesel_c,v 1.1 2012/03/05 04:25:20 dholland Exp $
+
+Uses PATH_MAX; therefore needs limits.h.
+
+--- Mowitz/MwFilesel.c~ 2007-08-30 06:22:14.000000000 +0000
++++ Mowitz/MwFilesel.c
+@@ -23,6 +23,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <ctype.h>
++#include <limits.h>
+
+ #include <dirent.h>
+