summaryrefslogtreecommitdiffhomepage
path: root/patches
diff options
context:
space:
mode:
authorØrjan Malde <red@foxi.me>2022-01-01 17:00:59 +0100
committerØrjan Malde <red@foxi.me>2022-01-01 17:00:59 +0100
commit8cf4e5b2ede3bbde826065cfc1df5252a702dbc5 (patch)
treecebbd6813884beffa8dc79f5dd12b3494d680c9d /patches
parent67b93483dc0c5021da2f1a5ace469908d4141f68 (diff)
downloadmidipix_build-8cf4e5b2ede3bbde826065cfc1df5252a702dbc5.tar.bz2
midipix_build-8cf4e5b2ede3bbde826065cfc1df5252a702dbc5.tar.xz
groups/241.native_packages_inet.group: adds elinks v0.15.0
Signed-off-by: Ørjan Malde <red@foxi.me>
Diffstat (limited to 'patches')
-rw-r--r--patches/elinks-0.15.0_pre.local.patch65
1 files changed, 65 insertions, 0 deletions
diff --git a/patches/elinks-0.15.0_pre.local.patch b/patches/elinks-0.15.0_pre.local.patch
new file mode 100644
index 00000000..e57afb81
--- /dev/null
+++ b/patches/elinks-0.15.0_pre.local.patch
@@ -0,0 +1,65 @@
+diff -ru elinks-0.15.0.orig/configure elinks-0.15.0/configure
+--- elinks-0.15.0.orig/configure 2021-12-24 20:57:15.000000000 +0100
++++ elinks-0.15.0/configure 2022-01-01 15:57:15.992481385 +0100
+@@ -13347,59 +13347,9 @@
+
+ chosen_ssl_library="GNUTLS"
+
+- # Extract the first word of "libgcrypt-config", so it can be a program name with args.
+-set dummy libgcrypt-config; ac_word=$2
+-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+-printf %s "checking for $ac_word... " >&6; }
+-if test ${ac_cv_path_LIBGCRYPT_CONFIG+y}
+-then :
+- printf %s "(cached) " >&6
+-else $as_nop
+- case $LIBGCRYPT_CONFIG in
+- [\\/]* | ?:[\\/]*)
+- ac_cv_path_LIBGCRYPT_CONFIG="$LIBGCRYPT_CONFIG" # Let the user override the test with a path.
+- ;;
+- *)
+- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+-for as_dir in $PATH
+-do
+- IFS=$as_save_IFS
+- case $as_dir in #(((
+- '') as_dir=./ ;;
+- */) ;;
+- *) as_dir=$as_dir/ ;;
+- esac
+- for ac_exec_ext in '' $ac_executable_extensions; do
+- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
+- ac_cv_path_LIBGCRYPT_CONFIG="$as_dir$ac_word$ac_exec_ext"
+- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
+- break 2
+- fi
+-done
+- done
+-IFS=$as_save_IFS
+-
+- test -z "$ac_cv_path_LIBGCRYPT_CONFIG" && ac_cv_path_LIBGCRYPT_CONFIG="no"
+- ;;
+-esac
+-fi
+-LIBGCRYPT_CONFIG=$ac_cv_path_LIBGCRYPT_CONFIG
+-if test -n "$LIBGCRYPT_CONFIG"; then
+- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBGCRYPT_CONFIG" >&5
+-printf "%s\n" "$LIBGCRYPT_CONFIG" >&6; }
+-else
+- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
+-printf "%s\n" "no" >&6; }
+-fi
+-
+-
+- if test "$LIBGCRYPT_CONFIG" = no; then
+- as_fn_error $? "libgcrypt-config not found." "$LINENO" 5
+- fi
+-
+ # gcry_create_nounce is part of libgcrypt
+- LIBGCRYPT_CFLAGS=`libgcrypt-config --cflags`
+- LIBGCRYPT_LIBS=`libgcrypt-config --libs`
++ LIBGCRYPT_CFLAGS=`$PKG_CONFIG --cflags libgcrypt`
++ LIBGCRYPT_LIBS=`$PKG_CONFIG --libs libgcrypt`
+
+ LIBS="$LIBGCRYPT_LIBS $GNUTLS_LIBS $LIBS"
+