From fc8d3754a7abdcab042df52248c7505bea795f45 Mon Sep 17 00:00:00 2001 From: dholland Date: Mon, 14 May 2012 08:08:39 +0000 Subject: Don't declare own strcmp; it fails on Linux. --- wm/piewm/distinfo | 3 ++- wm/piewm/patches/patch-iconmgr_c | 24 ++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 wm/piewm/patches/patch-iconmgr_c (limited to 'wm') 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 + #include ++#include + #include "twm.h" + #include "util.h" + #include "list.h" +@@ -43,8 +44,6 @@ + #include + #include + +-int strcmp(); +- + int iconmgr_textx = siconify_width+11; + WList *Active = NULL; + WList *DownIconManager = NULL; -- cgit v1.2.3