Added patch to compile kcheckpass fine on PIC architectures when using --enable-final...
authorDiego Elio Pettenò <flameeyes@gentoo.org>
Thu, 20 Oct 2005 11:01:46 +0000 (11:01 +0000)
committerDiego Elio Pettenò <flameeyes@gentoo.org>
Thu, 20 Oct 2005 11:01:46 +0000 (11:01 +0000)
Package-Manager: portage-2.0.53_rc5

kde-base/kcheckpass/ChangeLog
kde-base/kcheckpass/files/kcheckpass-pie-final.patch [new file with mode: 0644]
kde-base/kcheckpass/kcheckpass-3.5.0_beta2.ebuild
kde-base/kdebase/ChangeLog
kde-base/kdebase/files/kcheckpass-pie-final.patch [new file with mode: 0644]
kde-base/kdebase/kdebase-3.5.0_beta2.ebuild

index ae568afbcb1344d475830cb08f4694a33d8d5447..7e109265a26e13a4b98384230a3c6089da9fec72 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for kde-base/kcheckpass
 # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kcheckpass/ChangeLog,v 1.20 2005/10/15 11:08:40 greg_g Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kcheckpass/ChangeLog,v 1.21 2005/10/20 11:01:46 flameeyes Exp $
+
+  20 Oct 2005; Diego Pettenò <flameeyes@gentoo.org>
+  +files/kcheckpass-pie-final.patch, kcheckpass-3.5.0_beta2.ebuild:
+  Added patch to compile kcheckpass fine on PIC architectures when using
+  --enable-final. See bug #107218.
 
 *kcheckpass-3.5.0_beta2 (14 Oct 2005)
 
diff --git a/kde-base/kcheckpass/files/kcheckpass-pie-final.patch b/kde-base/kcheckpass/files/kcheckpass-pie-final.patch
new file mode 100644 (file)
index 0000000..3ae34a4
--- /dev/null
@@ -0,0 +1,20 @@
+Index: Makefile.am
+===================================================================
+--- kcheckpass/Makefile.am     (revision 472230)
++++ kcheckpass/Makefile.am     (revision 472231)
+@@ -2,14 +2,13 @@
+ ## written by Christian Esken
+ ##
+ 
+-INCLUDES= $(all_includes)
++INCLUDES= $(KDE_USE_FPIE) $(all_includes)
+ 
+ bin_PROGRAMS = kcheckpass
+ 
+ kcheckpass_SOURCES = kcheckpass.c \
+       checkpass_etcpasswd.c checkpass_pam.c checkpass_shadow.c \
+       checkpass_osfc2passwd.c checkpass_aix.c
+-kcheckpass_CFLAGS = $(KDE_USE_FPIE)
+ kcheckpass_LDADD = -lkdefakes $(PASSWDLIBS) $(LIBSOCKET)
+ kcheckpass_LDFLAGS = $(KDE_USE_PIE) $(all_libraries)
+ 
index a963da350985ea4b329984903525741b4257ead0..b3b0214ed3d6fc7cee163ccc17e46ed906269077 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kcheckpass/kcheckpass-3.5.0_beta2.ebuild,v 1.1 2005/10/14 18:41:50 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kcheckpass/kcheckpass-3.5.0_beta2.ebuild,v 1.2 2005/10/20 11:01:46 flameeyes Exp $
 
 KMNAME=kdebase
 MAXKDEVER=$PV
@@ -12,3 +12,7 @@ KEYWORDS="~amd64 ~x86"
 IUSE="pam"
 DEPEND="pam? ( kde-base/kdebase-pam ) !pam? ( sys-apps/shadow )"
 
+# Fixes problem with PIE and kcheckpass with --enable-final on PIC plaforms
+# Already applied for 3.5 RC.
+PATCHES="${FILESDIR}/${PN}-pie-final.patch"
+
index c26339a7e616aa828d78efa88f20d425942ef182..85bd38d536a38546809e542d308c48198dafd949 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for kde-base/kdebase
 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kdebase/ChangeLog,v 1.225 2005/10/19 13:48:05 greg_g Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdebase/ChangeLog,v 1.226 2005/10/20 10:59:45 flameeyes Exp $
+
+  20 Oct 2005; Diego Pettenò <flameeyes@gentoo.org>
+  +files/kcheckpass-pie-final.patch, kdebase-3.5.0_beta2.ebuild:
+  Added patch to compile kcheckpass fine on PIC architectures when using
+  --enable-final. See bug #107218.
 
 *kdebase-3.4.3-r1 (19 Oct 2005)
 
diff --git a/kde-base/kdebase/files/kcheckpass-pie-final.patch b/kde-base/kdebase/files/kcheckpass-pie-final.patch
new file mode 100644 (file)
index 0000000..3ae34a4
--- /dev/null
@@ -0,0 +1,20 @@
+Index: Makefile.am
+===================================================================
+--- kcheckpass/Makefile.am     (revision 472230)
++++ kcheckpass/Makefile.am     (revision 472231)
+@@ -2,14 +2,13 @@
+ ## written by Christian Esken
+ ##
+ 
+-INCLUDES= $(all_includes)
++INCLUDES= $(KDE_USE_FPIE) $(all_includes)
+ 
+ bin_PROGRAMS = kcheckpass
+ 
+ kcheckpass_SOURCES = kcheckpass.c \
+       checkpass_etcpasswd.c checkpass_pam.c checkpass_shadow.c \
+       checkpass_osfc2passwd.c checkpass_aix.c
+-kcheckpass_CFLAGS = $(KDE_USE_FPIE)
+ kcheckpass_LDADD = -lkdefakes $(PASSWDLIBS) $(LIBSOCKET)
+ kcheckpass_LDFLAGS = $(KDE_USE_PIE) $(all_libraries)
+ 
index bd9eac8a1d571abeeeb70075c0edaaf3aeba606d..47cd21ca49df75698c5af6cd7a81ba3257757cfb 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kdebase/kdebase-3.5.0_beta2.ebuild,v 1.2 2005/10/19 13:48:05 greg_g Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdebase/kdebase-3.5.0_beta2.ebuild,v 1.3 2005/10/20 10:59:45 flameeyes Exp $
 
 inherit kde-dist eutils
 
@@ -43,6 +43,10 @@ src_unpack() {
        # Avoid using imake (kde bug 114466).
        epatch "${FILESDIR}/kdebase-3.5.0_beta2-noimake.patch"
 
+       # Fixes problem with PIE and kcheckpass with --enable-final on PIC plaforms
+       # Already applied for 3.5 RC.
+       epatch "${FILESDIR}/kcheckpass-pie-final.patch"
+
        # For the noimake patch.
        make -f admin/Makefile.common || die
 }