[higan] 09/34: Add patch to find cairo.h.
Tobias Hansen
thansen at moszumanska.debian.org
Sun Jun 26 10:44:40 UTC 2016
This is an automated email from the git hooks/post-receive script.
thansen pushed a commit to branch master
in repository higan.
commit cff12d22f5bdd55f5534d20ec0601295122f7ff7
Author: Tobias Hansen <thansen at localhost.localdomain>
Date: Tue Mar 15 00:46:42 2016 +0000
Add patch to find cairo.h.
---
debian/control | 1 +
debian/patches/find_cairo.patch | 15 +++++++++++++++
debian/patches/series | 1 +
3 files changed, 17 insertions(+)
diff --git a/debian/control b/debian/control
index 7812615..6d7e2f7 100644
--- a/debian/control
+++ b/debian/control
@@ -4,6 +4,7 @@ Priority: optional
Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
Uploaders: Tobias Hansen <thansen at debian.org>
Build-Depends: debhelper (>= 9),
+ pkg-config,
libcairo2-dev,
libgtk2.0-dev,
libsdl1.2-dev,
diff --git a/debian/patches/find_cairo.patch b/debian/patches/find_cairo.patch
new file mode 100644
index 0000000..15c8a7d
--- /dev/null
+++ b/debian/patches/find_cairo.patch
@@ -0,0 +1,15 @@
+Description: Find cairo.h
+ Find cairo.h by adding cflags from pkg-config.
+Author: Tobias Hansen <thansen at debian.org>
+
+--- a/higan/GNUmakefile
++++ b/higan/GNUmakefile
+@@ -37,7 +37,7 @@
+ else ifeq ($(platform),macosx)
+ flags += -march=native
+ else ifneq ($(filter $(platform),linux bsd),)
+- flags += -fopenmp
++ flags += -fopenmp $(pkg-config --cflags --libs cairo)
+ link += -fopenmp
+ link += -Wl,-export-dynamic
+ link += -lX11 -lXext -ldl
diff --git a/debian/patches/series b/debian/patches/series
index a9cf3fc..dc6eaa1 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ desktop-file.patch
sjlj-declare-xopen-source.patch
noopt.patch
use-XDG_CONFIG_HOME.patch
+find_cairo.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/higan.git
More information about the Pkg-games-commits
mailing list