From owner-svn-ports-all@freebsd.org Sat Dec 8 22:13:31 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4C387132AD87; Sat, 8 Dec 2018 22:13:31 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E77B46B297; Sat, 8 Dec 2018 22:13:30 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C8E8829F; Sat, 8 Dec 2018 22:13:30 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wB8MDU1N000677; Sat, 8 Dec 2018 22:13:30 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wB8MDUnW000676; Sat, 8 Dec 2018 22:13:30 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <201812082213.wB8MDUnW000676@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Sat, 8 Dec 2018 22:13:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r486989 - head/lang/swi-pl/files X-SVN-Group: ports-head X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: head/lang/swi-pl/files X-SVN-Commit-Revision: 486989 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: E77B46B297 X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; NEURAL_HAM_SHORT(-0.98)[-0.975,0]; NEURAL_HAM_LONG(-0.99)[-0.990,0] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Dec 2018 22:13:31 -0000 Author: linimon Date: Sat Dec 8 22:13:30 2018 New Revision: 486989 URL: https://svnweb.freebsd.org/changeset/ports/486989 Log: gnu qsort check goes into an infinite loop on aarch64. Disable it. PR: 233033 Submitted by: Greg V Approved by: portmgr (tier-2 blanket) Added: head/lang/swi-pl/files/ head/lang/swi-pl/files/extra-patch-skip-gnu-qsort (contents, props changed) Added: head/lang/swi-pl/files/extra-patch-skip-gnu-qsort ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/swi-pl/files/extra-patch-skip-gnu-qsort Sat Dec 8 22:13:30 2018 (r486989) @@ -0,0 +1,55 @@ +--- src/configure.orig 2018-11-06 17:02:55 UTC ++++ src/configure +@@ -8796,52 +8796,6 @@ if test "x$ac_cv_func_qsort_r" = xyes; then + $as_echo "$as_me: checking \"GNU style qsort_r()\"..." >&6;} + qsort_r_gnu=no + +- if test "$cross_compiling" = yes; then : +- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-as_fn_error $? "cannot run test program while cross compiling +-See \`config.log' for more details" "$LINENO" 5; } +-else +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +-#define _GNU_SOURCE +-#include +- +-static int +-mycompare(const void *p1, const void *p2, void *c) +-{ const int *s1 = p1; +- const int *s2 = p2; +- int *ip = c; +- +- if ( *ip != 1 ) +- exit(1); +- +- return *s1 - *s2; +-} +- +-int +-main(int argc, char**argv) +-{ int data[] = {0,1,2,3,4,5,6,7,8,9}; +- int ctx = 1; +- +- qsort_r(data, 10, sizeof(int), mycompare, (void*)&ctx); +- return 0; +-} +- +-_ACEOF +-if ac_fn_c_try_run "$LINENO"; then : +- +-$as_echo "#define QSORT_R_GNU 1" >>confdefs.h +- +-qsort_r_gnu=yes +-else +- true +-fi +-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ +- conftest.$ac_objext conftest.beam conftest.$ac_ext +-fi +- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $qsort_r_gnu" >&5 + $as_echo "$qsort_r_gnu" >&6; } + fi