pkgsrc-WIP-changes archive

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

toxcore-git: Patch incorrect use of test



Module Name:	pkgsrc-wip
Committed By:	Mateusz Poszwa <old4%o2.pl@localhost>
Pushed By:	f8l
Date:		Mon Mar 27 23:09:50 2017 +0200
Changeset:	714a9f7084a96dc7c5b6dce2824dc1cea0e43aba

Modified Files:
	toxcore-git/distinfo
Added Files:
	toxcore-git/patches/patch-configure.ac

Log Message:
toxcore-git: Patch incorrect use of test

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

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

diffstat:
 toxcore-git/distinfo                   |  1 +
 toxcore-git/patches/patch-configure.ac | 15 +++++++++++++++
 2 files changed, 16 insertions(+)

diffs:
diff --git a/toxcore-git/distinfo b/toxcore-git/distinfo
index c641c554c2..09f4177aa8 100644
--- a/toxcore-git/distinfo
+++ b/toxcore-git/distinfo
@@ -1 +1,2 @@
 $NetBSD$
+SHA1 (patch-configure.ac) = ca98e454bff6c9ceabdc15bfe216617211e89316
diff --git a/toxcore-git/patches/patch-configure.ac b/toxcore-git/patches/patch-configure.ac
new file mode 100644
index 0000000000..10a535d6ea
--- /dev/null
+++ b/toxcore-git/patches/patch-configure.ac
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Use correct comparison operator for test
+
+--- configure.ac.orig	2017-03-26 21:27:57.000000000 +0000
++++ configure.ac
+@@ -469,7 +469,7 @@ AC_C_BIGENDIAN
+ # Checks for library functions.
+ AC_FUNC_FORK
+ AC_CHECK_FUNCS([gettimeofday memset socket strchr malloc])
+-if (test "x$WIN32" != "xyes") && (test "x$MACH" != "xyes") && (test "x${host_os#*openbsd}" == "x$host_os") && (test "x$DISABLE_RT" != "xyes"); then
++if (test "x$WIN32" != "xyes") && (test "x$MACH" != "xyes") && (test "x${host_os#*openbsd}" = "x$host_os") && (test "x$DISABLE_RT" != "xyes"); then
+     AC_CHECK_LIB(rt, clock_gettime,
+         [
+             RT_LIBS="-lrt"


Home | Main Index | Thread Index | Old Index