[fink:package-submissions] #4984 fix launch build for 10.13 SDK changes

Alexander Hansen via Fink-tracker <[email protected]> Wed, 25 Oct 2017 20:37:23 +0000
Newsgroups gmane.os.apple.fink.tracker
Message-ID </p/fink/package-submissions/4984/fb744c9d7c208c6aa8bb08108757760729d7e26b.package-submissions@fink.p.sourceforge.net>
Added with some additional modifications:
* Apply patch on darwin12, too -- it worked for me using Xcode 8 and Xcode 9.
* DescPort note about the patch.


---

** [package-submissions:#4984] fix launch build for 10.13 SDK changes**

**Status:** open
**Group:** Awaiting_Update_from_Submitter
**Created:** Sat Aug 26, 2017 03:27 PM UTC by Jack Howarth
**Last Updated:** Wed Oct 04, 2017 07:10 PM UTC
**Owner:** Ben Hines


The attached launch-1.1-1005 packaging fixes the build of the launch package to handle the SDK changes in AssertMacros.h with the following info file changes...

~~~
Index: launch.info
===================================================================
RCS file: /cvsroot/fink/dists/10.9-libcxx/stable/main/finkinfo/utils/launch.info,v
retrieving revision 1.1
diff -u -r1.1 launch.info
--- launch.info	10 Sep 2015 20:56:57 -0000	1.1
+++ launch.info	26 Aug 2017 15:25:08 -0000
@@ -1,6 +1,6 @@
 Package: launch
 Version: 1.1
-Revision: 1004
+Revision: 1005
 BuildDepends: xcode.app
 Source: http://web.sabi.net/nriley/software/%n-%v.tar.gz 
 Source-MD5: bcd5179d5b519248a717aa73f3819e00
@@ -10,6 +10,7 @@
 perl -ni -e 'print unless /SDKROOT/' launch.xcodeproj/project.pbxproj 
 perl -pi -e 's/i386/x86_64/' launch.xcodeproj/project.pbxproj
 if [ `uname -r | cut -d . -f 1` -ge 12 ] ; then perl -pi -e 's/.*kCGErrorApplicationRequiresNewerSystem.*//' main.c ; fi
+if [ `uname -r | cut -d . -f 1` -ge 17 ] ; then perl -pi -e 's/check\(url/__Check\(url/g' main.c ; fi
 <<
 CompileScript: <<
 #!/bin/csh -efv
~~~

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