Mercurial > mxe-octave
changeset 1112:7b84a94a9df1
update package freeimage
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Fri, 03 Sep 2010 18:48:54 +0200 |
parents | 5eae2814d63b |
children | f1d6dd27aece |
files | src/freeimage-1-no-shared.patch src/freeimage.mk |
diffstat | 2 files changed, 19 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/freeimage-1-no-shared.patch Fri Sep 03 16:51:59 2010 +0200 +++ b/src/freeimage-1-no-shared.patch Fri Sep 03 18:48:54 2010 +0200 @@ -2,8 +2,8 @@ See doc/index.html for further information. diff -urN a/Makefile.gnu b/Makefile.gnu ---- a/Makefile.gnu 2009-07-28 06:35:26.000000000 +0200 -+++ b/Makefile.gnu 2010-02-16 11:50:50.509897756 +0100 +--- a/Makefile.gnu 2010-04-29 11:16:50.000000000 +0200 ++++ b/Makefile.gnu 2010-09-03 18:38:07.330351960 +0200 @@ -9,7 +9,7 @@ INSTALLDIR ?= $(DESTDIR)/usr/lib @@ -28,16 +28,29 @@ .c.o: $(CC) $(CFLAGS) -c $< -o $@ -@@ -62,9 +61,8 @@ +@@ -62,12 +61,8 @@ install: install -d $(INCDIR) $(INSTALLDIR) - install -m 644 -o root -g root $(HEADER) $(INCDIR) - install -m 644 -o root -g root $(STATICLIB) $(INSTALLDIR) - install -m 755 -o root -g root $(SHAREDLIB) $(INSTALLDIR) +- ln -sf $(SHAREDLIB) $(INSTALLDIR)/$(VERLIBNAME) +- ln -sf $(VERLIBNAME) $(INSTALLDIR)/$(LIBNAME) +- ldconfig + install -m 644 $(HEADER) $(INCDIR) + install -m 644 $(STATICLIB) $(INSTALLDIR) clean: rm -f core Dist/*.* u2dtmp* $(MODULES) $(STATICLIB) $(SHAREDLIB) $(LIBNAME) -# Linux makefile for FreeImage +diff -urN a/Source/OpenEXR/Imath/ImathMatrix.h b/Source/OpenEXR/Imath/ImathMatrix.h +--- a/Source/OpenEXR/Imath/ImathMatrix.h 2010-07-17 12:48:40.000000000 +0200 ++++ b/Source/OpenEXR/Imath/ImathMatrix.h 2010-09-03 18:38:37.138598422 +0200 +@@ -49,6 +49,7 @@ + #include "ImathVec.h" + #include "ImathShear.h" + ++#include <string.h> + #include <iostream> + #include <iomanip> +
--- a/src/freeimage.mk Fri Sep 03 16:51:59 2010 +0200 +++ b/src/freeimage.mk Fri Sep 03 18:48:54 2010 +0200 @@ -4,8 +4,8 @@ # FreeImage PKG := freeimage $(PKG)_IGNORE := -$(PKG)_VERSION := 3.13.1 -$(PKG)_CHECKSUM := 52ba4453aa9682c57104c3420e58f843aaa6ab61 +$(PKG)_VERSION := 3.14.1 +$(PKG)_CHECKSUM := cc09671e16460c27242280c2b6100f39974c89e1 $(PKG)_SUBDIR := FreeImage $(PKG)_FILE := FreeImage$(subst .,,$($(PKG)_VERSION)).zip $(PKG)_WEBSITE := http://freeimage.sourceforge.net/