[fink:package-submissions] #5004 libiconv-1.15-1 update and 10.13 strict string fix

Jack Howarth via Fink-tracker <[email protected]>
Newsgroups gmane.os.apple.fink.tracker
Message-ID </p/fink/package-submissions/5004/38b5c984ba5044c29dbfa7e32a3df9cd33fb7d73.package-submissions@fink.p.sourceforge.net>
New patch with 10.13 strict string fix


Attachments:

- [libiconv-gettext.patch](https://sourceforge.net/p/fink/package-submissions/_discuss/thread/30f0cb0a/081e/attachment/libiconv-gettext.patch) (3.4 kB; application/octet-stream)


---

** [package-submissions:#5004] libiconv-1.15-1 update and 10.13 strict string fix**

**Status:** open
**Group:** Undergoing_Validation
**Created:** Thu Sep 14, 2017 11:04 AM UTC by Jack Howarth
**Last Updated:** Thu Sep 14, 2017 11:05 AM UTC
**Owner:** nobody


The attached info file and revised patch updates the libiconv package to the current 1.15 release with the info file chsnges...

~~~
 --- libiconv.info	2017-09-08 21:58:10.000000000 -0400
+++ /sw/fink/10.13/local/main/finkinfo/libiconv.info	2017-09-14 06:56:34.000000000 -0400
@@ -1,24 +1,26 @@
 Package: libiconv
-Version: 1.14
-Revision: 8
+Version: 1.15
+Revision: 1
 Description: Character set conversion library
 License: LGPL
 Maintainer: Fink Core Group <[email protected]>
 Depends: base-files
-BuildDepends: fink (>= 0.24.12)
+BuildDepends: fink (>= 0.30.0)
 Essential: yes
 #Source: mirror:sourceforge:fink/%n-%v.tar.gz
 Source: mirror:gnu:libiconv/libiconv-%v.tar.gz
-Source-MD5: e34509b1623cec449dfeb73d7ce9c6c6
+Source-MD5: ace8b5f2db42f7b3b3057585e80d9808
 Source2: mirror:gnu:gettext/gettext-0.19.8.1.tar.gz
 #Source2: mirror:sourceforge:fink/gettext-0.19.8.1.tar.gz
 Source2-MD5: 97e034cf8ce5ba73a28ff6c3c0638092
 Source3: mirror:gnu:gperf/gperf-3.0.4.tar.gz
 Source3-MD5: c1f1db32fb6598d6a93e6e88796a8632
 PatchFile: %n.patch
-PatchFile-MD5: 93f202f6f6e27a9707ad8a21fc15aef4
+PatchFile-MD5: df5031bae867ed716e5e3637ebe0ca62
+PatchFile2: %n-gettext.patch
+PatchFile2-MD5: e1def8d245425bc51f604ce05dbe9542 
 PatchScript: <<
-	cd %b/..; patch -p0 < %{PatchFile}
+	cd %b/..; patch -p0 < %{PatchFile}; patch -p0 < %{PatchFile2}
 <<
 NoSetLDFLAGS: true
 NoSetCPPFLAGS: true
@@ -82,7 +84,7 @@
 DocFiles: README* AUTHORS COPYING.LIB DESIGN NEWS NOTES THANKS
 Shlibs: <<
 	%p/lib/libcharset.1.dylib 2.0.0 %n (>= 1.7-7)
-	%p/lib/libiconv.2.dylib 8.0.0 %n (>= 1.14-1)
+	%p/lib/libiconv.2.dylib 9.0.0 %n (>= 1.15-1)
 <<
 #
 PostInstScript: <<
@@ -150,5 +152,9 @@
 * On 10.7+, modernize compiler wrapper
 * Don't build genaliases headers for systems that we will not even use.
   Build is -jN safe afterwards.
+
+ With format string strictness, High Sierra also enforces that
+ %n isn't used in dynamic format strings, but we should just
+ disable its use on darwin in general.
 <<
 Homepage: http://www.gnu.org/software/libiconv/
~~~

The revised patch changes the entries of '0x1.15' in libiconv-1.15/lib/utf8mac.h to '0x1.15p0f' in order to suppress the compile errors...

~~~
In file included from ./iconv.c:71:
In file included from ./converters.h:125:
./utf8mac.h:161:8: error: hexadecimal floating constant requires an exponent
        0x1.15, 0xA344,   0x1E15, 0xA346,   0x1E16, 0xA348,   0x1E17, 0xA34A,
              ^
~~~

Tested on 10.13 with 'fink -m'. Supercedes https://sourceforge.net/p/fink/package-submissions/5000/.


---

Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/fink/package-submissions/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/fink/admin/package-submissions/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Fink-tracker mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.tracker
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.