[fink:package-submissions] #5012 fix fltk13-aqua_1.3.3-3 on Xcode 9
Alexander Hansen via Fink-tracker <[email protected]> Tue, 10 Oct 2017 16:47:28 +0000
| Newsgroups | gmane.os.apple.fink.tracker |
|---|---|
| Message-ID | </p/fink/package-submissions/5012/091696d9d1d4384042443eed37ecfb90820de72c.package-submissions@fink.p.sourceforge.net> |
- **status**: open --> closed-accepted
- **Group**: Undergoing_Validation --> Added_to_Fink
---
** [package-submissions:#5012] fix fltk13-aqua_1.3.3-3 on Xcode 9**
**Status:** closed-accepted
**Group:** Added_to_Fink
**Created:** Sat Sep 23, 2017 01:10 AM UTC by Jack Howarth
**Last Updated:** Sat Sep 23, 2017 07:16 PM UTC
**Owner:** Alexander Hansen
Currently the build of fltk13-aqua_1.3.3-3 on Xcode 9 fails with the compiler error...
~~~
Fl_Tree_Item.cxx:552:38: error: ordered comparison between pointer and zero ('Fl_Tree_Item *' and 'int')
if ( from_parent->deparent(from) < 0 ) // deparent self from current parent
~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
1 error generated.
~~~
This can be worked around with the following Info file change modelled on the upstream inkscape patches reecently added to fink.
~~~
Index: fltk13-aqua.info
===================================================================
RCS file: /cvsroot/fink/dists/10.9-libcxx/stable/main/finkinfo/libs/fltk13-aqua.info,v
retrieving revision 1.2
diff -u -r1.2 fltk13-aqua.info
--- fltk13-aqua.info 18 Sep 2015 23:29:19 -0000 1.2
+++ fltk13-aqua.info 23 Sep 2017 01:10:03 -0000
@@ -83,6 +83,7 @@
perl -pi -e 's/ 755 / 644 / if /\/lib.*\.{a,dylib}/' src/Makefile
perl -ni -e 'print unless /mandir\)\/cat/' documentation/Makefile
perl -pi -e 's|share/doc/fltk|share/doc/%n/html|g' configure
+ perl -pi -e 's|from_parent\-\>deparent\(from\) \< 0|\!\(from_parent\-\>deparent\(from\)\)|g' src/Fl_Tree_Item.cxx
<<
#
GCC: 4.0
~~~
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