summaryrefslogtreecommitdiff
path: root/packages/btscanner/files/gcc-4.patch
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2007-04-22 21:32:05 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2007-04-22 21:32:05 +0000
commit300e02974776b68fcb8ad6720f8217bcbbcd0624 (patch)
tree4f1f59b81b3ad38bec0ab47655b537178c001bb2 /packages/btscanner/files/gcc-4.patch
parent7bfd0e447cdc7ad7ddc3a3f4258e5983c7a285f5 (diff)
btscanner 2.0: Make buildable with gcc4.
* Closes #2022.
Diffstat (limited to 'packages/btscanner/files/gcc-4.patch')
-rw-r--r--packages/btscanner/files/gcc-4.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/btscanner/files/gcc-4.patch b/packages/btscanner/files/gcc-4.patch
new file mode 100644
index 0000000000..dab2bfa2ff
--- /dev/null
+++ b/packages/btscanner/files/gcc-4.patch
@@ -0,0 +1,12 @@
+diff -Naur btscanner-2.0.orig/configure.in btscanner-2.0/configure.in
+--- btscanner-2.0.orig/configure.in 2004-11-01 12:56:02.000000000 +0100
++++ btscanner-2.0/configure.in 2007-03-11 14:58:09.000000000 +0100
+@@ -64,7 +64,7 @@
+
+ # CFLAGS
+ CFLAGS="$CFLAGS -Wall -pthread -Wshadow -Wbad-function-cast \
+- -Wformat -Wimplicit-function-dec -Wparentheses -Wsign-compare \
++ -Wformat -Wparentheses -Wsign-compare \
+ -Wstrict-prototypes -Wtrigraphs -Wundef -Wuninitialized \
+ -W -Wunused -Wformat-security -Wmissing-braces -Wbad-function-cast \
+ -Wcast-qual -falign-functions -falign-labels -falign-loops\