Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Feb 2019 14:26:58 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r492238 - in head/net/libmaxminddb: . files
Message-ID:  <201902051426.x15EQwfR028624@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <tremere@cainites.net>

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 <bsd.port.mk>

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 :



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902051426.x15EQwfR028624>