diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2010-07-16 23:20:29 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2010-07-16 23:20:29 +0000 |
commit | 06884c5f3ce68895059679ba3e86ef81ab4193c7 (patch) | |
tree | 575ae9ff7848f3f3862f4b9f827a7b1a2bb5d716 /app-crypt/rotix | |
parent | Stable on amd64 wrt bug #328485 (diff) | |
download | historical-06884c5f3ce68895059679ba3e86ef81ab4193c7.tar.gz historical-06884c5f3ce68895059679ba3e86ef81ab4193c7.tar.bz2 historical-06884c5f3ce68895059679ba3e86ef81ab4193c7.zip |
Apply patch from Dane Smith to fix compilation problems with USE=nls and -O0. Bug #239964. Respect LDFLAGS and drop custom CFLAGS for debug mode
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'app-crypt/rotix')
-rw-r--r-- | app-crypt/rotix/ChangeLog | 9 | ||||
-rw-r--r-- | app-crypt/rotix/Manifest | 7 | ||||
-rw-r--r-- | app-crypt/rotix/files/0.83-respect-CFLAGS-and-dont-strip.patch | 26 | ||||
-rw-r--r-- | app-crypt/rotix/files/rotix-0.83-locale.diff | 10 | ||||
-rw-r--r-- | app-crypt/rotix/rotix-0.83.ebuild | 13 |
5 files changed, 45 insertions, 20 deletions
diff --git a/app-crypt/rotix/ChangeLog b/app-crypt/rotix/ChangeLog index 4d853d0ef284..38e0e966c8be 100644 --- a/app-crypt/rotix/ChangeLog +++ b/app-crypt/rotix/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-crypt/rotix # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/rotix/ChangeLog,v 1.12 2010/02/22 18:37:02 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/rotix/ChangeLog,v 1.13 2010/07/16 23:20:29 hwoarang Exp $ + + 16 Jul 2010; Markos Chandras <hwoarang@gentoo.org> + files/0.83-respect-CFLAGS-and-dont-strip.patch, rotix-0.83.ebuild, + +files/rotix-0.83-locale.diff: + Apply patch from Dane Smith <smithdanea@gmail.com> to fix compilation + problems with USE=nls and -O0. Bug #239964. Respect LDFLAGS and drop + custom CFLAGS for debug mode 22 Feb 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org> rotix-0.83.ebuild: Make the gettext dependency required, wrt bug #232897 by mduft. diff --git a/app-crypt/rotix/Manifest b/app-crypt/rotix/Manifest index 2bb1d8a00fd1..120f67e7f33d 100644 --- a/app-crypt/rotix/Manifest +++ b/app-crypt/rotix/Manifest @@ -1,5 +1,6 @@ -AUX 0.83-respect-CFLAGS-and-dont-strip.patch 391 RMD160 1644f507d6628a5c20bb179175550a2e54407d2c SHA1 46be3a6ca03f0a8d471602d9cfd8494505569ed8 SHA256 698b23b4b75de8b7767dd364f4a4f04ff9125f607d583d4be0e4943113bc0b15 +AUX 0.83-respect-CFLAGS-and-dont-strip.patch 623 RMD160 54961c0c64bca6baa0260ce0a01b5f4fa6a97315 SHA1 996608bd7aacbf9440b4faeafb125227b10dc406 SHA256 f0412f5e697571bfd6a6a42f3415018c41175ae03b73ae1ab6cd93fb9b7b793f +AUX rotix-0.83-locale.diff 256 RMD160 27d86ea7f64fb8f0f7852ae4e93af610118d0545 SHA1 b39b0afcdc0b2459938dd8265600df466e3036fc SHA256 230fbef9431fa6019e6a465540dcd5447a0e8746db333ed80140ebf0577db695 DIST rotix-0.83.tar.bz2 14685 RMD160 a7f52710e33d21a502a162b1d3836a83ae95588e SHA1 db886b54ecbe608efdd0e4f97321bcc49216fd23 SHA256 f25eae09e1c6eb95f44aec7a2aeaf9b4822da0304909e70149fda4603f1368bd -EBUILD rotix-0.83.ebuild 775 RMD160 ec3038bdf555fb44bafdff418f7eeae2a7faa2ab SHA1 d260773446ef6a25b3b464bbfd833bbfc845d395 SHA256 64a4af59ed65fd8b3088e78ad5df38312da7a7b875450bff247009a4048bab7d -MISC ChangeLog 1224 RMD160 30d2ba43d07741ce46c5e8eb43e9b665d91bfa92 SHA1 754ebf3f53b23f8c81e8c5677a35a05074e056b5 SHA256 37a8183577a11492bf89e7eae0d0c1f155596e97744878120f183c8e66861b59 +EBUILD rotix-0.83.ebuild 784 RMD160 2cf2ca31d113fffe64f466fd86a560617ced4fc7 SHA1 de70ad64a40a2bd50ebc1490739da7cef1af1c58 SHA256 b5ea738a13fd6d4c9941618a05a19561c9c36884378ab91d20c9bcf865f85a2d +MISC ChangeLog 1552 RMD160 f8b9d91a43dc6ae5e8f378456cdf473b6bfe5fee SHA1 72305314951b007d95391c34eb0d000bb17a9d0a SHA256 cd214312c2f2cc6246769481e750010956aa95d3879c12d18eb006321b0afb3d MISC metadata.xml 290 RMD160 b9b86283c09349c8827faef7d3ef5f724a248e77 SHA1 ae1c8e62d75c94ff50b8a5391afb6008460963aa SHA256 380e26e9262298b9cb31e863a9ab641f6fbdc8c50bda2cf2e47fd399f9cb5e85 diff --git a/app-crypt/rotix/files/0.83-respect-CFLAGS-and-dont-strip.patch b/app-crypt/rotix/files/0.83-respect-CFLAGS-and-dont-strip.patch index 85498d2e03af..ab23372e768f 100644 --- a/app-crypt/rotix/files/0.83-respect-CFLAGS-and-dont-strip.patch +++ b/app-crypt/rotix/files/0.83-respect-CFLAGS-and-dont-strip.patch @@ -1,23 +1,31 @@ ---- Makefile.orig 2007-03-21 22:43:39.000000000 +0100 -+++ Makefile 2007-03-21 22:44:16.000000000 +0100 -@@ -24,8 +24,6 @@ +Index: rotix-0.83/Makefile +=================================================================== +--- rotix-0.83.orig/Makefile ++++ rotix-0.83/Makefile +@@ -22,12 +22,6 @@ - ifdef DEBUG - CFLAGS += -g3 + include Makefile.settings + +-ifdef DEBUG +-CFLAGS += -g3 -else -CFLAGS += -O3 - endif - +-endif +- ifdef I18N -@@ -40,11 +38,6 @@ + CFLAGS += -DPACKAGE=\"${PACKAGE}\" -D LOCALEDIR=\"${LOCALE}\" + endif +@@ -39,12 +33,7 @@ endif + all : rotix po rotix : rot.o help.o rotix.o - $(CC) -Wall $(CFLAGS) -o rotix rot.o help.o rotix.o +- $(CC) -Wall $(CFLAGS) -o rotix rot.o help.o rotix.o -ifdef STRIP -ifndef DEBUG - $(STRIP) rotix -endif -endif ++ $(CC) -Wall $(CFLAGS) $(LDFLAGS) -o rotix rot.o help.o rotix.o ifdef I18N CFLAGS += -D I18N=1 diff --git a/app-crypt/rotix/files/rotix-0.83-locale.diff b/app-crypt/rotix/files/rotix-0.83-locale.diff new file mode 100644 index 000000000000..844a452b8af1 --- /dev/null +++ b/app-crypt/rotix/files/rotix-0.83-locale.diff @@ -0,0 +1,10 @@ +--- rotix.c 2002-04-02 14:48:42.000000000 -0500 ++++ rotix.c.mine 2010-07-15 14:54:45.000000000 -0400 +@@ -38,6 +38,7 @@ + /* I18N */ + #ifdef I18N + #include <libintl.h> ++#include <locale.h> + #define _(String) gettext (String) + #else + #define _(String) String diff --git a/app-crypt/rotix/rotix-0.83.ebuild b/app-crypt/rotix/rotix-0.83.ebuild index 627ca8a4ccfa..b1fbcdd6310c 100644 --- a/app-crypt/rotix/rotix-0.83.ebuild +++ b/app-crypt/rotix/rotix-0.83.ebuild @@ -1,7 +1,8 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/rotix/rotix-0.83.ebuild,v 1.14 2010/02/22 18:37:02 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/rotix/rotix-0.83.ebuild,v 1.15 2010/07/16 23:20:29 hwoarang Exp $ +EAPI=2 inherit eutils DESCRIPTION="Rotix allows you to generate rotational obfuscations." @@ -10,21 +11,19 @@ SRC_URI="http://elektron.its.tudelft.nl/~hemmin98/rotix_releases/${P}/${P}.tar.b LICENSE="GPL-2" SLOT="0" -KEYWORDS="x86 ppc amd64 ia64" +KEYWORDS="amd64 ia64 ppc x86" IUSE="" DEPEND="sys-devel/gettext" RDEPEND="${DEPEND}" -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { epatch "${FILESDIR}"/${PV}-respect-CFLAGS-and-dont-strip.patch + epatch "${FILESDIR}"/${P}-locale.diff } -src_compile() { +src_configure() { econf --i18n=1 - emake || die } src_install() { |