From owner-svn-ports-head@freebsd.org Mon Sep 25 20:55:29 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 42219E241BF; Mon, 25 Sep 2017 20:55:29 +0000 (UTC) (envelope-from tijl@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 mx1.freebsd.org (Postfix) with ESMTPS id 12F6C69342; Mon, 25 Sep 2017 20:55:29 +0000 (UTC) (envelope-from tijl@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v8PKtSbn051556; Mon, 25 Sep 2017 20:55:28 GMT (envelope-from tijl@FreeBSD.org) Received: (from tijl@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v8PKtSqN051553; Mon, 25 Sep 2017 20:55:28 GMT (envelope-from tijl@FreeBSD.org) Message-Id: <201709252055.v8PKtSqN051553@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tijl set sender to tijl@FreeBSD.org using -f From: Tijl Coosemans Date: Mon, 25 Sep 2017 20:55:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r450634 - in head: Mk/Uses converters/libiconv converters/libiconv/files X-SVN-Group: ports-head X-SVN-Commit-Author: tijl X-SVN-Commit-Paths: in head: Mk/Uses converters/libiconv converters/libiconv/files X-SVN-Commit-Revision: 450634 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 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: Mon, 25 Sep 2017 20:55:29 -0000 Author: tijl Date: Mon Sep 25 20:55:27 2017 New Revision: 450634 URL: https://svnweb.freebsd.org/changeset/ports/450634 Log: Define ICONV_GET_ILSEQ_INVALID and ICONV_SET_ILSEQ_INVALID when mimicking base system iconv.h. Modified: head/Mk/Uses/iconv.mk head/converters/libiconv/Makefile head/converters/libiconv/files/patch-include-iconv.h.in Modified: head/Mk/Uses/iconv.mk ============================================================================== --- head/Mk/Uses/iconv.mk Mon Sep 25 20:52:05 2017 (r450633) +++ head/Mk/Uses/iconv.mk Mon Sep 25 20:55:27 2017 (r450634) @@ -43,7 +43,7 @@ ICONV_LIB_PATH= /usr/lib/libc.so .if exists(${LOCALBASE}/include/iconv.h) # Check that libiconv iconv.h is recent enough for LIBICONV_PLUG to work. -BUILD_DEPENDS+= libiconv>=1.14_9:converters/libiconv +BUILD_DEPENDS+= libiconv>=1.14_11:converters/libiconv .endif # LIBICONV_PLUG makes libiconv iconv.h act like libc iconv.h. Modified: head/converters/libiconv/Makefile ============================================================================== --- head/converters/libiconv/Makefile Mon Sep 25 20:52:05 2017 (r450633) +++ head/converters/libiconv/Makefile Mon Sep 25 20:55:27 2017 (r450634) @@ -3,7 +3,7 @@ PORTNAME= libiconv PORTVERSION= 1.14 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= converters devel MASTER_SITES= GNU Modified: head/converters/libiconv/files/patch-include-iconv.h.in ============================================================================== --- head/converters/libiconv/files/patch-include-iconv.h.in Mon Sep 25 20:52:05 2017 (r450633) +++ head/converters/libiconv/files/patch-include-iconv.h.in Mon Sep 25 20:55:27 2017 (r450634) @@ -36,8 +36,14 @@ extern int iconvctl (iconv_t cd, int request, void* argument); /* Hook performed after every successful conversion of a Unicode character. */ -@@ -212,7 +217,9 @@ struct iconv_fallbacks { +@@ -210,9 +215,15 @@ struct iconv_fallbacks { + #define ICONV_SET_DISCARD_ILSEQ 4 /* const int *argument */ + #define ICONV_SET_HOOKS 5 /* const struct iconv_hooks *argument */ #define ICONV_SET_FALLBACKS 6 /* const struct iconv_fallbacks *argument */ ++#ifdef LIBICONV_PLUG ++#define ICONV_GET_ILSEQ_INVALID 128 ++#define ICONV_SET_ILSEQ_INVALID 129 ++#endif /* Listing of locale independent encodings. */ +#ifndef LIBICONV_PLUG @@ -46,7 +52,7 @@ extern void iconvlist (int (*do_one) (unsigned int namescount, const char * const * names, void* data), -@@ -224,6 +231,7 @@ extern const char * iconv_canonicalize ( +@@ -224,6 +235,7 @@ extern const char * iconv_canonicalize (const char * n /* Support for relocatable packages. */ @@ -54,7 +60,7 @@ /* Sets the original and the current installation prefix of the package. Relocation simply replaces a pathname starting with the original prefix by the corresponding pathname with the current prefix instead. Both -@@ -231,12 +239,12 @@ extern const char * iconv_canonicalize ( +@@ -231,12 +243,12 @@ extern const char * iconv_canonicalize (const char * n instead of "/"). */ extern void libiconv_set_relocation_prefix (const char *orig_prefix, const char *curr_prefix);