# 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)
--- /dev/null
+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)
+
# 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
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"
+
# 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)
--- /dev/null
+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)
+
# 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
# 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
}