ports/186846: [patch] converters/libiconv: compilation with -Oz broken
Tijl Coosemans
tijl at FreeBSD.org
Mon Mar 3 21:50:02 UTC 2014
The following reply was made to PR ports/186846; it has been noted by GNATS.
From: Tijl Coosemans <tijl at FreeBSD.org>
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: ports/186846: [patch] converters/libiconv: compilation with -Oz
broken
Date: Mon, 3 Mar 2014 22:41:24 +0100
--MP_/aIFnkSmogHwB=c2v52SaRKn
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Patch rebased against r346968.
--MP_/aIFnkSmogHwB=c2v52SaRKn
Content-Type: text/x-patch
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=libiconv.patch
Index: converters/libiconv/Makefile
===================================================================
--- converters/libiconv/Makefile (revision 346969)
+++ converters/libiconv/Makefile (working copy)
@@ -3,24 +3,24 @@
PORTNAME= libiconv
PORTVERSION= 1.14
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= converters devel
MASTER_SITES= GNU
MAINTAINER= gnome at FreeBSD.org
-COMMENT= A character set conversion library
+COMMENT= Character set conversion library
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-static \
--without-libintl-prefix \
--docdir=${DOCSDIR}
-CONFIGURE_ENV= gl_cv_cc_visibility="no" \
- am_cv_func_iconv="yes" \
+CONFIGURE_ENV= am_cv_func_iconv="yes" \
am_cv_proto_iconv_arg1="const"
MAKE_JOBS_UNSAFE= yes
+USE_CSTD= gnu89
USE_LDCONFIG= yes
-OPTIONS_DEFINE= ENCODINGS PATCHES
+OPTIONS_DEFINE= DOCS ENCODINGS PATCHES
OPTIONS_DEFAULT=ENCODINGS
ENCODINGS_DESC= Include extra character sets
PATCHES_DESC= Apply patches to fix CP932, add EUCJP-MS
Index: converters/libiconv/files/patch-lib-iconv.c
===================================================================
--- converters/libiconv/files/patch-lib-iconv.c (revision 0)
+++ converters/libiconv/files/patch-lib-iconv.c (working copy)
@@ -0,0 +1,11 @@
+--- lib/iconv.c.orig
++++ lib/iconv.c
+@@ -598,7 +598,7 @@
+ It wants to define the symbols 'iconv_open', 'iconv', 'iconv_close'. */
+ #define strong_alias(name, aliasname) _strong_alias(name, aliasname)
+ #define _strong_alias(name, aliasname) \
+- extern __typeof (name) aliasname __attribute__ ((alias (#name)));
++ extern LIBICONV_DLL_EXPORTED __typeof (name) aliasname __attribute__ ((alias (#name)));
+ #undef iconv_open
+ #undef iconv
+ #undef iconv_close
Property changes on: converters/libiconv/files/patch-lib-iconv.c
___________________________________________________________________
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
--MP_/aIFnkSmogHwB=c2v52SaRKn--
More information about the freebsd-gnome
mailing list