summaryrefslogtreecommitdiff
path: root/net-im/ysm/files/ysm-2.9.9.1-fix-bashism.patch
blob: dcfeecb04c82fc9204af7aa23899c240f1d54ed9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
From 52470a9be22fb4f8b6092e744c324ba691aff583 Mon Sep 17 00:00:00 2001
From: Sam James <sam@gentoo.org>
Date: Wed, 21 Apr 2021 00:45:27 +0000
Subject: [PATCH 1/2] Fix bashism

--- a/configure.in
+++ b/configure.in
@@ -94,7 +94,7 @@ AC_CHECK_LIB([nsl],
 
 # final checks
 
-if test "$vl_cv_lib_readline" == "no"; then
+if test "$vl_cv_lib_readline" = "xno"; then
 	# are we using getline instead? do we have threads?
 	if test "$pthread_libs"; then
 		CMDOBJS="cmdline/getline.o $CMDOBJS"
--