summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcelo Góes <vanquirius@gentoo.org>2005-04-10 16:36:09 +0000
committerMarcelo Góes <vanquirius@gentoo.org>2005-04-10 16:36:09 +0000
commit5db03e788e970cef7194028493352427bab9250c (patch)
tree6e7e5cd9fbcd5aa78bb0de34b2a0914e78e5f53b /dev-libs
parentNew debian patch revision. (diff)
downloadgentoo-2-5db03e788e970cef7194028493352427bab9250c.tar.gz
gentoo-2-5db03e788e970cef7194028493352427bab9250c.tar.bz2
gentoo-2-5db03e788e970cef7194028493352427bab9250c.zip
gcc-4 fix
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/opensc/ChangeLog6
-rw-r--r--dev-libs/opensc/files/opensc-0.9.4-gcc4.patch12
-rw-r--r--dev-libs/opensc/opensc-0.9.4.ebuild3
3 files changed, 19 insertions, 2 deletions
diff --git a/dev-libs/opensc/ChangeLog b/dev-libs/opensc/ChangeLog
index 0a06a0795256..f7e4be06c84c 100644
--- a/dev-libs/opensc/ChangeLog
+++ b/dev-libs/opensc/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/opensc
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/opensc/ChangeLog,v 1.14 2005/01/31 03:33:36 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/opensc/ChangeLog,v 1.15 2005/04/10 16:36:09 vanquirius Exp $
+
+ 10 Apr 2005; Marcelo Goes <vanquirius@gentoo.org>
+ +files/opensc-0.9.4-gcc4.patch, opensc-0.9.4.ebuild:
+ Adding gcc4 patch from Debian.
30 Jan 2005; Mike Frysinger <vapier@gentoo.org> opensc-0.9.4.ebuild:
Add reverse deps patch to fix relinking bugs.
diff --git a/dev-libs/opensc/files/opensc-0.9.4-gcc4.patch b/dev-libs/opensc/files/opensc-0.9.4-gcc4.patch
new file mode 100644
index 000000000000..ad2d5deb4066
--- /dev/null
+++ b/dev-libs/opensc/files/opensc-0.9.4-gcc4.patch
@@ -0,0 +1,12 @@
+diff -urN ../tmp-orig/opensc-0.9.4/src/pam/pam_support.c ./src/pam/pam_support.c
+--- ../tmp-orig/opensc-0.9.4/src/pam/pam_support.c 2004-01-05 19:44:49.000000000 +0100
++++ ./src/pam/pam_support.c 2004-12-30 18:06:07.347955576 +0100
+@@ -205,7 +205,7 @@
+
+ static void _cleanup(pam_handle_t * pamh, void *x, int error_status)
+ {
+- _pam_delete((char *) x);
++ _pam_delete(x);
+ }
+
+ /* ************************************************************** *
diff --git a/dev-libs/opensc/opensc-0.9.4.ebuild b/dev-libs/opensc/opensc-0.9.4.ebuild
index 67fa291e3a1a..59ae709e11c2 100644
--- a/dev-libs/opensc/opensc-0.9.4.ebuild
+++ b/dev-libs/opensc/opensc-0.9.4.ebuild
@@ -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/dev-libs/opensc/opensc-0.9.4.ebuild,v 1.6 2005/01/31 03:33:36 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/opensc/opensc-0.9.4.ebuild,v 1.7 2005/04/10 16:36:09 vanquirius Exp $
inherit eutils libtool
@@ -27,6 +27,7 @@ src_unpack() {
epatch ${FILESDIR}/0.8.1-64bit.patch
EPATCH_SINGLE_MSG="Applying libtool reverse deps patch ..." \
epatch ${ELT_PATCH_DIR}/fix-relink/1.5.0
+ epatch ${FILESDIR}/${P}-gcc4.patch
}
src_compile() {