summaryrefslogtreecommitdiff
path: root/wm
diff options
context:
space:
mode:
authorjperkin <jperkin>2015-02-02 11:30:37 +0000
committerjperkin <jperkin>2015-02-02 11:30:37 +0000
commit2627c363f88bf9d23142b690feb87a6a68c5465f (patch)
tree42d38dec926c39f2c8735c32d8660e47b02c2a21 /wm
parentc91b2242dce4d5afaa566103850ed13694753b74 (diff)
downloadpkgsrc-2627c363f88bf9d23142b690feb87a6a68c5465f.tar.gz
Add NAME_MAX compatibility for SunOS.
Diffstat (limited to 'wm')
-rw-r--r--wm/windowmaker/distinfo3
-rw-r--r--wm/windowmaker/patches/patch-src_event.c16
2 files changed, 18 insertions, 1 deletions
diff --git a/wm/windowmaker/distinfo b/wm/windowmaker/distinfo
index 19a770b57a6..6a22b2796ef 100644
--- a/wm/windowmaker/distinfo
+++ b/wm/windowmaker/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.38 2014/10/07 16:11:11 adam Exp $
+$NetBSD: distinfo,v 1.39 2015/02/02 11:30:37 jperkin Exp $
SHA1 (WindowMaker-0.95.6.tar.gz) = e39c9d1bb012a087de5791c9474ff8776b2d230b
RMD160 (WindowMaker-0.95.6.tar.gz) = 6faba86fb79190fe1e9de0192e1003603dbcf4ac
@@ -14,4 +14,5 @@ SHA1 (patch-aj) = 14636a50f9cb1a2353f813cd7873de0e6c31ddb4
SHA1 (patch-ak) = 40221313ce3456f4357082caec17991390607159
SHA1 (patch-doc_cs_Makefile.in) = ab0b42a60863fec8fba0de0e8a2ae74fa3cf8103
SHA1 (patch-doc_ru_Makefile.in) = 7c0b861c6bbe457e8e55e0265335195b95bbe031
+SHA1 (patch-src_event.c) = 9f72b77f7f7890c9b4283eecca3e2bb25ad8d5b3
SHA1 (patch-wrlib_load__gif.c) = 039c342b99d8cc4edf4ce6ee93c9d1a1a2ac1f5d
diff --git a/wm/windowmaker/patches/patch-src_event.c b/wm/windowmaker/patches/patch-src_event.c
new file mode 100644
index 00000000000..b8208a4dfab
--- /dev/null
+++ b/wm/windowmaker/patches/patch-src_event.c
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_event.c,v 1.1 2015/02/02 11:30:37 jperkin Exp $
+
+SunOS NAME_MAX compatibility.
+
+--- src/event.c.orig 2014-08-30 12:29:09.000000000 +0000
++++ src/event.c
+@@ -279,6 +279,9 @@ void DispatchEvent(XEvent * event)
+ }
+
+ #ifdef HAVE_INOTIFY
++#ifndef NAME_MAX
++#define NAME_MAX FILENAME_MAX
++#endif
+ /*
+ *----------------------------------------------------------------------
+ * handle_inotify_events-