summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2005-10-20 11:01:46 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2005-10-20 11:01:46 +0000
commit351c86e9f61252c59390e984d5945b9304fac542 (patch)
tree2742fc76e2278745e357d7f819ce01008619fb5a /kde-base/kcheckpass/files
parentPunted ftpusers as ftpbase supplies it (diff)
downloadgentoo-2-351c86e9f61252c59390e984d5945b9304fac542.tar.gz
gentoo-2-351c86e9f61252c59390e984d5945b9304fac542.tar.bz2
gentoo-2-351c86e9f61252c59390e984d5945b9304fac542.zip
Added patch to compile kcheckpass fine on PIC architectures when using --enable-final. See bug #107218.
(Portage version: 2.0.53_rc5)
Diffstat (limited to 'kde-base/kcheckpass/files')
-rw-r--r--kde-base/kcheckpass/files/kcheckpass-pie-final.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/kde-base/kcheckpass/files/kcheckpass-pie-final.patch b/kde-base/kcheckpass/files/kcheckpass-pie-final.patch
new file mode 100644
index 000000000000..3ae34a4d6724
--- /dev/null
+++ b/kde-base/kcheckpass/files/kcheckpass-pie-final.patch
@@ -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)
+