patches/mutter-01-suncc-xc99.diff
author yippi
Sat, 14 Aug 2010 20:20:34 +0000
changeset 2887 a1cd0f8b8968
child 2974 14461f0c7601
permissions -rw-r--r--
2010-08-14 Brian Cameron <[email protected]> * SFEgnome-shell.spec: Revert Lin Ma's fix on 2010-06-23 since it is causing the build to crash for me when building St.gir. * SFEmutter.spec: Unbump to 2.31.2 since gnome-shell 2.31.5 depends on GTK3, which I cannot get to build. Until the build issues are resolved, revert back to the latest version that compiles. * patches/mutter-01-suncc-xc99.diff: Add back old patch. * patches/mutter-2-31-5-compile.diff: Rename so it is more clear this patch is needed when we update.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2887
a1cd0f8b8968 2010-08-14 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     1
diff --git a/configure.in b/configure.in
a1cd0f8b8968 2010-08-14 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     2
index b843a68..660c7fc 100644
a1cd0f8b8968 2010-08-14 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     3
--- a/configure.in
a1cd0f8b8968 2010-08-14 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     4
+++ b/configure.in
a1cd0f8b8968 2010-08-14 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     5
@@ -486,6 +486,9 @@ fi
a1cd0f8b8968 2010-08-14 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     6
 # Warnings are there for a reason
a1cd0f8b8968 2010-08-14 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     7
 if test "x$GCC" = "xyes"; then
a1cd0f8b8968 2010-08-14 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     8
   CFLAGS="$CFLAGS -Wall -Werror -ansi"
a1cd0f8b8968 2010-08-14 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     9
+else
a1cd0f8b8968 2010-08-14 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    10
+# For sun cc
a1cd0f8b8968 2010-08-14 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    11
+  CFLAGS="$CFLAGS -xc99"
a1cd0f8b8968 2010-08-14 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    12
 fi
a1cd0f8b8968 2010-08-14 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    13
 
a1cd0f8b8968 2010-08-14 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    14
 # Use gnome-doc-utils: