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/files
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/files')
-rw-r--r--sys-auth/bioapi/files/bioapi-1.2.3-gcc44.patch12
1 files changed, 12 insertions, 0 deletions
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
+