diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2011-08-29 19:23:22 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2011-08-29 19:23:22 +0000 |
commit | e0e830b4e5fd08be12dfe162c40c1482fbf75472 (patch) | |
tree | 555336bb7a71c55e5462e803c2d9b82cb31dad5e /app-admin/chrpath | |
parent | remove mask for app-accessibility/speechd since it has been removed for bug #... (diff) | |
download | gentoo-2-e0e830b4e5fd08be12dfe162c40c1482fbf75472.tar.gz gentoo-2-e0e830b4e5fd08be12dfe162c40c1482fbf75472.tar.bz2 gentoo-2-e0e830b4e5fd08be12dfe162c40c1482fbf75472.zip |
revbump with improved patch for prefix. Thanks to Fabian Groffen and Mario Fetka for their help. Bug #365817
(Portage version: 2.2.0_alpha51/cvs/Linux x86_64)
Diffstat (limited to 'app-admin/chrpath')
-rw-r--r-- | app-admin/chrpath/ChangeLog | 12 | ||||
-rw-r--r-- | app-admin/chrpath/chrpath-0.13-r2.ebuild (renamed from app-admin/chrpath/chrpath-0.13-r1.ebuild) | 6 | ||||
-rw-r--r-- | app-admin/chrpath/files/chrpath-0.13-multilib.patch (renamed from app-admin/chrpath/files/chrpath-multilib.patch) | 72 |
3 files changed, 58 insertions, 32 deletions
diff --git a/app-admin/chrpath/ChangeLog b/app-admin/chrpath/ChangeLog index 7d696d38ed99..003a2320bbec 100644 --- a/app-admin/chrpath/ChangeLog +++ b/app-admin/chrpath/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for app-admin/chrpath -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/chrpath/ChangeLog,v 1.14 2010/04/26 02:25:17 vapier Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/chrpath/ChangeLog,v 1.15 2011/08/29 19:23:22 hwoarang Exp $ + +*chrpath-0.13-r2 (29 Aug 2011) + + 29 Aug 2011; Markos Chandras <hwoarang@gentoo.org> -chrpath-0.13-r1.ebuild, + +chrpath-0.13-r2.ebuild, +files/chrpath-0.13-multilib.patch, + -files/chrpath-multilib.patch: + revbump with improved patch for prefix. Thanks to Fabian Groffen and Mario + Fetka for their help. Bug #365817 26 Apr 2010; Mike Frysinger <vapier@gentoo.org> chrpath-0.13-r1.ebuild: Clean up installed paths. diff --git a/app-admin/chrpath/chrpath-0.13-r1.ebuild b/app-admin/chrpath/chrpath-0.13-r2.ebuild index 8d46b061a860..dff81c7cf066 100644 --- a/app-admin/chrpath/chrpath-0.13-r1.ebuild +++ b/app-admin/chrpath/chrpath-0.13-r2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/chrpath/chrpath-0.13-r1.ebuild,v 1.3 2010/04/26 02:25:17 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/chrpath/chrpath-0.13-r2.ebuild,v 1.1 2011/08/29 19:23:22 hwoarang Exp $ EAPI="2" @@ -17,7 +17,7 @@ KEYWORDS="~amd64 ~arm ~ppc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ IUSE="" src_prepare() { - epatch "${FILESDIR}"/${PN}-multilib.patch + epatch "${FILESDIR}"/${P}-multilib.patch epatch "${FILESDIR}"/${PN}-keepgoing.patch epatch "${FILESDIR}"/${P}-testsuite-1.patch sed -i -e '/^docdir/d' Makefile.am # use standard docdir diff --git a/app-admin/chrpath/files/chrpath-multilib.patch b/app-admin/chrpath/files/chrpath-0.13-multilib.patch index a1c45a5447f3..a0d54666ffe0 100644 --- a/app-admin/chrpath/files/chrpath-multilib.patch +++ b/app-admin/chrpath/files/chrpath-0.13-multilib.patch @@ -1,24 +1,8 @@ ---- a/configure.ac 2004-09-19 10:28:33.000000000 +0200 -+++ b/configure.ac 2006-02-27 16:12:00.282066250 +0100 -@@ -16,6 +16,7 @@ - dnl Checks for programs. - AC_PROG_CC - AC_PROG_INSTALL -+AC_PROG_LIBTOOL - - dnl Checks for libraries. - -@@ -26,7 +27,6 @@ - dnl Checks for typedefs, structures, and compiler characteristics. - AC_C_CONST - AC_C_BIGENDIAN --AC_CHECK_SIZEOF(void *) - - dnl Checks for library functions. - AC_CHECK_FUNCS(getopt_long) ---- a/Makefile.am 2004-09-19 10:29:28.000000000 +0200 -+++ b/Makefile.am 2006-02-27 16:57:31.166290750 +0100 -@@ -12,12 +12,19 @@ +Index: chrpath-0.13/Makefile.am +=================================================================== +--- chrpath-0.13.orig/Makefile.am ++++ chrpath-0.13/Makefile.am +@@ -12,12 +12,19 @@ debs: fakeroot debian/rules binary chrpath_SOURCES = \ @@ -28,7 +12,7 @@ - elf.c \ protos.h -+chrpath_LDADD = -ldl ++chrpath_LDADD = $(LDLIBS) + +lib_LTLIBRARIES = libchrpath32.la libchrpath64.la +libchrpath32_la_SOURCES = chrpath.c killrpath.c elf.c protos.h @@ -41,8 +25,42 @@ EXTRA_DIST = ChangeLog.usermap $(man_MANS) CLEANFILES = *.bb *.bbg *.da *.gcov testsuite/*.bb testsuite/*.bbg ---- a/main.c 2004-09-19 10:33:37.000000000 +0200 -+++ b/main.c 2006-02-27 17:23:39.400267750 +0100 +Index: chrpath-0.13/configure.ac +=================================================================== +--- chrpath-0.13.orig/configure.ac ++++ chrpath-0.13/configure.ac +@@ -16,6 +16,7 @@ CHRPATH_LDRPATH_OPTION + dnl Checks for programs. + AC_PROG_CC + AC_PROG_INSTALL ++AC_PROG_LIBTOOL + + dnl Checks for libraries. + +@@ -26,11 +27,18 @@ AC_CHECK_HEADERS([getopt.h elf.h fcntl.h + dnl Checks for typedefs, structures, and compiler characteristics. + AC_C_CONST + AC_C_BIGENDIAN +-AC_CHECK_SIZEOF(void *) + + dnl Checks for library functions. + AC_CHECK_FUNCS(getopt_long) + ++dnl See if we need -ldl on this platform for dlopen ++LDLIBS= ++save_LIBS="$LIBS" ++LIBS= ++AC_SEARCH_LIBS([dlopen], [dl], [LDLIBS="-ldl"]) ++LIBS="${save_LIBS}" ++AC_SUBST([LDLIBS]) ++ + if eval "test x$GCC = xyes"; then + for flag in \ + -ansi \ +Index: chrpath-0.13/main.c +=================================================================== +--- chrpath-0.13.orig/main.c ++++ chrpath-0.13/main.c @@ -12,13 +12,19 @@ # include "config.h" #endif @@ -64,7 +82,7 @@ #ifdef HAVE_GETOPT_LONG # define GETOPT_LONG getopt_long -@@ -61,6 +67,30 @@ +@@ -61,6 +67,30 @@ usage(char *progname) printf("\n"); } @@ -95,7 +113,7 @@ int main(int argc, char * const argv[]) { -@@ -73,6 +103,9 @@ +@@ -73,6 +103,9 @@ main(int argc, char * const argv[]) #ifdef HAVE_GETOPT_LONG int option_index = 0; #endif /* HAVE_GETOPT_LONG */ @@ -105,7 +123,7 @@ if (argc < 2) { -@@ -116,14 +149,31 @@ +@@ -116,14 +149,31 @@ main(int argc, char * const argv[]) } } while (-1 != opt); |