pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/wm/piewm Don't declare own strcmp; it fails on Linux.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5eb29b6323a2
branches:  trunk
changeset: 603835:5eb29b6323a2
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Mon May 14 08:08:39 2012 +0000

description:
Don't declare own strcmp; it fails on Linux.

diffstat:

 wm/piewm/distinfo                |   3 ++-
 wm/piewm/patches/patch-iconmgr_c |  24 ++++++++++++++++++++++++
 2 files changed, 26 insertions(+), 1 deletions(-)

diffs (42 lines):

diff -r ca0184655624 -r 5eb29b6323a2 wm/piewm/distinfo
--- a/wm/piewm/distinfo Mon May 14 08:03:54 2012 +0000
+++ b/wm/piewm/distinfo Mon May 14 08:08:39 2012 +0000
@@ -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 @@
 SHA1 (patch-ab) = 38d8407cb4d40425db0cf998a08e75d4218cad41
 SHA1 (patch-ac) = 62b7491e7658db8ac0c00bf691ba4e0e270a7b70
 SHA1 (patch-ad) = 1a6e9c24771d5c3d339a2ecd7e92472be09bb6a4
+SHA1 (patch-iconmgr_c) = d6fd26569cc2773bd084d0fff70fa8a451209a37
diff -r ca0184655624 -r 5eb29b6323a2 wm/piewm/patches/patch-iconmgr_c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/piewm/patches/patch-iconmgr_c  Mon May 14 08:08:39 2012 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index