[SM-Commit] GIT changes to master grimoire by Robin Cook (7ed3d9506d14001cc504d147a36928329d40ef13)

Robin Cook scm at sourcemage.org
Wed Aug 17 19:57:21 EDT 2011


GIT changes to master grimoire by Robin Cook <rcook at wyrms.net>:

 gnome2-libs/unique/HISTORY      |    3 +++
 gnome2-libs/unique/PRE_BUILD    |    4 ++++
 gnome2-libs/unique/Werror.patch |   24 ++++++++++++++++++++++++
 3 files changed, 31 insertions(+)

New commits:
commit 7ed3d9506d14001cc504d147a36928329d40ef13
Author: Robin Cook <rcook at wyrms.net>
Commit: Robin Cook <rcook at wyrms.net>

    unique: added PRE_BUILD to apply patch to remove -Werror

diff --git a/gnome2-libs/unique/HISTORY b/gnome2-libs/unique/HISTORY
index fff4081..d5def6c 100644
--- a/gnome2-libs/unique/HISTORY
+++ b/gnome2-libs/unique/HISTORY
@@ -1,3 +1,6 @@
+2011-08-17 Robin Cook <rcook at wyrms.net>
+	* PRE_BUILD: added to apply patch to remove -Werror
+
 2010-02-05 Vasil Yonkov <spirtbrat at sourcemage.org>
 	* DETAILS: updated spell to 1.1.6
 	* DEPENDS: made dbus-glib optional,
diff --git a/gnome2-libs/unique/PRE_BUILD b/gnome2-libs/unique/PRE_BUILD
new file mode 100755
index 0000000..f9ee958
--- /dev/null
+++ b/gnome2-libs/unique/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build     &&
+cd $SOURCE_DIRECTORY  &&
+
+patch -p1 < $SCRIPT_DIRECTORY/Werror.patch
diff --git a/gnome2-libs/unique/Werror.patch b/gnome2-libs/unique/Werror.patch
new file mode 100644
index 0000000..3e349d5
--- /dev/null
+++ b/gnome2-libs/unique/Werror.patch
@@ -0,0 +1,24 @@
+diff -ur libunique-1.1.6/configure libunique-mod/configure
+--- libunique-1.1.6/configure	2009-11-12 07:57:56.000000000 -0600
++++ libunique-mod/configure	2011-08-12 15:57:18.349054619 -0500
+@@ -15398,7 +15398,7 @@
+ if test "x$enable_maintainer_flags" = "xyes" &&  test "x$GCC" = "xyes"; then
+ 
+ 
+-  list="-Werror -Wall -Wshadow -Wcast-align
++  list="-Wall -Wshadow -Wcast-align
+                             -Wno-uninitialized -Wempty-body -Wformat-security
+                             -Winit-self"
+   flags_supported=""
+diff -ur libunique-1.1.6/configure.ac libunique-mod/configure.ac
+--- libunique-1.1.6/configure.ac	2009-11-12 07:57:39.000000000 -0600
++++ libunique-mod/configure.ac	2011-08-12 15:56:15.700054575 -0500
+@@ -178,7 +178,7 @@
+ AS_IF([test "x$enable_maintainer_flags" = "xyes" &&  test "x$GCC" = "xyes"],
+       [
+         AS_COMPILER_FLAGS([MAINTAINER_CFLAGS],
+-                          ["-Werror -Wall -Wshadow -Wcast-align
++                          ["-Wall -Wshadow -Wcast-align
+                             -Wno-uninitialized -Wempty-body -Wformat-security
+                             -Winit-self"])
+       ]


More information about the SM-Commit mailing list