diff options
author | dholland <dholland@pkgsrc.org> | 2012-05-14 08:08:39 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2012-05-14 08:08:39 +0000 |
commit | f0ad494760098a75430c131a66bfb6849f7782d0 (patch) | |
tree | 137c69c9b4b690feb63b62bac63a90e801825aa7 /wm | |
parent | 2e3ded40171b702fdb5ae127156f4b11921f33d5 (diff) | |
download | pkgsrc-f0ad494760098a75430c131a66bfb6849f7782d0.tar.gz |
Don't declare own strcmp; it fails on Linux.
Diffstat (limited to 'wm')
-rw-r--r-- | wm/piewm/distinfo | 3 | ||||
-rw-r--r-- | wm/piewm/patches/patch-iconmgr_c | 24 |
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; |