pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

zabbix64-java: Fix bash-isms in patches



Module Name:	pkgsrc-wip
Committed By:	Juraj Lutter <otis%NetBSD.org@localhost>
Pushed By:	otis
Date:		Tue Sep 19 09:43:45 2023 +0000
Changeset:	d8c832333e2b08e69953f4022316bc5c11077802

Added Files:
	zabbix64-java/patches/patch-m4_pcre.m4
	zabbix64-java/patches/patch-m4_pcre2.m4

Log Message:
zabbix64-java: Fix bash-isms in patches

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d8c832333e2b08e69953f4022316bc5c11077802

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 zabbix64-java/patches/patch-m4_pcre.m4  | 15 +++++++++++++++
 zabbix64-java/patches/patch-m4_pcre2.m4 | 15 +++++++++++++++
 2 files changed, 30 insertions(+)

diffs:
diff --git a/zabbix64-java/patches/patch-m4_pcre.m4 b/zabbix64-java/patches/patch-m4_pcre.m4
new file mode 100644
index 0000000000..32d81bb941
--- /dev/null
+++ b/zabbix64-java/patches/patch-m4_pcre.m4
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Fix bash-isms.
+
+--- m4/pcre.m4.orig	2023-08-22 08:10:21.991666838 +0000
++++ m4/pcre.m4
+@@ -194,7 +194,7 @@ AS_HELP_STRING([--with-libpcre@<:@=DIR@:
+ 		if test "x$enable_static" = "xyes"; then
+ 			LIBPCRE_LIBS=" $LIBPCRE_LIBS -lpthread"
+ 		elif test "x$enable_static_libs" = "xyes"; then
+-			if test "x$static_linking_support" == "xno"; then
++			if test "x$static_linking_support" = "xno"; then
+ 				AC_MSG_WARN([compiler has no direct suppor for static linkage])
+ 
+ 				if test -n "$libpcre_lib_dir"; then
diff --git a/zabbix64-java/patches/patch-m4_pcre2.m4 b/zabbix64-java/patches/patch-m4_pcre2.m4
new file mode 100644
index 0000000000..851eed6ee5
--- /dev/null
+++ b/zabbix64-java/patches/patch-m4_pcre2.m4
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Fix bash-isms.
+
+--- m4/pcre2.m4.orig	2023-08-22 08:10:21.991666838 +0000
++++ m4/pcre2.m4
+@@ -195,7 +195,7 @@ AS_HELP_STRING([--with-libpcre2@<:@=DIR@
+ 		if test "x$enable_static" = "xyes"; then
+ 			LIBPCRE2_LIBS=" $LIBPCRE2_LIBS -lpthread"
+ 		elif test "x$enable_static_libs" = "xyes"; then
+-			if test "x$static_linking_support" == "xno"; then
++			if test "x$static_linking_support" = "xno"; then
+ 				AC_MSG_WARN([compiler has no direct suppor for static linkage])
+ 
+ 				if test -n "$libpcre2_lib_dir"; then


Home | Main Index | Thread Index | Old Index