Mercurial > mxe-octave
changeset 1249:df3c2fe12ee9
bugfix for ilmbase: remove obsolete compiler options
author | Tony Theodore <tonyt@logyst.com> |
---|---|
date | Sat, 02 Oct 2010 22:25:02 +1000 |
parents | 58b080e6b26a |
children | a817272c9934 |
files | src/ilmbase-2-osx-cxxflags.patch src/openexr.mk |
diffstat | 2 files changed, 20 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/ilmbase-2-osx-cxxflags.patch Sat Oct 02 22:25:02 2010 +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 http://lists.nongnu.org/archive/html/openexr-devel/2010-08/msg00011.html + +Here, we just patch configure to save an autoconf + +diff -ur ilmbase-1.0.2.orig/configure ilmbase-1.0.2/configure +--- ilmbase-1.0.2.orig/configure 2010-07-23 11:13:13.000000000 +1000 ++++ ilmbase-1.0.2/configure 2010-09-27 00:01:17.000000000 +1000 +@@ -20374,7 +20374,6 @@ + + case "$host" in + *darwin*) +- CXXFLAGS="$CXXFLAGS -Wno-long-double" + + # Check whether --enable-osx-arch or --disable-osx-arch was given. + if test "${enable_osx_arch+set}" = set; then
--- a/src/openexr.mk Sat Oct 02 14:03:22 2010 +0200 +++ b/src/openexr.mk Sat Oct 02 22:25:02 2010 +1000 @@ -22,6 +22,8 @@ define $(PKG)_BUILD # unpack and build a native version of ilmbase cd '$(1)' && $(call UNPACK_PKG_ARCHIVE,ilmbase) + $(foreach PKG_PATCH,$(sort $(wildcard $(TOP_DIR)/src/ilmbase-*.patch)), + (cd '$(1)/$(ilmbase_SUBDIR)' && $(PATCH) -p1 -u) < $(PKG_PATCH)) cd '$(1)/$(ilmbase_SUBDIR)' && $(SHELL) ./configure \ --disable-shared \ --prefix='$(1)/ilmbase' \