summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-07-25 20:28:45 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-07-25 20:28:45 +0000
commitfe95a8b598218ae93a73a2fd83241bab2f3d6ca6 (patch)
tree6e058a54fc4aca4c176c0dec88873ab31440ce73 /sys-auth/bioapi
parentInitial commit. Thanks to Almad (bugs@almad.net). Closes bug #238893 (diff)
downloadgentoo-2-fe95a8b598218ae93a73a2fd83241bab2f3d6ca6.tar.gz
gentoo-2-fe95a8b598218ae93a73a2fd83241bab2f3d6ca6.tar.bz2
gentoo-2-fe95a8b598218ae93a73a2fd83241bab2f3d6ca6.zip
Fix building with GCC 4.4 wrt #273159.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'sys-auth/bioapi')
-rw-r--r--sys-auth/bioapi/ChangeLog6
-rw-r--r--sys-auth/bioapi/bioapi-1.2.3-r2.ebuild3
-rw-r--r--sys-auth/bioapi/files/bioapi-1.2.3-gcc44.patch12
3 files changed, 19 insertions, 2 deletions
diff --git a/sys-auth/bioapi/ChangeLog b/sys-auth/bioapi/ChangeLog
index 86dd30922810..fde7da78a601 100644
--- a/sys-auth/bioapi/ChangeLog
+++ b/sys-auth/bioapi/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-auth/bioapi
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/bioapi/ChangeLog,v 1.10 2009/03/08 19:49:11 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/bioapi/ChangeLog,v 1.11 2009/07/25 20:28:44 ssuominen Exp $
+
+ 25 Jul 2009; Samuli Suominen <ssuominen@gentoo.org>
+ bioapi-1.2.3-r2.ebuild, +files/bioapi-1.2.3-gcc44.patch:
+ Fix building with GCC 4.4 wrt #273159.
*bioapi-1.2.3-r2 (08 Mar 2009)
diff --git a/sys-auth/bioapi/bioapi-1.2.3-r2.ebuild b/sys-auth/bioapi/bioapi-1.2.3-r2.ebuild
index 919439f07c29..c469062ad17e 100644
--- a/sys-auth/bioapi/bioapi-1.2.3-r2.ebuild
+++ b/sys-auth/bioapi/bioapi-1.2.3-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/bioapi/bioapi-1.2.3-r2.ebuild,v 1.1 2009/03/08 19:49:11 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/bioapi/bioapi-1.2.3-r2.ebuild,v 1.2 2009/07/25 20:28:44 ssuominen Exp $
inherit eutils multilib
@@ -22,6 +22,7 @@ src_unpack() {
cd "${S}"
epatch "${FILESDIR}"/${P}-enroll-ret.patch #236654
epatch "${FILESDIR}"/${P}-no-delete.patch
+ epatch "${FILESDIR}"/${P}-gcc44.patch
}
src_compile() {
diff --git a/sys-auth/bioapi/files/bioapi-1.2.3-gcc44.patch b/sys-auth/bioapi/files/bioapi-1.2.3-gcc44.patch
new file mode 100644
index 000000000000..1f81298066dc
--- /dev/null
+++ b/sys-auth/bioapi/files/bioapi-1.2.3-gcc44.patch
@@ -0,0 +1,12 @@
+diff -ur bioapi-linux.orig/framework/mds_util_api/mds_app_util.c bioapi-linux/framework/mds_util_api/mds_app_util.c
+--- bioapi-linux.orig/framework/mds_util_api/mds_app_util.c 2007-07-14 08:06:14.000000000 +0300
++++ bioapi-linux/framework/mds_util_api/mds_app_util.c 2009-07-25 23:26:55.000000000 +0300
+@@ -28,7 +28,7 @@
+ /* Linux-Port: added "const" keyword for Linux version */
+ #if defined (UNIX)
+ const BioAPI_UUID MDSUTIL_Uuid = ref_h_layer_uuid_init;
+-#elif
++#else
+ BioAPI_UUID MDSUTIL_Uuid = ref_h_layer_uuid_init;
+ #endif
+