The issue with MacOSX is that if compilation breaks again, no-one will notice. Would you like to submit a merge request that in addition to that change improves the build CI to include a MacOSX build to the existing set? In gnutls we do it through travis [0] (and a github mirror), but any solution is welcome.
regards, Nikos [0]. https://gitlab.com/gnutls/gnutls/blob/master/.travis.yml On Tue, Apr 4, 2017 at 7:22 PM, Tim Ruehsen <rockdab...@gmail.com> wrote: > ---------- Weitergeleitete Nachricht ---------- > Von: "Pär Boberg" <bob...@wigilius.se> > Datum: 31.03.2017 10:44 nachm. > Betreff: libidn 0.16 on OS X 10.6.8 > An: <rockdab...@gmail.com> > Cc: > > Hi! > > I have successfully built/test passed libidn2 0.16 with libunistring 0.9.7 > on Mac OS X 10.6.8, also with bootstrap (added gnulib module "error"). > Successfully built and tested with both Apple GCC 4.2.1 (Xcode 3.2.6) and my > own compiled GCC 4.9.4. > That version of Mac OS doesn't support getline, but managed to take a code > snip from here (only what's marked in green): > > https://trac.macports.org/browser/trunk/dports/gnome/gnome-session/files/patch-gnome-session-check-accelerated-helper.c.diff?rev=114312 > > changed this line to: #if __MAC_OS_X_VERSION_MIN_REQUIRED <= 1068 (1060 > didn't work) > and added these: > > #include <stdio.h> > #include <stdlib.h> > #include <string.h> > > into a .h file and include this file in gentr46map.c, idn2.c and > test-lookup.c. > > What I'm wondering is, if you would be interested in incorporating this in > the main code? > So others also can use/compile newer libidn2 on macOS older than 10.7. > Don't know what usage policy macports has for it's code though... > -- > Med vänliga hälsningar - With kind regards > Pär Boberg > http://wigilius.se _______________________________________________ Help-libidn mailing list Help-libidn@gnu.org https://lists.gnu.org/mailman/listinfo/help-libidn