diff options
author | Arun Raghavan <arun@arunraghavan.net> | 2016-09-01 09:43:21 +0530 |
---|---|---|
committer | Arun Raghavan <arun@arunraghavan.net> | 2016-09-01 09:44:10 +0530 |
commit | 334cd99d7e265d0ba71715269e178930b7dcdc16 (patch) | |
tree | 7be73777589a71c26d0c73e4503bf7460907fa5b | |
parent | 2839cb2eb00a0f2e87685eab7b39c96ea5f833ce (diff) |
graphene: Build fix for a missing semicolon
Not sure why this ever worked. Forgiving compilers?
-rw-r--r-- | recipes/graphene.recipe | 2 | ||||
-rw-r--r-- | recipes/graphene/0001-simd4f-Fix-a-compilation-error.patch | 26 |
2 files changed, 28 insertions, 0 deletions
diff --git a/recipes/graphene.recipe b/recipes/graphene.recipe index 8467d23f..c1115d24 100644 --- a/recipes/graphene.recipe +++ b/recipes/graphene.recipe @@ -40,6 +40,8 @@ class Recipe(recipe.Recipe): 'lib/pkgconfig/graphene-gobject-1.0.pc', ] + patches = ['graphene/0001-simd4f-Fix-a-compilation-error.patch'] + def prepare(self): if self.config.variants.gi: self.deps.append("gobject-introspection") diff --git a/recipes/graphene/0001-simd4f-Fix-a-compilation-error.patch b/recipes/graphene/0001-simd4f-Fix-a-compilation-error.patch new file mode 100644 index 00000000..d481c30f --- /dev/null +++ b/recipes/graphene/0001-simd4f-Fix-a-compilation-error.patch @@ -0,0 +1,26 @@ +From 5141ce208a5e290cde191f8b8119909c0435aaf8 Mon Sep 17 00:00:00 2001 +From: Arun Raghavan <arun@arunraghavan.net> +Date: Thu, 1 Sep 2016 09:28:45 +0530 +Subject: [PATCH] simd4f: Fix a compilation error + +Not sure why the missing semicolon didn't get caught before. +--- + src/graphene-simd4f.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/graphene-simd4f.h b/src/graphene-simd4f.h +index 5d505d2..5790acc 100644 +--- a/src/graphene-simd4f.h ++++ b/src/graphene-simd4f.h +@@ -859,7 +859,7 @@ typedef int graphene_simd4i_t __attribute__((vector_size (16))); + (v)[1] != 0.f ? 1.f / (v)[1] : 0.f, \ + (v)[2] != 0.f ? 1.f / (v)[2] : 0.f, \ + (v)[3] != 0.f ? 1.f / (v)[3] : 0.f, \ +- } \ ++ }; \ + })) + + # define graphene_simd4f_sqrt(v) \ +-- +2.7.4 + |