From owner-svn-ports-head@freebsd.org Tue Feb 5 14:27:03 2019 Return-Path: Delivered-To: svn-ports-head@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 6203714BAB87; Tue, 5 Feb 2019 14:27:03 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EEA887506F; Tue, 5 Feb 2019 14:27:02 +0000 (UTC) (envelope-from sunpoet@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 64DD01F234; Tue, 5 Feb 2019 14:26:58 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x15EQwIl028626; Tue, 5 Feb 2019 14:26:58 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x15EQwfR028624; Tue, 5 Feb 2019 14:26:58 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201902051426.x15EQwfR028624@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Tue, 5 Feb 2019 14:26:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r492238 - in head/net/libmaxminddb: . files X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/net/libmaxminddb: . files X-SVN-Commit-Revision: 492238 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: EEA887506F X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.96)[-0.955,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-0.999,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Feb 2019 14:27:03 -0000 Author: sunpoet Date: Tue Feb 5 14:26:57 2019 New Revision: 492238 URL: https://svnweb.freebsd.org/changeset/ports/492238 Log: Fix __int128 detection on i386 PR: 235482 Reported by: Ralf van der Enden Added: head/net/libmaxminddb/files/ head/net/libmaxminddb/files/patch-configure (contents, props changed) Modified: head/net/libmaxminddb/Makefile Modified: head/net/libmaxminddb/Makefile ============================================================================== --- head/net/libmaxminddb/Makefile Tue Feb 5 14:26:52 2019 (r492237) +++ head/net/libmaxminddb/Makefile Tue Feb 5 14:26:57 2019 (r492238) @@ -2,6 +2,7 @@ PORTNAME= libmaxminddb PORTVERSION= 1.3.2 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= https://github.com/maxmind/libmaxminddb/releases/download/${PORTVERSION}/ @@ -11,10 +12,11 @@ COMMENT= Library for the MaxMind DB file format used f LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE +USES= gmake libtool + GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig INSTALL_TARGET= install-strip USE_LDCONFIG= yes -USES= gmake libtool .include Added: head/net/libmaxminddb/files/patch-configure ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/libmaxminddb/files/patch-configure Tue Feb 5 14:26:57 2019 (r492238) @@ -0,0 +1,26 @@ +--- configure.orig 2018-01-17 21:36:20 UTC ++++ configure +@@ -12615,23 +12615,11 @@ if test "x$ac_cv_type_unsigned___int128" + $as_echo "#define MMDB_UINT128_IS_BYTE_ARRAY 0" >>confdefs.h + + else +- as_ac_Type=`$as_echo "ac_cv_type_unsigned int __attribute__((mode(TI)))" | $as_tr_sh` +-ac_fn_c_check_type "$LINENO" "unsigned int __attribute__((mode(TI)))" "$as_ac_Type" "$ac_includes_default" +-if eval test \"x\$"$as_ac_Type"\" = x"yes"; then : +- +-$as_echo "#define MMDB_UINT128_IS_BYTE_ARRAY 0" >>confdefs.h +- +- +-$as_echo "#define MMDB_UINT128_USING_MODE 1" >>confdefs.h +- +-else + + $as_echo "#define MMDB_UINT128_IS_BYTE_ARRAY 1" >>confdefs.h + + fi + +-fi +- + + ac_fn_c_check_type "$LINENO" "boolean" "ac_cv_type_boolean" "$ac_includes_default" + if test "x$ac_cv_type_boolean" = xyes; then :