[fink:package-submissions] #4985 gnutls28-3.3.27-2 update for 10.13 compatibility

Jack Howarth via Fink-tracker <[email protected]>
Newsgroups gmane.os.apple.fink.tracker
Message-ID </p/fink/package-submissions/4985/17b5415708a8e739ace67346f2456090a90b1060.package-submissions@fink.p.sourceforge.net>
Patch file for gnutls28-3.3.27-2


Attachments:

- [gnutls28.patch](https://sourceforge.net/p/fink/package-submissions/_discuss/thread/a92ae19a/6999/attachment/gnutls28.patch) (1.5 kB; application/octet-stream)


---

** [package-submissions:#4985] gnutls28-3.3.27-2 update for 10.13 compatibility**

**Status:** open
**Group:** Undergoing_Validation
**Created:** Sat Aug 26, 2017 03:52 PM UTC by Jack Howarth
**Last Updated:** Sat Aug 26, 2017 03:53 PM UTC
**Owner:** Dave Reiser


The attached Info file and patch fixes the build of the gnutls28 for the new format string strictness in High Sierra. The Info file changes are...

~~~
Index: gnutls28.info
===================================================================
RCS file: /cvsroot/fink/dists/10.9-libcxx/stable/main/finkinfo/crypto/gnutls28.info,v
retrieving revision 1.3
diff -u -r1.3 gnutls28.info
--- gnutls28.info	1 Jul 2017 09:58:49 -0000	1.3
+++ gnutls28.info	26 Aug 2017 15:51:00 -0000
@@ -1,8 +1,10 @@
 Package: gnutls28
 Version: 3.3.27
-Revision: 1
+Revision: 2
 Source: ftp://ftp.gnutls.org/gcrypt/gnutls/v3.3/gnutls-%v.tar.xz
 Source-MD5: 8ee8cebd7f7575b11f232766a21c31d3
+PatchFile: %n.patch
+PatchFile-MD5: e3bcda019351726a54a4cb130782fc75
 SourceDirectory: gnutls-%v
 GCC: 4.0
 Depends: %N-shlibs (= %v-%r), libidn-shlibs
@@ -16,6 +18,7 @@
 BuildDependsOnly: True
 PatchScript: <<
   #!/bin/bash -ev
+  %{default_script}
   # stdalign.h patch added to circumvent Xcode 4.3.1 issue
   perl -pi -e "s|STDALIGN_H=''|STDALIGN_H='stdalign.h'|g" ./configure
   #patch around strerror being turned into rpl_strerror
@@ -89,6 +92,11 @@
    lib as 2.12.x -- so all 3 shlibs are installed in a private dir to allow prior shlibs
    with the same libversion to exist according to policy.
 <<
+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
+<<
 License: GPL/LGPL
 Maintainer: Dave Reiser <[email protected]>
 Homepage: http://www.gnutls.org/
~~~

Tested on 10.13 with 'fink -m'


---

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.