summaryrefslogtreecommitdiff
path: root/wm
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2012-05-14 08:08:39 +0000
committerdholland <dholland@pkgsrc.org>2012-05-14 08:08:39 +0000
commitfc8d3754a7abdcab042df52248c7505bea795f45 (patch)
tree137c69c9b4b690feb63b62bac63a90e801825aa7 /wm
parent7f71ffb1d330ebf4173f53a1350ef130f772c9bb (diff)
downloadpkgsrc-fc8d3754a7abdcab042df52248c7505bea795f45.tar.gz
Don't declare own strcmp; it fails on Linux.
Diffstat (limited to 'wm')
-rw-r--r--wm/piewm/distinfo3
-rw-r--r--wm/piewm/patches/patch-iconmgr_c24
2 files changed, 26 insertions, 1 deletions
diff --git a/wm/piewm/distinfo b/wm/piewm/distinfo
index bd2bb97bed4..f9288eaef29 100644
--- a/wm/piewm/distinfo
+++ b/wm/piewm/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2007/12/10 11:35:08 obache Exp $
+$NetBSD: distinfo,v 1.4 2012/05/14 08:08:39 dholland Exp $
SHA1 (piewm-1.04.tar.gz) = 90cfd7cd8708fd5b6514951d392163e7cf5e350e
RMD160 (piewm-1.04.tar.gz) = bb963f3f5d1a06c665b7040ba5c5e39d2a227a98
@@ -6,3 +6,4 @@ Size (piewm-1.04.tar.gz) = 300723 bytes
SHA1 (patch-ab) = 38d8407cb4d40425db0cf998a08e75d4218cad41
SHA1 (patch-ac) = 62b7491e7658db8ac0c00bf691ba4e0e270a7b70
SHA1 (patch-ad) = 1a6e9c24771d5c3d339a2ecd7e92472be09bb6a4
+SHA1 (patch-iconmgr_c) = d6fd26569cc2773bd084d0fff70fa8a451209a37
diff --git a/wm/piewm/patches/patch-iconmgr_c b/wm/piewm/patches/patch-iconmgr_c
new file mode 100644
index 00000000000..8323e361e0b
--- /dev/null
+++ b/wm/piewm/patches/patch-iconmgr_c
@@ -0,0 +1,24 @@
+$NetBSD: patch-iconmgr_c,v 1.1 2012/05/14 08:08:39 dholland Exp $
+
+- Use standard headers.
+- Don't declare own strcmp.
+
+--- iconmgr.c~ 1998-01-08 06:02:45.000000000 +0000
++++ iconmgr.c
+@@ -31,6 +31,7 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include "twm.h"
+ #include "util.h"
+ #include "list.h"
+@@ -43,8 +44,6 @@
+ #include <X11/Xos.h>
+ #include <X11/Xmu/CharSet.h>
+
+-int strcmp();
+-
+ int iconmgr_textx = siconify_width+11;
+ WList *Active = NULL;
+ WList *DownIconManager = NULL;