diff options
author | Hannes Mehnert <hannes@gentoo.org> | 2003-02-02 18:26:30 +0000 |
---|---|---|
committer | Hannes Mehnert <hannes@gentoo.org> | 2003-02-02 18:26:30 +0000 |
commit | 0fffe64926d77f8a83badf03fb6fd764df860d08 (patch) | |
tree | c7d12adf29264ec0c99997105e106bb1df53f69e /net-wireless/kwavecontrol | |
parent | committing ChangeLog (diff) | |
download | gentoo-2-0fffe64926d77f8a83badf03fb6fd764df860d08.tar.gz gentoo-2-0fffe64926d77f8a83badf03fb6fd764df860d08.tar.bz2 gentoo-2-0fffe64926d77f8a83badf03fb6fd764df860d08.zip |
added fix to compile with gcc-2.95.3
Diffstat (limited to 'net-wireless/kwavecontrol')
-rw-r--r-- | net-wireless/kwavecontrol/ChangeLog | 5 | ||||
-rw-r--r-- | net-wireless/kwavecontrol/files/kwavecontrol-0.2-gcc-2.95.3.diff | 19 | ||||
-rw-r--r-- | net-wireless/kwavecontrol/kwavecontrol-0.2.ebuild | 3 |
3 files changed, 25 insertions, 2 deletions
diff --git a/net-wireless/kwavecontrol/ChangeLog b/net-wireless/kwavecontrol/ChangeLog index 754318394ac3..9966f7ba3349 100644 --- a/net-wireless/kwavecontrol/ChangeLog +++ b/net-wireless/kwavecontrol/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-wireless/kwavecontrol # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/kwavecontrol/ChangeLog,v 1.1 2002/12/14 19:12:56 hannes Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/kwavecontrol/ChangeLog,v 1.2 2003/02/02 18:26:30 hannes Exp $ + + 02 Feb 2003; Hannes Mehnert <hannes@gentoo.org> kwavecontrol-0.2.ebuild: + added fix for gcc-2.95.3, thanks to Aric LeDell <aledell@rcn.com> (bug #13672) *kwavecontrol-0.2 (14 Dec 2002) diff --git a/net-wireless/kwavecontrol/files/kwavecontrol-0.2-gcc-2.95.3.diff b/net-wireless/kwavecontrol/files/kwavecontrol-0.2-gcc-2.95.3.diff new file mode 100644 index 000000000000..2df8b38f822d --- /dev/null +++ b/net-wireless/kwavecontrol/files/kwavecontrol-0.2-gcc-2.95.3.diff @@ -0,0 +1,19 @@ +--- kwavecontrol/wcard.cpp~ 2003-02-02 18:48:21.000000000 +0100 ++++ kwavecontrol/wcard.cpp 2003-02-02 18:50:05.000000000 +0100 +@@ -201,11 +201,11 @@ + + switch (cnt) + { +- case 0: br->bitRate[i].unit = "bps\0"; break; +- case 1: br->bitRate[i].unit = "kbps"; break; +- case 2: br->bitRate[i].unit = "Mbps"; break; +- case 3: br->bitRate[i].unit = "Gbps"; break; +- case 4: br->bitRate[i].unit = "Tbps"; break; ++ case 0: strncpy(br->bitRate[i].unit, "bps\0", 5); break; ++ case 1: strncpy(br->bitRate[i].unit, "kbps", 5); break; ++ case 2: strncpy(br->bitRate[i].unit, "Mbps", 5); break; ++ case 3: strncpy(br->bitRate[i].unit, "Gbps", 5); break; ++ case 4: strncpy(br->bitRate[i].unit, "Tbps", 5); break; + } + + } diff --git a/net-wireless/kwavecontrol/kwavecontrol-0.2.ebuild b/net-wireless/kwavecontrol/kwavecontrol-0.2.ebuild index 55e2a7764786..2563c5c82c69 100644 --- a/net-wireless/kwavecontrol/kwavecontrol-0.2.ebuild +++ b/net-wireless/kwavecontrol/kwavecontrol-0.2.ebuild @@ -1,7 +1,8 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/kwavecontrol/kwavecontrol-0.2.ebuild,v 1.1 2002/12/14 19:12:56 hannes Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/kwavecontrol/kwavecontrol-0.2.ebuild,v 1.2 2003/02/02 18:26:30 hannes Exp $ +PATCHES="${FILESDIR}/${P}-gcc-2.95.3.diff" newdepend "net-wireless/wireless-tools" inherit kde-base need-kde 3 |