summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2012-06-21 19:25:26 +0000
committerLars Wendler <polynomial-c@gentoo.org>2012-06-21 19:25:26 +0000
commit9945b74443b3a952a15996c50f7a1ab5f894cc99 (patch)
treef270a5bd56ecbed7fa1fe51480210cbc388e2fc0 /sys-libs/libsmbios/files
parentRestrict pypy (diff)
downloadgentoo-2-9945b74443b3a952a15996c50f7a1ab5f894cc99.tar.gz
gentoo-2-9945b74443b3a952a15996c50f7a1ab5f894cc99.tar.bz2
gentoo-2-9945b74443b3a952a15996c50f7a1ab5f894cc99.zip
Fixed test runs (bug #381975)
(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
Diffstat (limited to 'sys-libs/libsmbios/files')
-rw-r--r--sys-libs/libsmbios/files/libsmbios-2.2.28-cppunit-tests.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys-libs/libsmbios/files/libsmbios-2.2.28-cppunit-tests.patch b/sys-libs/libsmbios/files/libsmbios-2.2.28-cppunit-tests.patch
new file mode 100644
index 000000000000..61f392787213
--- /dev/null
+++ b/sys-libs/libsmbios/files/libsmbios-2.2.28-cppunit-tests.patch
@@ -0,0 +1,11 @@
+diff -Naur libsmbios-2.2.28/src/libsmbios_c/smi/smi_linux.c libsmbios-2.2.28.new/src/libsmbios_c/smi/smi_linux.c
+--- libsmbios-2.2.28/src/libsmbios_c/smi/smi_linux.c 2010-06-11 11:31:01.000000000 -0400
++++ libsmbios-2.2.28.new/src/libsmbios_c/smi/smi_linux.c 2012-06-21 14:57:15.000000000 -0400
+@@ -48,6 +48,7 @@
+ #define bufsize 256
+
+ // not in header file. for private use by unit tests.
++LIBSMBIOS_C_DLL_SPEC void set_basedir(const char *); // needed to link tests
+ void set_basedir(const char *newdir)
+ {
+ sysfs_basedir = newdir;