summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-03-17 14:33:13 +0000
committerrillig <rillig@pkgsrc.org>2007-03-17 14:33:13 +0000
commitf1707ca2fc6b2b780ee696626a8984407135a4ab (patch)
tree3bbb5dd0dabbbb930bcf0e01069a4c8d28792012 /chat
parent7c2fd8f269c77824120dbe5b58474a96da02570f (diff)
downloadpkgsrc-f1707ca2fc6b2b780ee696626a8984407135a4ab.tar.gz
Fixed the build on NetBSD 4 using gcc4.
Diffstat (limited to 'chat')
-rw-r--r--chat/i2cb/distinfo3
-rw-r--r--chat/i2cb/patches/patch-ax20
2 files changed, 22 insertions, 1 deletions
diff --git a/chat/i2cb/distinfo b/chat/i2cb/distinfo
index 3340db62461..943618b24ee 100644
--- a/chat/i2cb/distinfo
+++ b/chat/i2cb/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2005/12/13 21:30:11 joerg Exp $
+$NetBSD: distinfo,v 1.9 2007/03/17 14:33:13 rillig Exp $
SHA1 (i2cb-6.0_ALPHA.tar.gz) = 6d2ddd234403fe33426ece3fd4de4104cf1a6257
RMD160 (i2cb-6.0_ALPHA.tar.gz) = 2c0683c20939fe5709fa08b6e335cbee2574ecd8
@@ -26,3 +26,4 @@ SHA1 (patch-at) = a3b7923523347da20ac763c96b6dfbfeb13e296d
SHA1 (patch-au) = 591bae1fcfe43ba86ec29c5ca53322bad5b572e7
SHA1 (patch-av) = 3ebe9872953147e9694f36e76584482167d2f34a
SHA1 (patch-aw) = 88d0cdbb02b1f43b16c001925573c547c016b743
+SHA1 (patch-ax) = 610a34662113e800fa7455422b170312ef92fe4d
diff --git a/chat/i2cb/patches/patch-ax b/chat/i2cb/patches/patch-ax
new file mode 100644
index 00000000000..3d8439d67f1
--- /dev/null
+++ b/chat/i2cb/patches/patch-ax
@@ -0,0 +1,20 @@
+$NetBSD: patch-ax,v 1.1 2007/03/17 14:33:13 rillig Exp $
+
+gcc4 on NetBSD 4 complains:
+c_shell.c:52: warning: missing sentinel in function call
+c_shell.c:54: warning: missing sentinel in function call
+
+--- src/c_shell.c.orig 2000-03-15 23:13:28.000000000 +0100
++++ src/c_shell.c 2007-03-17 15:31:31.000000000 +0100
+@@ -49,9 +49,9 @@ c_shell (TARGLIST)
+
+ if ((pid = fork()) == 0) {
+ if (shellout)
+- execlp(shell, shell, 0);
++ execlp(shell, shell, (char *)0);
+ else
+- execlp(shell, shell, "-c", mbuf, 0);
++ execlp(shell, shell, "-c", mbuf, (char *)0);
+
+ /* exec failed if we make it here */
+ sprintf(mbuf, "c_shell: can't run shell \"%s\"", shell);