aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--x11-wm/windowmaker/Makefile3
-rw-r--r--x11-wm/windowmaker/files/patch-WINGs__WINGs__WINGsP.h16
2 files changed, 17 insertions, 2 deletions
diff --git a/x11-wm/windowmaker/Makefile b/x11-wm/windowmaker/Makefile
index d46826b9ae0e..3d3b723dcb3c 100644
--- a/x11-wm/windowmaker/Makefile
+++ b/x11-wm/windowmaker/Makefile
@@ -3,13 +3,12 @@
PORTNAME?= windowmaker
PORTVERSION= 0.95.4
-PORTREVISION?= 0
CATEGORIES= x11-wm windowmaker
MASTER_SITES= http://windowmaker.org/pub/%SUBDIR%/
MASTER_SITE_SUBDIR= source/release
DISTNAME= WindowMaker-${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= hrs@FreeBSD.org
COMMENT?= GNUstep-compliant NeXTstep window manager clone
LICENSE?= GPLv2
diff --git a/x11-wm/windowmaker/files/patch-WINGs__WINGs__WINGsP.h b/x11-wm/windowmaker/files/patch-WINGs__WINGs__WINGsP.h
new file mode 100644
index 000000000000..e99845161cc6
--- /dev/null
+++ b/x11-wm/windowmaker/files/patch-WINGs__WINGs__WINGsP.h
@@ -0,0 +1,16 @@
+--- WINGs/WINGs/WINGsP.h.orig 2013-03-06 03:52:04.000000000 +0900
++++ WINGs/WINGs/WINGsP.h 2013-03-06 03:51:32.000000000 +0900
+@@ -14,7 +14,13 @@
+
+ #include <assert.h>
+
++#ifdef _XLOCALE_H_ /* workaround for libX11<1.4 */
++#undef _XLOCALE_H_
++#include <stdlib.h>
++#define _XLOCALE_H_
++#else
+ #include <stdlib.h>
++#endif
+ #include <string.h>
+ #include <strings.h>
+ #include <stdio.h>