summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2006-09-23 07:47:28 +0000
committerAlin Năstac <mrness@gentoo.org>2006-09-23 07:47:28 +0000
commit09fcfd191e578d502cfe99f61042c812d60c25cb (patch)
treea0e1bd9fc731310a0a15be81f2b8908b3672d0e6 /net-dialup/capifwd
parentadd Contrib levels (bug #107252) (diff)
downloadgentoo-2-09fcfd191e578d502cfe99f61042c812d60c25cb.tar.gz
gentoo-2-09fcfd191e578d502cfe99f61042c812d60c25cb.tar.bz2
gentoo-2-09fcfd191e578d502cfe99f61042c812d60c25cb.zip
Fix broken compilation on gcc-4.1 (#147443)
(Portage version: 2.1.1)
Diffstat (limited to 'net-dialup/capifwd')
-rw-r--r--net-dialup/capifwd/ChangeLog6
-rw-r--r--net-dialup/capifwd/files/capifwd-0.6.3.patch11
-rw-r--r--net-dialup/capifwd/files/digest-capifwd-0.6.32
3 files changed, 18 insertions, 1 deletions
diff --git a/net-dialup/capifwd/ChangeLog b/net-dialup/capifwd/ChangeLog
index efabfdbc8a16..c558d35c7f1f 100644
--- a/net-dialup/capifwd/ChangeLog
+++ b/net-dialup/capifwd/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-dialup/capifwd
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/capifwd/ChangeLog,v 1.4 2006/03/12 09:23:20 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/capifwd/ChangeLog,v 1.5 2006/09/23 07:47:28 mrness Exp $
+
+ 23 Sep 2006; Alin Nastac <mrness@gentoo.org> files/capifwd-0.6.3.patch:
+ Fix broken compilation on gcc-4.1, thanks to Michael Wyraz
+ <michael.wyraz@evermind.de> (#147443).
12 Mar 2006; Alin Nastac <mrness@gentoo.org> capifwd-0.6.3.ebuild:
Beautify the ebuild's code.
diff --git a/net-dialup/capifwd/files/capifwd-0.6.3.patch b/net-dialup/capifwd/files/capifwd-0.6.3.patch
index e2235fab66d9..66efa7c07cd0 100644
--- a/net-dialup/capifwd/files/capifwd-0.6.3.patch
+++ b/net-dialup/capifwd/files/capifwd-0.6.3.patch
@@ -29,3 +29,14 @@
exit ( 0 );
}
+--- src/capifwd.c.orig 2006-09-23 10:39:30.000000000 +0300
++++ src/capifwd.c 2006-09-23 10:41:32.836443500 +0300
+@@ -13,7 +13,7 @@
+ ssize_t n = recv(fd, buf, left, 0);
+ if (n <= 0)
+ return n;
+- (char*)buf += n;
++ buf = (char*)buf + n;
+ left -= n;
+ }
+ return size;
diff --git a/net-dialup/capifwd/files/digest-capifwd-0.6.3 b/net-dialup/capifwd/files/digest-capifwd-0.6.3
index 39f7cf630e60..a9ad29ebd154 100644
--- a/net-dialup/capifwd/files/digest-capifwd-0.6.3
+++ b/net-dialup/capifwd/files/digest-capifwd-0.6.3
@@ -1 +1,3 @@
MD5 af2e1bd61769a5237b349d85df34ef80 capifwd-0.6.3.tar.bz2 82604
+RMD160 55182285624759f10d9310314b71485bbf366efe capifwd-0.6.3.tar.bz2 82604
+SHA256 8c838eeab438cdbf7b70655f984e70833ccf71796ad618b9616fd5dcc517b058 capifwd-0.6.3.tar.bz2 82604