Changeset 97434 for trunk/dports


Ignore:
Timestamp:
Sep 6, 2012, 12:23:02 AM (8 years ago)
Author:
ryandesign@…
Message:

fltk: fix build on Lion and earlier by backporting more parts from upstream (#35986)

Location:
trunk/dports/aqua/fltk
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/aqua/fltk/Portfile

    r97414 r97434  
    4040use_parallel_build  yes
    4141
    42 patchfiles      patch-src-filename_list.cxx.diff
     42patchfiles      patch-FL-mac.H.diff \
     43                patch-src-filename_list.cxx.diff
    4344
    4445post-patch {
  • trunk/dports/aqua/fltk/files/patch-src-filename_list.cxx.diff

    r97414 r97434  
    22--- src/filename_list.cxx.orig  2011-01-05 10:50:10.000000000 -0600
    33+++ src/filename_list.cxx       2012-08-14 04:23:22.000000000 -0500
     4@@ -31,7 +22,9 @@
     5 #include <FL/fl_utf8.h>
     6 #include "flstring.h"
     7 #include <stdlib.h>
     8-
     9+#ifdef __APPLE__
     10+#include <FL/x.H>
     11+#endif
     12 
     13 extern "C" {
     14 #ifndef HAVE_SCANDIR
    415@@ -115,6 +108,12 @@
    516   int n = scandir(dirloc, list, 0, (int(*)(void*, void*))sort);
Note: See TracChangeset for help on using the changeset viewer.