]> git.pld-linux.org Git - packages/amarok.git/blobdiff - amarok-sparc.patch
- sparc compilation fix (from czarny)
[packages/amarok.git] / amarok-sparc.patch
diff --git a/amarok-sparc.patch b/amarok-sparc.patch
new file mode 100644 (file)
index 0000000..7959abb
--- /dev/null
@@ -0,0 +1,11 @@
+--- admin/acinclude.m4.in.orig 2006-11-16 17:50:09.476528812 +0000
++++ admin/acinclude.m4.in      2006-11-16 17:50:20.123466488 +0000
+@@ -3197,7 +3197,7 @@
+         CXXFLAGS="-Wall -W -Wpointer-arith $CXXFLAGS"
+         case $host in
+           *-*-linux-gnu)      
+-            CFLAGS="-std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE $CFLAGS"
++            CFLAGS="-W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE $CFLAGS"
+             CXXFLAGS="-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts $CXXFLAGS"
+             KDE_CHECK_COMPILER_FLAG(Wmissing-format-attribute, [CXXFLAGS="$CXXFLAGS -Wformat-security -Wmissing-format-attribute"])
+             KDE_CHECK_C_COMPILER_FLAG(Wmissing-format-attribute, [CFLAGS="$CFLAGS -Wformat-security -Wmissing-format-attribute"])
This page took 0.034233 seconds and 4 git commands to generate.