Obsolete golang-120
[oi-userland.git] / components / developer / autogen / patches / 04-guile-version.patch
blobab832f850a426e2543e29e6e2a287c530900a382
1 diff -up autogen-5.18.16/config/guile.m4.omv~ autogen-5.18.16/config/guile.m4
2 --- autogen-5.18.16/config/guile.m4.omv~ 2020-06-11 00:44:52.504286768 +0200
3 +++ autogen-5.18.16/config/guile.m4 2020-06-11 00:45:08.085490315 +0200
4 @@ -61,7 +61,7 @@
6 AC_DEFUN([GUILE_PKG],
7 [PKG_PROG_PKG_CONFIG
8 - _guile_versions_to_search="m4_default([$1], [2.2 2.0 1.8])"
9 + _guile_versions_to_search="m4_default([$1], [3.0 2.2 2.0 1.8])"
10 if test -n "$GUILE_EFFECTIVE_VERSION"; then
11 _guile_tmp=""
12 for v in $_guile_versions_to_search; do
13 diff -up autogen-5.18.16/configure.omv~ autogen-5.18.16/configure
14 --- autogen-5.18.16/configure.omv~ 2020-06-11 00:45:14.791577912 +0200
15 +++ autogen-5.18.16/configure 2020-06-11 00:45:22.791682407 +0200
16 @@ -15020,7 +15020,7 @@ $as_echo "no" >&6; }
17 PKG_CONFIG=""
20 - _guile_versions_to_search="2.2 2.0 1.8"
21 + _guile_versions_to_search="3.0 2.2 2.0 1.8"
22 if test -n "$GUILE_EFFECTIVE_VERSION"; then
23 _guile_tmp=""
24 for v in $_guile_versions_to_search; do
25 diff -up autogen-5.18.16/agen5/guile-iface.h.omv~ autogen-5.18.16/agen5/guile-iface.h
26 --- autogen-5.18.16/agen5/guile-iface.h.omv~ 2020-06-11 00:46:47.082782949 +0200
27 +++ autogen-5.18.16/agen5/guile-iface.h 2020-06-11 00:47:02.066978514 +0200
28 @@ -9,7 +9,7 @@
29 # error AutoGen does not work with this version of Guile
30 choke me.
32 -#elif GUILE_VERSION < 203000
33 +#elif 1 < 203000 /* Let's assume any guile >= 2.2 is ok... */
34 # define AG_SCM_IS_PROC(_p) scm_is_true( scm_procedure_p(_p))
35 # define AG_SCM_LIST_P(_l) scm_is_true( scm_list_p(_l))
36 # define AG_SCM_PAIR_P(_p) scm_is_true( scm_pair_p(_p))