# HG changeset patch # User Tony Theodore # Date 1306240421 -36000 # Node ID 424cdacf741dcdaee65fd71bfd0fc37950ac89c7 # Parent 2823ea0b25b57d074c26004233d0147f2c603533 package fltk: portability patch for osx autoconf already called in makefile diff -r 2823ea0b25b5 -r 424cdacf741d src/fltk-1-darwin-cross-compile.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/fltk-1-darwin-cross-compile.patch Tue May 24 22:33:41 2011 +1000 @@ -0,0 +1,18 @@ +This file is part of mingw-cross-env. +See doc/index.html for further information. + +This patch has been taken from: + + +diff -ur fltk-1.3.x-r8659.orig/configure.in fltk-1.3.x-r8659/configure.in +--- fltk-1.3.x-r8659.orig/configure.in 2011-03-07 03:54:58.000000000 +1100 ++++ fltk-1.3.x-r8659/configure.in 2011-05-24 22:11:40.000000000 +1000 +@@ -34,7 +34,7 @@ + AC_INIT(src/Fl.cxx) + + dnl So --with-archflags option is used during "checking size of long" +-if test `uname` = Darwin; then ++if test `uname` = Darwin && test "x$cross_compiling" = xno ; then + if test "x$with_archflags" != x ; then + CFLAGS="$CFLAGS $with_archflags" + fi