diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-06 04:42:21 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-06 04:42:21 +0000 |
commit | 90e2665fab71dcfbf5451b8d371429dd3638b5e3 (patch) | |
tree | 4dc63221d5727640917fd5e1d92afef4e15526c1 /autogen-guile-version.patch | |
parent | 98578c46dbdc3a1434790e8fb6e5bdf5da1eb9bd (diff) |
automatic import of autogenopeneuler24.03_LTS
Diffstat (limited to 'autogen-guile-version.patch')
-rw-r--r-- | autogen-guile-version.patch | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/autogen-guile-version.patch b/autogen-guile-version.patch new file mode 100644 index 0000000..0431755 --- /dev/null +++ b/autogen-guile-version.patch @@ -0,0 +1,45 @@ +Origin: https://build.opensuse.org/package/show/openSUSE:Factory/autogen +Description: Allow building with guile 3.0.x +Author: Andreas Schwab <schwab@suse.de> +Bug-Debian: https://bugs.debian.org/969697 +Bug: https://sourceforge.net/p/autogen/bugs/196/ + +Index: autogen-5.18.16/agen5/guile-iface.h +=================================================================== +--- autogen-5.18.16.orig/agen5/guile-iface.h ++++ autogen-5.18.16/agen5/guile-iface.h +@@ -9,7 +9,7 @@ + # error AutoGen does not work with this version of Guile + choke me. + +-#elif GUILE_VERSION < 203000 ++#elif GUILE_VERSION < 301000 + # define AG_SCM_IS_PROC(_p) scm_is_true( scm_procedure_p(_p)) + # define AG_SCM_LIST_P(_l) scm_is_true( scm_list_p(_l)) + # define AG_SCM_PAIR_P(_p) scm_is_true( scm_pair_p(_p)) +Index: autogen-5.18.16/config/guile.m4 +=================================================================== +--- autogen-5.18.16.orig/config/guile.m4 ++++ autogen-5.18.16/config/guile.m4 +@@ -61,7 +61,7 @@ + # + AC_DEFUN([GUILE_PKG], + [PKG_PROG_PKG_CONFIG +- _guile_versions_to_search="m4_default([$1], [2.2 2.0 1.8])" ++ _guile_versions_to_search="m4_default([$1], [3.0 2.2 2.0 1.8])" + if test -n "$GUILE_EFFECTIVE_VERSION"; then + _guile_tmp="" + for v in $_guile_versions_to_search; do +Index: autogen-5.18.16/configure +=================================================================== +--- autogen-5.18.16.orig/configure ++++ autogen-5.18.16/configure +@@ -14799,7 +14799,7 @@ $as_echo "no" >&6; } + PKG_CONFIG="" + fi + fi +- _guile_versions_to_search="2.2 2.0 1.8" ++ _guile_versions_to_search="3.0 2.2 2.0 1.8" + if test -n "$GUILE_EFFECTIVE_VERSION"; then + _guile_tmp="" + for v in $_guile_versions_to_search; do |