wok-next view libstroke/stuff/patches/autoconf-macro-quoting.patch @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents
children
line source
1 Description: Fix quoting in autoconf macro files
2 Avoids warnings from autoreconf, which can break unrelated builds on
3 the system when those builds require autoreconf's --warnings=error
4 flag.
5 Author: Steve M. Robbins <steven.robbins@videotron.ca>
6 Origin: https://bugs.debian.org/302907#5
7 Forwarded: yes
8 ---
9 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
10 --- libstroke-0.5.1.orig/libstroke.m4 2003-11-12 07:45:28.000000000 -0500
11 +++ libstroke-0.5.1/libstroke.m4 2005-04-03 14:35:16.709447679 -0400
12 @@ -26,7 +26,7 @@
13 dnl if different from name
14 dnl description (optional) used to construct help string
15 dnl
16 -AC_DEFUN(smr_ARG_WITHLIB, [
17 +AC_DEFUN([smr_ARG_WITHLIB], [
19 ifelse($2, , smr_lib=[$1], smr_lib=[$2])
21 @@ -74,7 +74,7 @@
22 dnl extra-flags (optional) flags required when compiling the
23 dnl header, typically more includes; for ex. X_CFLAGS
24 dnl
25 -AC_DEFUN(smr_ARG_WITHINCLUDES, [
26 +AC_DEFUN([smr_ARG_WITHINCLUDES], [
28 AC_ARG_WITH([$1]-includes,
29 [ --with-$1-includes=DIR set directory for $1 headers],
30 @@ -116,7 +116,7 @@
31 dnl x-libs (optional) extra libraries, if needed to link with lib
32 dnl x-flags (optional) extra flags, if needed to include header files
33 dnl
34 -AC_DEFUN(smr_CHECK_LIB,
35 +AC_DEFUN([smr_CHECK_LIB],
36 [
37 ifelse($2, , smr_lib=[$1], smr_lib=[$2])
38 ifelse($5, , , smr_header=[$5])
39 --- libstroke-0.5.1.orig/libgstroke.m4 2003-11-12 07:45:28.000000000 -0500
40 +++ libstroke-0.5.1/libgstroke.m4 2005-04-03 14:35:16.709447679 -0400
41 @@ -26,7 +26,7 @@
42 dnl if different from name
43 dnl description (optional) used to construct help string
44 dnl
45 -AC_DEFUN(smr_ARG_WITHLIB, [
46 +AC_DEFUN([smr_ARG_WITHLIB], [
48 ifelse($2, , smr_lib=[$1], smr_lib=[$2])
50 @@ -74,7 +74,7 @@
51 dnl extra-flags (optional) flags required when compiling the
52 dnl header, typically more includes; for ex. X_CFLAGS
53 dnl
54 -AC_DEFUN(smr_ARG_WITHINCLUDES, [
55 +AC_DEFUN([smr_ARG_WITHINCLUDES], [
57 AC_ARG_WITH([$1]-includes,
58 [ --with-$1-includes=DIR set directory for $1 headers],
59 @@ -116,7 +116,7 @@
60 dnl x-libs (optional) extra libraries, if needed to link with lib
61 dnl x-flags (optional) extra flags, if needed to include header files
62 dnl
63 -AC_DEFUN(smr_CHECK_LIB,
64 +AC_DEFUN([smr_CHECK_LIB],
65 [
66 ifelse($2, , smr_lib=[$1], smr_lib=[$2])
67 ifelse($5, , , smr_header=[$5])