pkgsrc-WIP-changes archive

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

toxcore: Add patch for test(1) usage



Module Name:	pkgsrc-wip
Committed By:	Mateusz Poszwa <old4%o2.pl@localhost>
Pushed By:	f8l
Date:		Tue Jan 16 19:34:27 2018 +0100
Changeset:	5bb86e87fcbb4f5204700c2f46962f2a40adfff4

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

Log Message:
toxcore: Add patch for test(1) usage

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

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

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

diffs:
diff --git a/toxcore/distinfo b/toxcore/distinfo
index 03a86614da..d195285376 100644
--- a/toxcore/distinfo
+++ b/toxcore/distinfo
@@ -4,3 +4,4 @@ SHA1 (c-toxcore-0.1.11.tar.gz) = a0e02fa2bc2c574e89373b6a7df68b029cb9a2c8
 RMD160 (c-toxcore-0.1.11.tar.gz) = 50f6ca25fc60121b5d9098b15af905adfd5c697c
 SHA512 (c-toxcore-0.1.11.tar.gz) = 4cc853c549c9ea9e2b48cf144b2a5f5d43e79c1103911beb0e8a827d24e40520907c2cef3c1eb05a37a7d0223b33dee352a3fc7a48e76a1a4947989b17f44e88
 Size (c-toxcore-0.1.11.tar.gz) = 826820 bytes
+SHA1 (patch-configure.ac) = ca98e454bff6c9ceabdc15bfe216617211e89316
diff --git a/toxcore/patches/patch-configure.ac b/toxcore/patches/patch-configure.ac
new file mode 100644
index 0000000000..10a535d6ea
--- /dev/null
+++ b/toxcore/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