libiconv

Jean-Michel Pouré jm at poure.com
Wed Feb 11 06:31:38 PST 2009


Hello,

I have a applied a patch on libiconv, which works fine, but cannot find
the ticket. Is this still open:

Index: textproc/libiconv/Portfile
===================================================================
--- textproc/libiconv/Portfile	(revision 46735)
+++ textproc/libiconv/Portfile	(working copy)
@@ -5,7 +5,7 @@
 
 name                    libiconv
 version                 1.12
-revision                2
+revision                3
 categories              textproc
 maintainers             ryandesign
 platforms               darwin freebsd linux
@@ -54,6 +54,11 @@
     --disable-nls \
     --enable-extra-encodings
 
+post-patch {
+    # make iconv prototype the same on all platforms
+    reinplace "s|am_cv_proto_iconv_arg1=\"const\"|
am_cv_proto_iconv_arg1=\"\"|" ${worksrcpath}/configure
+}
+
 if {![variant_isset disable_utf8mac] || [variant_isset
enable_cp932fix]} {
     build.cmd ${build.cmd} CC=${configure.cc} -f Makefile.devel &&
${build.cmd}
 }




More information about the macports-dev mailing list