[fink:package-submissions] #5006 wxwidgets300-osxcocoa/-gtk2-3.0.2-6 with Xcode 9 and 10.13 fixes

Alexander Hansen via Fink-tracker <[email protected]>
Newsgroups gmane.os.apple.fink.tracker
Message-ID </p/fink/package-submissions/5006/3a3bb85d2024f24636e08afba4a7d76d8c6edabc.package-submissions@fink.p.sourceforge.net>
Is this patch harmless for older versions of Xcode?  


---

** [package-submissions:#5006] wxwidgets300-osxcocoa/-gtk2-3.0.2-6 with Xcode 9 and 10.13 fixes**

**Status:** open
**Group:** Undergoing_Validation
**Created:** Sun Sep 17, 2017 04:00 AM UTC by Jack Howarth
**Last Updated:** Sun Sep 17, 2017 04:01 AM UTC
**Owner:** Alexander Hansen


The attached info file and patch applies a fix for the "error: call to 'abs' is ambiguous" errors when compiling src/stc/scintilla/src/Editor.cxx with Xcode 9 and the Homebrew approach for handling the deprecation of verify_noerr() in 10.13.

~~~
Index: libs/wxwidgets300.info
===================================================================
RCS file: /cvsroot/fink/dists/10.9-libcxx/stable/main/finkinfo/libs/wxwidgets300.info,v
retrieving revision 1.7
diff -u -r1.7 wxwidgets300.info
--- libs/wxwidgets300.info	9 Oct 2016 13:54:53 -0000	1.7
+++ libs/wxwidgets300.info	17 Sep 2017 03:45:05 -0000
@@ -1,7 +1,7 @@
 Info2: <<
 Package: wxwidgets300%type_pkg[-ui]
 Version: 3.0.2
-Revision: 5
+Revision: 6
 GCC: 4.0
 Type: maj (3.0), min (2.0) , -ui (-osxcocoa -gtk2), lib (3.0.0)
 
@@ -80,10 +80,12 @@
 Source-MD5: ba4cd1f3853d0cd49134c5ae028ad080
 SourceDirectory: wxWidgets-%v
 
-PatchFile: 
+PatchFile: wxwidgets300.patch
+PatchFile-MD5: 9c1b872614858a77d831e8aff247a878
 
 PatchScript: <<
 	#!/bin/sh -ev
+	%{default_script}
 	. %p/sbin/fink-buildenv-helper.sh
 	perl -pi.bak -e 's/-framework QuickTime//; s/-no-cpp-precomp//' configure*
 	if [ $DARWIN_MAJOR_VERSION -ge 14 ] ; then
~~~

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.