summaryrefslogtreecommitdiff
path: root/meta/packages/liboil/liboil-0.3.9/no-tests.patch
diff options
context:
space:
mode:
authorChris Lord <chris@openedhand.com>2006-09-18 17:56:22 +0000
committerChris Lord <chris@openedhand.com>2006-09-18 17:56:22 +0000
commitbaedc7957ec2aefd4df1bd7c92eed88cb9301e47 (patch)
tree6c3331992a2ef7ad207a2cf24b46b8633bac2c7f /meta/packages/liboil/liboil-0.3.9/no-tests.patch
parente57a7d5b438ad49dde56940609d3780b07e45c9b (diff)
downloadopenembedded-core-baedc7957ec2aefd4df1bd7c92eed88cb9301e47.tar.gz
openembedded-core-baedc7957ec2aefd4df1bd7c92eed88cb9301e47.tar.bz2
openembedded-core-baedc7957ec2aefd4df1bd7c92eed88cb9301e47.zip
Add missing patch for liboil (whoops)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@725 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/liboil/liboil-0.3.9/no-tests.patch')
-rw-r--r--meta/packages/liboil/liboil-0.3.9/no-tests.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/packages/liboil/liboil-0.3.9/no-tests.patch b/meta/packages/liboil/liboil-0.3.9/no-tests.patch
new file mode 100644
index 0000000000..00cf5d7431
--- /dev/null
+++ b/meta/packages/liboil/liboil-0.3.9/no-tests.patch
@@ -0,0 +1,22 @@
+--- liboil-0.3.9/liboil/liboilfunction.c.old 2006-09-18 13:03:20.000000000 +0100
++++ liboil-0.3.9/liboil/liboilfunction.c 2006-09-18 13:04:10.000000000 +0100
+@@ -345,7 +345,9 @@
+ return;
+ }
+
+- test = oil_test_new (klass);
++ klass->chosen_impl = klass->reference_impl;
++ klass->func = klass->reference_impl->func;
++/* test = oil_test_new (klass);
+ if (test == NULL) {
+ OIL_ERROR ("failed to test function class %s", klass->name);
+ return;
+@@ -385,7 +387,7 @@
+ klass->chosen_impl = min_impl;
+ klass->func = min_impl->func;
+
+- oil_test_free (test);
++ oil_test_free (test);*/
+ }
+
+ static void