summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2007-10-11 21:26:10 +0000
committeradam <adam@pkgsrc.org>2007-10-11 21:26:10 +0000
commitfd4788e79cdee59b3f646382d910203b9c5a2a21 (patch)
treefe86fffbc2fca746a8607dc89b51a8d075638c06
parenta32e1d3558e51fa069f17fcf447ea5ca9b989503 (diff)
downloadpkgsrc-fd4788e79cdee59b3f646382d910203b9c5a2a21.tar.gz
Fix PR#36236
-rw-r--r--wm/wmx/Makefile4
-rw-r--r--wm/wmx/Makefile.common22
-rw-r--r--wm/wmx/distinfo4
-rw-r--r--wm/wmx/patches/patch-ah13
-rw-r--r--wm/wmx/patches/patch-ai32
5 files changed, 61 insertions, 14 deletions
diff --git a/wm/wmx/Makefile b/wm/wmx/Makefile
index 4d9733ab140..20f0a4d3897 100644
--- a/wm/wmx/Makefile
+++ b/wm/wmx/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2006/02/05 23:11:16 joerg Exp $
+# $NetBSD: Makefile,v 1.12 2007/10/11 21:26:10 adam Exp $
PKGNAME= wmx-${WMX_VERS}
-PKGREVISION= 2
+PKGREVISION= 3
COMMENT= Another X11 window manager based on wm2
.include "../../wm/wmx/Makefile.common"
diff --git a/wm/wmx/Makefile.common b/wm/wmx/Makefile.common
index 39e989631a2..5fa83452a6b 100644
--- a/wm/wmx/Makefile.common
+++ b/wm/wmx/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.19 2006/12/27 13:37:42 joerg Exp $
+# $NetBSD: Makefile.common,v 1.20 2007/10/11 21:26:10 adam Exp $
DISTNAME= wmx-6
WMX_VERS= 6.0
@@ -12,25 +12,25 @@ CONFLICTS+= wmx-[0-9]* wmx-gnome-[0-9]*
PKG_INSTALLATION_TYPES= overwrite pkgviews
-USE_LANGUAGES= c c++
-USE_X11BASE= yes
-GNU_CONFIGURE= yes
-BUILD_TARGET= depend all
+USE_LANGUAGES= c c++
+USE_X11BASE= yes
+GNU_CONFIGURE= yes
+BUILD_TARGET= depend all
-DISTINFO_FILE= ${.CURDIR}/../../wm/wmx/distinfo
-PATCHDIR= ${.CURDIR}/../../wm/wmx/patches
-PLIST_SRC= ${.CURDIR}/../../wm/wmx/PLIST
+DISTINFO_FILE= ${.CURDIR}/../../wm/wmx/distinfo
+PATCHDIR= ${.CURDIR}/../../wm/wmx/patches
+PLIST_SRC= ${.CURDIR}/../../wm/wmx/PLIST
INSTALLATION_DIRS= bin
+INSTALLATION_DIRS+= etc/wmx
+INSTALLATION_DIRS+= share/doc/wmx
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wmx ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/wmx
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/wmx
${INSTALL_DATA} ${WRKSRC}/README.contrib ${PREFIX}/share/doc/wmx
- ${INSTALL_DATA_DIR} ${PREFIX}/etc/wmx
-BUILDLINK_DEPMETHOD.libXt?= build
+BUILDLINK_DEPMETHOD.libXt+= build
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
diff --git a/wm/wmx/distinfo b/wm/wmx/distinfo
index a1bc8ada614..03a0cc889b2 100644
--- a/wm/wmx/distinfo
+++ b/wm/wmx/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2006/12/27 13:37:42 joerg Exp $
+$NetBSD: distinfo,v 1.12 2007/10/11 21:26:11 adam Exp $
SHA1 (wmx-6.tar.gz) = 89563c8c2af1d3ffbee06197928123fd03ae9c54
RMD160 (wmx-6.tar.gz) = 871c0de0ddd30ed90cc8f7eae287fa62177142c4
@@ -10,3 +10,5 @@ SHA1 (patch-ad) = b4b66989ecfe0dc535abae38ddbbc271200d0c19
SHA1 (patch-ae) = 20f155c556fd06d2cf721ab0620a0c5334b6ace4
SHA1 (patch-af) = 84faece4f23af6d51aa8a87a28da2f5056101113
SHA1 (patch-ag) = 6b69f800da04ec83fcf40ae6b00ebacdfec193f8
+SHA1 (patch-ah) = 10fdca5e6aeb823cb5291c65ca41344c05e882ed
+SHA1 (patch-ai) = 2247d741c96c93a3140142bd797f1d2ad0fff94c
diff --git a/wm/wmx/patches/patch-ah b/wm/wmx/patches/patch-ah
new file mode 100644
index 00000000000..eb244e5f1cb
--- /dev/null
+++ b/wm/wmx/patches/patch-ah
@@ -0,0 +1,13 @@
+$NetBSD: patch-ah,v 1.1 2007/10/11 21:26:11 adam Exp $
+
+--- Client.h.orig 2000-05-12 09:40:20.000000000 +0200
++++ Client.h
+@@ -184,8 +184,6 @@ private:
+ WindowManager *const m_windowManager;
+
+ char *getProperty(Atom);
+- int getAtomProperty(Atom, Atom);
+- int getIntegerProperty(Atom);
+
+ // accessors
+ Boolean getState(int *);
diff --git a/wm/wmx/patches/patch-ai b/wm/wmx/patches/patch-ai
new file mode 100644
index 00000000000..e310aa97f22
--- /dev/null
+++ b/wm/wmx/patches/patch-ai
@@ -0,0 +1,32 @@
+$NetBSD: patch-ai,v 1.1 2007/10/11 21:26:11 adam Exp $
+
+--- Client.C.orig 2000-05-12 09:40:20.000000000 +0200
++++ Client.C
+@@ -662,27 +662,6 @@ char *Client::getProperty(Atom a)
+ return (char *)p;
+ }
+
+-
+-int Client::getAtomProperty(Atom a, Atom type)
+-{
+- char **p, *x;
+- if (getProperty_aux(display(), m_window, a, type, 1L,
+- (unsigned char **)&p) <= 0) {
+- return 0;
+- }
+-
+- x = *p;
+- XFree((void *)p);
+- return (int)x;
+-}
+-
+-
+-int Client::getIntegerProperty(Atom a)
+-{
+- return getAtomProperty(a, XA_INTEGER);
+-}
+-
+-
+ void Client::setState(int state)
+ {
+ m_state = state;