[jhbuild] Added a patch for cairo removing a trailing comma in enum.
- From: Krzesimir Nowak <krnowak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild] Added a patch for cairo removing a trailing comma in enum.
- Date: Sun, 9 Jan 2011 08:20:36 +0000 (UTC)
commit bf2bf9cb2937cd57060ea77430294007e3c3a790
Author: Krzesimir Nowak <qdlacz gmail com>
Date: Sun Jan 9 09:13:18 2011 +0100
Added a patch for cairo removing a trailing comma in enum.
A trailing comma in cairo_device_type_t caused g++ to issue
a warning about it and thus distchecks in gtkmm were failing.
modulesets/gnome-suites-core-deps-3.0.modules | 1 +
patches/cairo-1.10.0-TrailingComma.patch | 11 +++++++++++
2 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/modulesets/gnome-suites-core-deps-3.0.modules b/modulesets/gnome-suites-core-deps-3.0.modules
index f173438..35725c3 100644
--- a/modulesets/gnome-suites-core-deps-3.0.modules
+++ b/modulesets/gnome-suites-core-deps-3.0.modules
@@ -127,6 +127,7 @@
repo="cairo.org"
hash="sha256:0f2ce4cc4615594088d74eb8b5360bad7c3cc3c3da9b61af9bfd979ed1ed94b2"
md5sum="70a2ece66cf473d976e2db0f75bf199e" size="24022822">
+ <patch file="cairo-1.10.0-TrailingComma.patch" strip="1"/>
</branch>
<dependencies>
<dep package="fontconfig"/>
diff --git a/patches/cairo-1.10.0-TrailingComma.patch b/patches/cairo-1.10.0-TrailingComma.patch
new file mode 100644
index 0000000..f2d94ae
--- /dev/null
+++ b/patches/cairo-1.10.0-TrailingComma.patch
@@ -0,0 +1,11 @@
+--- cairo-1.10.0/src/cairo.h.TrailingComma 2011-01-09 08:53:45.530942705 +0100
++++ cairo-1.10.0/src/cairo.h 2011-01-09 08:54:05.272906827 +0100
+@@ -1973,7 +1973,7 @@ typedef enum _cairo_device_type {
+ CAIRO_DEVICE_TYPE_SCRIPT,
+ CAIRO_DEVICE_TYPE_XCB,
+ CAIRO_DEVICE_TYPE_XLIB,
+- CAIRO_DEVICE_TYPE_XML,
++ CAIRO_DEVICE_TYPE_XML
+ } cairo_device_type_t;
+
+ cairo_public cairo_device_type_t
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]