svn commit: r348854 - in head/converters/libiconv: . files
Tijl Coosemans
tijl at FreeBSD.org
Sun Mar 23 13:26:21 UTC 2014
Author: tijl
Date: Sun Mar 23 13:26:20 2014
New Revision: 348854
URL: http://svnweb.freebsd.org/changeset/ports/348854
QAT: https://qat.redports.org/buildarchive/r348854/
Log:
- Remove indefinite article from COMMENT.
- Enable -fvisibility=hidden.
- Add USE_CSTD=gnu89 to fix compilation with -O0 and -Oz.
- Add DOCS option.
PR: ports/186846
Approved by: kwm, marcus
Added:
head/converters/libiconv/files/patch-lib-iconv.c (contents, props changed)
Modified:
head/converters/libiconv/Makefile
Modified: head/converters/libiconv/Makefile
==============================================================================
--- head/converters/libiconv/Makefile Sun Mar 23 12:54:01 2014 (r348853)
+++ head/converters/libiconv/Makefile Sun Mar 23 13:26:20 2014 (r348854)
@@ -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
Added: head/converters/libiconv/files/patch-lib-iconv.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/converters/libiconv/files/patch-lib-iconv.c Sun Mar 23 13:26:20 2014 (r348854)
@@ -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
More information about the svn-ports-all
mailing list