[fink:package-submissions] #4956 fix libunistring2 for High Sierra's new snprintf strictness

Hanspeter Niederstrasser via Fink-tracker <[email protected]>
Newsgroups gmane.os.apple.fink.tracker
Message-ID </p/fink/package-submissions/4956/843cc94827103d8d50098a3f42181fe0b28bce1a.package-submissions@fink.p.sourceforge.net>
- **labels**:  --> text, Updated Revision of Existing
- **status**: open --> closed-accepted
- **Group**: Awaiting_Packaging --> Added_to_Fink



---

** [package-submissions:#4956] fix libunistring2 for High Sierra's new snprintf strictness**

**Status:** closed-accepted
**Group:** Added_to_Fink
**Labels:** text Updated Revision of Existing 
**Created:** Sat Aug 12, 2017 01:44 PM UTC by Jack Howarth
**Last Updated:** Sat Aug 12, 2017 05:22 PM UTC
**Owner:** David Fang


The following Info file changes and revised patch fixes the breakage on High Sierra by the new format string strictness...

~~~
--- /sw/fink/10.13/stable/main/finkinfo/text/libunistring2.info	2017-02-12 11:45:55.000000000 -0500
+++ libunistring2.info	2017-08-12 09:35:30.000000000 -0400
@@ -1,11 +1,11 @@
 Package: libunistring2
 Version: 0.9.7
-Revision: 1
+Revision: 2
 Maintainer: David Fang <[email protected]>
 Source: mirror:gnu:libunistring/libunistring-%v.tar.gz
 Source-MD5: 8e663454aa372181ee8e46edaa3ba4c8
 PatchFile: %n.patch
-PatchFile-MD5: 851949deae5ffe281d858b3846b31465
+PatchFile-MD5: f53d5a1958482996cc15e7d82ca8d81b
 License: LGPL
 Homepage: http://www.gnu.org/software/libunistring/
 Description: Unicode string library
@@ -16,6 +16,11 @@
 for string processing (formatted output, width, word breaks, line breaks, 
 normalization, case folding, regular expressions).
 <<
+DescPackaging: <<
+ 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.
+<<
 BuildDepends: libiconv-dev
 Depends: %N-shlibs (= %v-%r)
 BuildDependsOnly: true
~~~

Tested on 10.13 with 'fink -m'. Note without the change, on 10.13, libunistring2 has 28 testsuite failures.


---

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.