summaryrefslogtreecommitdiff
path: root/packages/btscanner/files
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
parent7bfd0e447cdc7ad7ddc3a3f4258e5983c7a285f5 (diff)
btscanner 2.0: Make buildable with gcc4.
* Closes #2022.
Diffstat (limited to 'packages/btscanner/files')
-rw-r--r--packages/btscanner/files/.mtn2git_empty0
-rw-r--r--packages/btscanner/files/gcc-4.patch12
2 files changed, 12 insertions, 0 deletions
diff --git a/packages/btscanner/files/.mtn2git_empty b/packages/btscanner/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/btscanner/files/.mtn2git_empty
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\