summaryrefslogtreecommitdiff
path: root/meta-moblin/packages/twitter-glib
diff options
context:
space:
mode:
Diffstat (limited to 'meta-moblin/packages/twitter-glib')
-rw-r--r--meta-moblin/packages/twitter-glib/twitter-glib/missingcomma.patch13
-rw-r--r--meta-moblin/packages/twitter-glib/twitter-glib_git.bb5
2 files changed, 16 insertions, 2 deletions
diff --git a/meta-moblin/packages/twitter-glib/twitter-glib/missingcomma.patch b/meta-moblin/packages/twitter-glib/twitter-glib/missingcomma.patch
new file mode 100644
index 000000000..212e0096c
--- /dev/null
+++ b/meta-moblin/packages/twitter-glib/twitter-glib/missingcomma.patch
@@ -0,0 +1,13 @@
+Index: git/configure.ac
+===================================================================
+--- git.orig/configure.ac 2010-02-02 00:12:36.409039458 +0000
++++ git/configure.ac 2010-02-02 00:12:52.027791491 +0000
+@@ -141,7 +141,7 @@
+ [],
+ [enable_maintainer_flags=maintainer_flags_default])
+
+-AS_IF([test "x$enable_maintainer_flags" = "xyes" && test "x$GCC" = "xyes"]
++AS_IF([test "x$enable_maintainer_flags" = "xyes" && test "x$GCC" = "xyes"],
+ [TWITTER_MAINTAINER_CFLAGS="-Werror -Wall -Wshadow -Wcast-align -Wno-uninitialized -Wempty-body -Wformat-security -Winit-self"]
+ )
+
diff --git a/meta-moblin/packages/twitter-glib/twitter-glib_git.bb b/meta-moblin/packages/twitter-glib/twitter-glib_git.bb
index 250f720c4..cc39c2cb5 100644
--- a/meta-moblin/packages/twitter-glib/twitter-glib_git.bb
+++ b/meta-moblin/packages/twitter-glib/twitter-glib_git.bb
@@ -1,5 +1,6 @@
HOMEPAGE = "http://live.gnome.org/TwitterGlib"
SRC_URI = "git://github.com/ebassi/${PN}.git;protocol=git \
+ file://missingcomma.patch;patch=1 \
file://nodolt.patch;patch=1"
PV = "0.1+git${SRCPV}"
PR = "r1"
@@ -8,10 +9,10 @@ DEPENDS = "glib-2.0 gtk+ json-glib libsoup-2.4"
S = "${WORKDIR}/git"
-EXTRA_OECONF = "--disable-shave --disable-introspection"
+EXTRA_OECONF = "--disable-shave --disable-introspection --disable-maintainer-flags"
inherit autotools_stage
do_configure_prepend () {
echo "EXTRA_DIST=" > ${S}/gtk-doc.make
-} \ No newline at end of file
+}