[gnome-continuous] Put the no-parallel patch for gcab back
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous] Put the no-parallel patch for gcab back
- Date: Thu, 20 Jul 2017 12:29:26 +0000 (UTC)
commit b28641e3f66a4e1eed9074745b9884bdee2c72d7
Author: Emmanuele Bassi <ebassi gnome org>
Date: Thu Jul 20 11:47:39 2017 +0100
Put the no-parallel patch for gcab back
Sadly, Autotools are still bad.
manifest.json | 1 +
patches/gcab-no-parallel.patch | 30 ++++++++++++++++++++++++++++++
2 files changed, 31 insertions(+), 0 deletions(-)
---
diff --git a/manifest.json b/manifest.json
index d149937..b0a2a52 100644
--- a/manifest.json
+++ b/manifest.json
@@ -1066,6 +1066,7 @@
{"src": "git:git://github.com/hughsie/colord-gtk.git"},
{"src": "gnome:gcab",
+ "patches": ["gcab-no-parallel.patch"],
"config-opts": ["--disable-silent-rules", "--disable-static", "--enable-fast-install"]},
{"src": "git:git://github.com/hughsie/appstream-glib.git",
diff --git a/patches/gcab-no-parallel.patch b/patches/gcab-no-parallel.patch
new file mode 100644
index 0000000..59c3a1b
--- /dev/null
+++ b/patches/gcab-no-parallel.patch
@@ -0,0 +1,30 @@
+From 5209c3aa56d75a0c619a2d1ddfb259c4524bdce7 Mon Sep 17 00:00:00 2001
+From: Emmanuele Bassi <ebassi gnome org>
+Date: Thu, 20 Jul 2017 11:45:56 +0100
+Subject: [PATCH] Prevent parallel builds
+
+The enumeration header and source files do not get generated before the
+files including them are compiled, even if they are listed in
+BUILT_SOURCES.
+---
+ Makefile.am | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/Makefile.am b/Makefile.am
+index 8df6b88..b98894c 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -4,6 +4,10 @@ CLEANFILES =
+ DISTCLEANFILES =
+ ACLOCAL_AMFLAGS = -I m4
+
++# Enumerations don't get built before the sources using them,
++# regardless of BUILT_SOURCES
++.NOTPARALLEL:
++
+ makeflags_ = $(makeflags_$(AM_DEFAULT_VERBOSITY))
+ makeflags_0 = --no-print-directory -s
+ makeflags_1 =
+--
+2.13.0
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]