~ubuntu-branches/ubuntu/trusty/btscanner/trusty

« back to all changes in this revision

Viewing changes to debian/patches/00_invalid_cflags_entry.patch

  • Committer: Bazaar Package Importer
  • Author(s): Uwe Hermann
  • Date: 2006-05-06 21:31:01 UTC
  • Revision ID: james.westby@ubuntu.com-20060506213101-om854uj6pzrcpv3q
Tags: 2.1-2
* Fixed incorrect config-file btscanner.xml (Closes: #365808).
  Thanks Yves-Alexis Perez for the patch!
* Updated oui.txt file to include more entries.
* Standards-Version: 3.7.2 (no changes).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--- btscanner-2.1.orig/configure.in
 
2
+++ btscanner-2.1/configure.in
 
3
@@ -64,7 +64,7 @@
 
4
 
 
5
 # CFLAGS
 
6
 CFLAGS="$CFLAGS -Wall -pthread -Wshadow -Wbad-function-cast \
 
7
-  -Wformat -Wimplicit-function-dec -Wparentheses -Wsign-compare \
 
8
+  -Wformat -Wparentheses -Wsign-compare \
 
9
   -Wstrict-prototypes -Wtrigraphs -Wundef -Wuninitialized \
 
10
   -W -Wunused -Wformat-security -Wmissing-braces -Wbad-function-cast \
 
11
   -Wcast-qual -falign-functions -falign-labels -falign-loops\
 
12
--- btscanner-2.1.orig/aclocal.m4
 
13
+++ btscanner-2.1/aclocal.m4
 
14
@@ -1,4 +1,4 @@
 
15
-# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
 
16
+# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
 
17
 
 
18
 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
 
19
 # 2005  Free Software Foundation, Inc.
 
20
@@ -28,7 +28,7 @@
 
21
 # Call AM_AUTOMAKE_VERSION so it can be traced.
 
22
 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
 
23
 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
 
24
-        [AM_AUTOMAKE_VERSION([1.9.5])])
 
25
+        [AM_AUTOMAKE_VERSION([1.9.6])])
 
26
 
 
27
 # AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
 
28
 
 
29
--- btscanner-2.1.orig/Makefile.in
 
30
+++ btscanner-2.1/Makefile.in
 
31
@@ -1,4 +1,4 @@
 
32
-# Makefile.in generated by automake 1.9.5 from Makefile.am.
 
33
+# Makefile.in generated by automake 1.9.6 from Makefile.am.
 
34
 # @configure_input@
 
35
 
 
36
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
 
37
@@ -15,8 +15,6 @@
 
38
 @SET_MAKE@
 
39
 
 
40
 
 
41
-SOURCES = $(btscanner_SOURCES)
 
42
-
 
43
 srcdir = @srcdir@
 
44
 top_srcdir = @top_srcdir@
 
45
 VPATH = @srcdir@
 
46
--- btscanner-2.1.orig/configure
 
47
+++ btscanner-2.1/configure
 
48
@@ -955,7 +955,7 @@
 
49
     else
 
50
       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
51
     fi
 
52
-    cd $ac_popdir
 
53
+    cd "$ac_popdir"
 
54
   done
 
55
 fi
 
56
 
 
57
@@ -2311,8 +2311,7 @@
 
58
   cat conftest.err >&5
 
59
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
60
   (exit $ac_status); } &&
 
61
-        { ac_try='test -z "$ac_c_werror_flag"
 
62
-                        || test ! -s conftest.err'
 
63
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
64
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
65
   (eval $ac_try) 2>&5
 
66
   ac_status=$?
 
67
@@ -2370,8 +2369,7 @@
 
68
   cat conftest.err >&5
 
69
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
70
   (exit $ac_status); } &&
 
71
-        { ac_try='test -z "$ac_c_werror_flag"
 
72
-                        || test ! -s conftest.err'
 
73
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
74
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
75
   (eval $ac_try) 2>&5
 
76
   ac_status=$?
 
77
@@ -2487,8 +2485,7 @@
 
78
   cat conftest.err >&5
 
79
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
80
   (exit $ac_status); } &&
 
81
-        { ac_try='test -z "$ac_c_werror_flag"
 
82
-                        || test ! -s conftest.err'
 
83
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
84
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
85
   (eval $ac_try) 2>&5
 
86
   ac_status=$?
 
87
@@ -2542,8 +2539,7 @@
 
88
   cat conftest.err >&5
 
89
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
90
   (exit $ac_status); } &&
 
91
-        { ac_try='test -z "$ac_c_werror_flag"
 
92
-                        || test ! -s conftest.err'
 
93
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
94
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
95
   (eval $ac_try) 2>&5
 
96
   ac_status=$?
 
97
@@ -2588,8 +2584,7 @@
 
98
   cat conftest.err >&5
 
99
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
100
   (exit $ac_status); } &&
 
101
-        { ac_try='test -z "$ac_c_werror_flag"
 
102
-                        || test ! -s conftest.err'
 
103
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
104
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
105
   (eval $ac_try) 2>&5
 
106
   ac_status=$?
 
107
@@ -2633,8 +2628,7 @@
 
108
   cat conftest.err >&5
 
109
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
110
   (exit $ac_status); } &&
 
111
-        { ac_try='test -z "$ac_c_werror_flag"
 
112
-                        || test ! -s conftest.err'
 
113
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
114
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
115
   (eval $ac_try) 2>&5
 
116
   ac_status=$?
 
117
@@ -2930,8 +2924,7 @@
 
118
   cat conftest.err >&5
 
119
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
120
   (exit $ac_status); } &&
 
121
-        { ac_try='test -z "$ac_c_werror_flag"
 
122
-                        || test ! -s conftest.err'
 
123
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
124
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
125
   (eval $ac_try) 2>&5
 
126
   ac_status=$?
 
127
@@ -2985,8 +2978,7 @@
 
128
   cat conftest.err >&5
 
129
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
130
   (exit $ac_status); } &&
 
131
-        { ac_try='test -z "$ac_c_werror_flag"
 
132
-                        || test ! -s conftest.err'
 
133
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
134
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
135
   (eval $ac_try) 2>&5
 
136
   ac_status=$?
 
137
@@ -3053,8 +3045,7 @@
 
138
   cat conftest.err >&5
 
139
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
140
   (exit $ac_status); } &&
 
141
-        { ac_try='test -z "$ac_c_werror_flag"
 
142
-                        || test ! -s conftest.err'
 
143
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
144
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
145
   (eval $ac_try) 2>&5
 
146
   ac_status=$?
 
147
@@ -3126,8 +3117,7 @@
 
148
   cat conftest.err >&5
 
149
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
150
   (exit $ac_status); } &&
 
151
-        { ac_try='test -z "$ac_c_werror_flag"
 
152
-                        || test ! -s conftest.err'
 
153
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
154
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
155
   (eval $ac_try) 2>&5
 
156
   ac_status=$?
 
157
@@ -3199,8 +3189,7 @@
 
158
   cat conftest.err >&5
 
159
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
160
   (exit $ac_status); } &&
 
161
-        { ac_try='test -z "$ac_c_werror_flag"
 
162
-                        || test ! -s conftest.err'
 
163
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
164
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
165
   (eval $ac_try) 2>&5
 
166
   ac_status=$?
 
167
@@ -3272,8 +3261,7 @@
 
168
   cat conftest.err >&5
 
169
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
170
   (exit $ac_status); } &&
 
171
-        { ac_try='test -z "$ac_c_werror_flag"
 
172
-                        || test ! -s conftest.err'
 
173
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
174
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
175
   (eval $ac_try) 2>&5
 
176
   ac_status=$?
 
177
@@ -3345,8 +3333,7 @@
 
178
   cat conftest.err >&5
 
179
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
180
   (exit $ac_status); } &&
 
181
-        { ac_try='test -z "$ac_c_werror_flag"
 
182
-                        || test ! -s conftest.err'
 
183
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
184
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
185
   (eval $ac_try) 2>&5
 
186
   ac_status=$?
 
187
@@ -3670,8 +3657,7 @@
 
188
   cat conftest.err >&5
 
189
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
190
   (exit $ac_status); } &&
 
191
-        { ac_try='test -z "$ac_c_werror_flag"
 
192
-                        || test ! -s conftest.err'
 
193
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
194
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
195
   (eval $ac_try) 2>&5
 
196
   ac_status=$?
 
197
@@ -3841,8 +3827,7 @@
 
198
   cat conftest.err >&5
 
199
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
200
   (exit $ac_status); } &&
 
201
-        { ac_try='test -z "$ac_c_werror_flag"
 
202
-                        || test ! -s conftest.err'
 
203
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
204
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
205
   (eval $ac_try) 2>&5
 
206
   ac_status=$?
 
207
@@ -3918,8 +3903,7 @@
 
208
   cat conftest.err >&5
 
209
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
210
   (exit $ac_status); } &&
 
211
-        { ac_try='test -z "$ac_c_werror_flag"
 
212
-                        || test ! -s conftest.err'
 
213
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
214
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
215
   (eval $ac_try) 2>&5
 
216
   ac_status=$?
 
217
@@ -4068,8 +4052,7 @@
 
218
   cat conftest.err >&5
 
219
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
220
   (exit $ac_status); } &&
 
221
-        { ac_try='test -z "$ac_c_werror_flag"
 
222
-                        || test ! -s conftest.err'
 
223
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
224
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
225
   (eval $ac_try) 2>&5
 
226
   ac_status=$?
 
227
@@ -4222,8 +4205,7 @@
 
228
   cat conftest.err >&5
 
229
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
230
   (exit $ac_status); } &&
 
231
-        { ac_try='test -z "$ac_c_werror_flag"
 
232
-                        || test ! -s conftest.err'
 
233
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
234
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
235
   (eval $ac_try) 2>&5
 
236
   ac_status=$?
 
237
@@ -4419,8 +4401,7 @@
 
238
   cat conftest.err >&5
 
239
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
240
   (exit $ac_status); } &&
 
241
-        { ac_try='test -z "$ac_c_werror_flag"
 
242
-                        || test ! -s conftest.err'
 
243
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
244
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
245
   (eval $ac_try) 2>&5
 
246
   ac_status=$?
 
247
@@ -4483,8 +4464,7 @@
 
248
   cat conftest.err >&5
 
249
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
250
   (exit $ac_status); } &&
 
251
-        { ac_try='test -z "$ac_c_werror_flag"
 
252
-                        || test ! -s conftest.err'
 
253
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
254
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
255
   (eval $ac_try) 2>&5
 
256
   ac_status=$?
 
257
@@ -4603,8 +4583,7 @@
 
258
   cat conftest.err >&5
 
259
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
260
   (exit $ac_status); } &&
 
261
-        { ac_try='test -z "$ac_c_werror_flag"
 
262
-                        || test ! -s conftest.err'
 
263
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
264
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
265
   (eval $ac_try) 2>&5
 
266
   ac_status=$?
 
267
@@ -4839,8 +4818,7 @@
 
268
   cat conftest.err >&5
 
269
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
270
   (exit $ac_status); } &&
 
271
-        { ac_try='test -z "$ac_c_werror_flag"
 
272
-                        || test ! -s conftest.err'
 
273
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
274
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
275
   (eval $ac_try) 2>&5
 
276
   ac_status=$?
 
277
@@ -4939,8 +4917,7 @@
 
278
   cat conftest.err >&5
 
279
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
280
   (exit $ac_status); } &&
 
281
-        { ac_try='test -z "$ac_c_werror_flag"
 
282
-                        || test ! -s conftest.err'
 
283
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
284
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
285
   (eval $ac_try) 2>&5
 
286
   ac_status=$?
 
287
@@ -5114,8 +5091,7 @@
 
288
   cat conftest.err >&5
 
289
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
290
   (exit $ac_status); } &&
 
291
-        { ac_try='test -z "$ac_c_werror_flag"
 
292
-                        || test ! -s conftest.err'
 
293
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
294
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
295
   (eval $ac_try) 2>&5
 
296
   ac_status=$?
 
297
@@ -5267,8 +5243,7 @@
 
298
   cat conftest.err >&5
 
299
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
300
   (exit $ac_status); } &&
 
301
-        { ac_try='test -z "$ac_c_werror_flag"
 
302
-                        || test ! -s conftest.err'
 
303
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
304
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
305
   (eval $ac_try) 2>&5
 
306
   ac_status=$?
 
307
@@ -5310,7 +5285,7 @@
 
308
 
 
309
 # CFLAGS
 
310
 CFLAGS="$CFLAGS -Wall -pthread -Wshadow -Wbad-function-cast \
 
311
-  -Wformat -Wimplicit-function-dec -Wparentheses -Wsign-compare \
 
312
+  -Wformat -Wparentheses -Wsign-compare \
 
313
   -Wstrict-prototypes -Wtrigraphs -Wundef -Wuninitialized \
 
314
   -W -Wunused -Wformat-security -Wmissing-braces -Wbad-function-cast \
 
315
   -Wcast-qual -falign-functions -falign-labels -falign-loops\
 
316
@@ -6196,11 +6171,6 @@
 
317
   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 
318
   esac
 
319
 
 
320
-  if test x"$ac_file" != x-; then
 
321
-    { echo "$as_me:$LINENO: creating $ac_file" >&5
 
322
-echo "$as_me: creating $ac_file" >&6;}
 
323
-    rm -f "$ac_file"
 
324
-  fi
 
325
   # Let's still pretend it is `configure' which instantiates (i.e., don't
 
326
   # use $as_me), people would be surprised to read:
 
327
   #    /* config.h.  Generated by config.status.  */
 
328
@@ -6239,6 +6209,12 @@
 
329
         fi;;
 
330
       esac
 
331
     done` || { (exit 1); exit 1; }
 
332
+
 
333
+  if test x"$ac_file" != x-; then
 
334
+    { echo "$as_me:$LINENO: creating $ac_file" >&5
 
335
+echo "$as_me: creating $ac_file" >&6;}
 
336
+    rm -f "$ac_file"
 
337
+  fi
 
338
 _ACEOF
 
339
 cat >>$CONFIG_STATUS <<_ACEOF
 
340
   sed "$ac_vpsub