From 1b03d49bf9d7fac73806875bfc5a14ba1e189bcb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ra=C3=BAl=20Porcel?= Date: Wed, 24 Jan 2007 10:08:18 +0000 Subject: [PATCH] Add patch to make it compile with tvision-2.1.0, thanks to truedfx for the patch, bug 146465 Package-Manager: portage-2.1.2-r2 --- net-p2p/ldcc/ChangeLog | 9 +- net-p2p/ldcc/Manifest | 32 +++--- net-p2p/ldcc/files/digest-ldcc-2.0.7 | 2 + .../ldcc/files/ldcc-2.0.7-tvision2.1.0.patch | 102 ++++++++++++++++++ net-p2p/ldcc/ldcc-2.0.7.ebuild | 13 ++- 5 files changed, 141 insertions(+), 17 deletions(-) create mode 100644 net-p2p/ldcc/files/ldcc-2.0.7-tvision2.1.0.patch diff --git a/net-p2p/ldcc/ChangeLog b/net-p2p/ldcc/ChangeLog index 8a75b36155c5..840cc5e65779 100644 --- a/net-p2p/ldcc/ChangeLog +++ b/net-p2p/ldcc/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-p2p/ldcc -# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/ldcc/ChangeLog,v 1.7 2005/02/06 01:24:13 blubb Exp $ +# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/ldcc/ChangeLog,v 1.8 2007/01/24 10:08:18 armin76 Exp $ + + 24 Jan 2007; Raúl Porcel + +files/ldcc-2.0.7-tvision2.1.0.patch, ldcc-2.0.7.ebuild: + Add patch to make it compile with tvision-2.1.0, thanks to truedfx for the patch, bug 146465 06 Feb 2005; Simon Stelling ldcc-2.0.7.ebuild: added ~amd64 diff --git a/net-p2p/ldcc/Manifest b/net-p2p/ldcc/Manifest index cacf9cf83548..568884d83fc9 100644 --- a/net-p2p/ldcc/Manifest +++ b/net-p2p/ldcc/Manifest @@ -1,14 +1,20 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 f9a18cc47aed31f0050db82dcc54cf9d ChangeLog 750 -MD5 4ebe1ca7b1f542e5fb864441310ae92e files/digest-ldcc-2.0.7 58 -MD5 67303d3eec51dfc4dd9a936d2f107a74 ldcc-2.0.7.ebuild 678 +AUX ldcc-2.0.7-tvision2.1.0.patch 3598 RMD160 e6d3aec92766712b2f24350913fccdabcef9d4ba SHA1 8aa8f74c52bb7e91c2ff90230cd433c29ebdb9a0 SHA256 41601ec93ee9e5a93ad4085bd367c4aaac4df243e727267073ed8228a4ab3004 +MD5 6d55321ccd4862b25321d544bbe692c7 files/ldcc-2.0.7-tvision2.1.0.patch 3598 +RMD160 e6d3aec92766712b2f24350913fccdabcef9d4ba files/ldcc-2.0.7-tvision2.1.0.patch 3598 +SHA256 41601ec93ee9e5a93ad4085bd367c4aaac4df243e727267073ed8228a4ab3004 files/ldcc-2.0.7-tvision2.1.0.patch 3598 +DIST ldcc-2.0.7.tgz 74060 RMD160 b9ff65a3af53086edbb7d69945e00ee7698fe6d3 SHA1 ab3d71bc83d2a8d6b2f1b2b69227e529e2a4e311 SHA256 eac7236a1e280ee16660ad68bf43e9775bb72d2d472e3f1efa467e9719e071ab +EBUILD ldcc-2.0.7.ebuild 783 RMD160 f1129475e16d850c5c950e5b3e29ca93a7d51920 SHA1 9f7ac474af62fba00fa8d669e0c4049284fcd46a SHA256 9981fa2085be685fe7ecf560dcaccd6d38ddc737aad822c460b86146b1ba7c30 +MD5 b2c271b3b380bd2d798b65042528ff0b ldcc-2.0.7.ebuild 783 +RMD160 f1129475e16d850c5c950e5b3e29ca93a7d51920 ldcc-2.0.7.ebuild 783 +SHA256 9981fa2085be685fe7ecf560dcaccd6d38ddc737aad822c460b86146b1ba7c30 ldcc-2.0.7.ebuild 783 +MISC ChangeLog 986 RMD160 01856fef6c78c97940c0636f4b7c22816c1fcd4e SHA1 988a54ec2c6dc65151eb73587ca80c317cae72c2 SHA256 19bd23491d2d0702e96e0ae35ae2eb7b95bf13b34fd580c62957dd8dd14024b8 +MD5 eca2e633df3768e3905e1e0bbdc8bfd8 ChangeLog 986 +RMD160 01856fef6c78c97940c0636f4b7c22816c1fcd4e ChangeLog 986 +SHA256 19bd23491d2d0702e96e0ae35ae2eb7b95bf13b34fd580c62957dd8dd14024b8 ChangeLog 986 +MISC metadata.xml 160 RMD160 828887200387b28c37fc97111fc6bc3a0a2fcccd SHA1 813ef5bc57f6a8d95e7cab7a745a2a824858f49c SHA256 fe06593409e7f28665c032001005e94cb650299711a0af7f1a558bdb56c4004f MD5 8aefbc0e49db723ca1ad02d0c409cd49 metadata.xml 160 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFC0X7aI1lqEGTUzyQRAtiOAKChAz1tvhqHqxD79BzaRiO68eZcXwCfbcAz -5UzSJJPvYgK+Xex8Tw+nkag= -=sI1P ------END PGP SIGNATURE----- +RMD160 828887200387b28c37fc97111fc6bc3a0a2fcccd metadata.xml 160 +SHA256 fe06593409e7f28665c032001005e94cb650299711a0af7f1a558bdb56c4004f metadata.xml 160 +MD5 22696df1af1294ebf0a7b26bed842852 files/digest-ldcc-2.0.7 220 +RMD160 cd42a8ecd7798f9b56d25e003dfbf3223b349b28 files/digest-ldcc-2.0.7 220 +SHA256 924e355b2b0ea3dc3c3222810cc2c19e79b186597e32d889ddcbcdedde569c7c files/digest-ldcc-2.0.7 220 diff --git a/net-p2p/ldcc/files/digest-ldcc-2.0.7 b/net-p2p/ldcc/files/digest-ldcc-2.0.7 index d23edbaea22f..a45390797764 100644 --- a/net-p2p/ldcc/files/digest-ldcc-2.0.7 +++ b/net-p2p/ldcc/files/digest-ldcc-2.0.7 @@ -1 +1,3 @@ MD5 1fbaa46a139880c6a91faf3dc5e678ff ldcc-2.0.7.tgz 74060 +RMD160 b9ff65a3af53086edbb7d69945e00ee7698fe6d3 ldcc-2.0.7.tgz 74060 +SHA256 eac7236a1e280ee16660ad68bf43e9775bb72d2d472e3f1efa467e9719e071ab ldcc-2.0.7.tgz 74060 diff --git a/net-p2p/ldcc/files/ldcc-2.0.7-tvision2.1.0.patch b/net-p2p/ldcc/files/ldcc-2.0.7-tvision2.1.0.patch new file mode 100644 index 000000000000..665d5559e085 --- /dev/null +++ b/net-p2p/ldcc/files/ldcc-2.0.7-tvision2.1.0.patch @@ -0,0 +1,102 @@ +--- ldcc-2.0.7/src/d_error.cc ++++ ldcc-2.0.7/src/d_error.cc +@@ -577,7 +577,7 @@ + insert(new TLabel(TRect(29, 2, 39, 3), "~F~iletype:", V)); + + IL[4] = new TInputLine(TRect(50, 3, 72, 4), 21); +- IL[4]->SetValidator(new TNumberValidator()); ++ IL[4]->setValidator(new TNumberValidator()); + insert(IL[4]); + insert(new TLabel(TRect(51, 2, 61, 3), "File si~z~e:", IL[4])); + +--- ldcc-2.0.7/src/options.cc ++++ ldcc-2.0.7/src/options.cc +@@ -37,6 +37,7 @@ + #define Uses_TDeskTop + #define Uses_TView + #define Uses_TValidator ++#define Uses_TRangeValidator + #include + + #include "liczby.h" +@@ -140,7 +141,7 @@ + D->insert(new TLabel(TRect(2,3,19,4), "~U~ser info:", IL)); + + IL = new TInputLine(TRect(20,4,24,5), 2); +- IL->SetValidator(new TNumberValidator()); ++ IL->setValidator(new TNumberValidator()); + D->insert(IL); + D->insert(new TLabel(TRect(2,4,19,5), "~F~ree slots:", IL)); + +@@ -154,12 +155,12 @@ + + IL = new TInputLine(TRect(20,8,27,9), 6); + VL = new TRangeValidator(1L,65535L); +- IL->SetValidator(VL); ++ IL->setValidator(VL); + D->insert(IL); + D->insert(new TLabel(TRect(2,8,19,9), "Ho~s~t Port:", IL)); + + IL = new TInputLine(TRect(20,9,31,10), 10); +- IL->SetValidator(new TEmptyValidator()); ++ IL->setValidator(new TEmptyValidator()); + H = new THistory(TRect(32,9,35,10), IL, 1); + D->insert(H); + historyAdd(1, "56Kbps"); +@@ -175,13 +176,13 @@ + D->insert(new TLabel(TRect(2,9,20,10), "Connection ~t~ype:", IL)); + + IL = new TInputLine(TRect(20,10,41,11), 20); +- IL->SetValidator(new TNumberValidator()); ++ IL->setValidator(new TNumberValidator()); + D->insert(IL); + D->insert(new TLabel(TRect(2,10,19,11), "Offs~e~t:", IL)); + D->insert(new TStaticText(TRect(42,10,50,11), "bytes")); + + IL = new TInputLine(TRect(20,11,24,12), 3); +- IL->SetValidator(new TNumberValidator()); ++ IL->setValidator(new TNumberValidator()); + D->insert(IL); + D->insert(new TLabel(TRect(2,11,20,12), "Connction ti~m~eout:", IL)); + D->insert(new TStaticText(TRect(25,11,30,12), "sec.")); +@@ -198,13 +199,13 @@ + D->insert(new TCheckBoxes(TRect(31,16,57,17), new TSItem("Log errors/debug",NULL))); + + IL = new TInputLine(TRect(28,19,34,20), 5); +- IL->SetValidator(new TNumberValidator()); ++ IL->setValidator(new TNumberValidator()); + D->insert(IL); + D->insert(new TLabel(TRect(2,19,27,20), "U~p~load bandwidth limit:", IL)); + D->insert(new TStaticText(TRect(35,19,45,20), "x 0,5 kB/s")); + + IL = new TInputLine(TRect(28,20,34,21), 5); +- IL->SetValidator(new TNumberValidator()); ++ IL->setValidator(new TNumberValidator()); + D->insert(IL); + D->insert(new TLabel(TRect(2,20,27,21), "Do~w~nload bandwidth limit:", IL)); + D->insert(new TStaticText(TRect(35,20,45,21), "x 1 kB/s")); +@@ -333,20 +334,20 @@ + + for (c=0; c<10; c++) { + IL = new TInputLine(TRect(2,4+c,7,5+c), 4); +- IL->SetValidator(new TRangeValidator(0L, 255L)); ++ IL->setValidator(new TRangeValidator(0L, 255L)); + D->insert(IL); + D->insert(new TStaticText(TRect(8,4+c,10,5+c), "->")); + IL = new TInputLine(TRect(11,4+c,16,5+c), 4); +- IL->SetValidator(new TRangeValidator(0L, 255L)); ++ IL->setValidator(new TRangeValidator(0L, 255L)); + D->insert(IL); + } + for (c=0; c<10; c++) { + IL = new TInputLine(TRect(22,4+c,27,5+c), 4); +- IL->SetValidator(new TRangeValidator(0L, 255L)); ++ IL->setValidator(new TRangeValidator(0L, 255L)); + D->insert(IL); + D->insert(new TStaticText(TRect(28,4+c,30,5+c), "->")); + IL = new TInputLine(TRect(31,4+c,36,5+c), 4); +- IL->SetValidator(new TRangeValidator(0L, 255L)); ++ IL->setValidator(new TRangeValidator(0L, 255L)); + D->insert(IL); + } + diff --git a/net-p2p/ldcc/ldcc-2.0.7.ebuild b/net-p2p/ldcc/ldcc-2.0.7.ebuild index a6ed84b696b9..06d5fcdfebb0 100644 --- a/net-p2p/ldcc/ldcc-2.0.7.ebuild +++ b/net-p2p/ldcc/ldcc-2.0.7.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/ldcc/ldcc-2.0.7.ebuild,v 1.9 2005/07/10 20:02:06 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/ldcc/ldcc-2.0.7.ebuild,v 1.10 2007/01/24 10:08:18 armin76 Exp $ + +inherit eutils IUSE="" @@ -15,6 +17,13 @@ KEYWORDS="x86 ~ppc ~amd64" DEPEND="net-p2p/dctc dev-libs/tvision" +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${P}-tvision2.1.0.patch" +} + src_compile() { econf \ --with-tv-include=/usr/include/rhtvision \ -- 2.26.2