1 diff -Naur FreeImage.orig//Makefile.fip FreeImage.new//Makefile.fip
2 --- FreeImage.orig//Makefile.fip 2010-08-10 19:15:20.000000000 +0200
3 +++ FreeImage.new//Makefile.fip 2010-09-12 23:29:36.000000000 +0200
6 MODULES = $(SRCS:.c=.o)
7 MODULES := $(MODULES:.cpp=.o)
8 -CFLAGS ?= -O3 -fPIC -fexceptions -fvisibility=hidden -DNO_LCMS
9 +CFLAGS += -O3 -fPIC -fexceptions -fvisibility=hidden -DNO_LCMS
11 -CXXFLAGS ?= -O3 -fPIC -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy
12 +CXXFLAGS += -O3 -fPIC -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy
13 CXXFLAGS += $(INCLUDE)
15 ifeq ($(shell sh -c 'uname -m 2>/dev/null || echo not'),x86_64)
16 diff -Naur FreeImage.orig//Makefile.gnu FreeImage.new//Makefile.gnu
17 --- FreeImage.orig//Makefile.gnu 2010-08-10 19:15:20.000000000 +0200
18 +++ FreeImage.new//Makefile.gnu 2010-09-12 23:01:57.000000000 +0200
21 MODULES = $(SRCS:.c=.o)
22 MODULES := $(MODULES:.cpp=.o)
23 -CFLAGS ?= -O3 -fPIC -fexceptions -fvisibility=hidden -DNO_LCMS
24 +CFLAGS += -O3 -fPIC -fexceptions -fvisibility=hidden -DNO_LCMS
26 -CXXFLAGS ?= -O3 -fPIC -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy
27 +CXXFLAGS += -O3 -fPIC -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy
28 CXXFLAGS += $(INCLUDE)
30 ifeq ($(shell sh -c 'uname -m 2>/dev/null || echo not'),x86_64)
32 install -m 644 -o root -g root $(HEADER) $(INCDIR)
33 install -m 644 -o root -g root $(STATICLIB) $(INSTALLDIR)
34 install -m 755 -o root -g root $(SHAREDLIB) $(INSTALLDIR)
35 - ln -sf $(SHAREDLIB) $(INSTALLDIR)/$(VERLIBNAME)
36 - ln -sf $(VERLIBNAME) $(INSTALLDIR)/$(LIBNAME)
40 rm -f core Dist/*.* u2dtmp* $(MODULES) $(STATICLIB) $(SHAREDLIB) $(LIBNAME)
41 diff -Naur FreeImage.orig//Source/FreeImageToolkit/Background.cpp FreeImage.new//Source/FreeImageToolkit/Background.cpp
42 --- FreeImage.orig//Source/FreeImageToolkit/Background.cpp 2010-08-10 19:15:20.000000000 +0200
43 +++ FreeImage.new//Source/FreeImageToolkit/Background.cpp 2010-08-10 19:16:12.000000000 +0200
46 #include "FreeImage.h"
47 #include "Utilities.h"
50 /** @brief Determines, whether a palletized image is visually greyscale or not.
52 diff -Naur FreeImage.orig//Source/OpenEXR/Imath/ImathMatrix.h FreeImage.new//Source/OpenEXR/Imath/ImathMatrix.h
53 --- FreeImage.orig//Source/OpenEXR/Imath/ImathMatrix.h 2010-08-10 19:15:20.000000000 +0200
54 +++ FreeImage.new//Source/OpenEXR/Imath/ImathMatrix.h 2010-08-10 21:43:26.000000000 +0200
61 #if (defined _WIN32 || defined _WIN64) && defined _MSC_VER
62 // suppress exception specification warnings