tags 474787 +patch thanks patch is attatched
diff -ur hugin-0.6.1/debian/rules hugin-0.6.1-plugwash/debian/rules --- hugin-0.6.1/debian/rules 2008-04-09 20:17:53.000000000 +0000 +++ hugin-0.6.1-plugwash/debian/rules 2008-04-09 19:43:49.000000000 +0000 @@ -21,7 +21,7 @@ DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) -CFLAGS = -Wall -g +CFLAGS = -Wall -g -fpermissive ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 @@ -32,7 +32,7 @@ config.status: configure dh_testdir # Configure the package. - ./configure --disable-rpath --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" + ./configure --disable-rpath --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" CPPFLAGS="-fpermissive" LDFLAGS="-Wl,-z,defs" build: build-arch build-indep @@ -43,7 +43,7 @@ build-stamp: config.status # Compile the package. - $(MAKE) + $(MAKE) touch $@ clean: diff -ur hugin-0.6.1/src/foreign/vigra/imageinfo.hxx hugin-0.6.1-plugwash/src/foreign/vigra/imageinfo.hxx --- hugin-0.6.1/src/foreign/vigra/imageinfo.hxx 2006-08-09 20:48:44.000000000 +0000 +++ hugin-0.6.1-plugwash/src/foreign/vigra/imageinfo.hxx 2008-04-09 19:54:45.000000000 +0000 @@ -51,6 +51,7 @@ #define VIGRA_IMAGEINFO_HXX #include <memory> +#include <cstring> #include <string> #include "vigra/utilities.hxx" #include "vigra/codec.hxx" diff -ur hugin-0.6.1/src/include/common/utils.h hugin-0.6.1-plugwash/src/include/common/utils.h --- hugin-0.6.1/src/include/common/utils.h 2008-04-09 20:17:53.000000000 +0000 +++ hugin-0.6.1-plugwash/src/include/common/utils.h 2008-04-09 19:48:48.000000000 +0000 @@ -26,13 +26,16 @@ #include <cstdlib> #include <string> +#include <string.h> #include <vector> #include <iostream> #include <sstream> #include <cassert> + #include "platform.h" + #ifdef __WXMSW__ // has to be included before! #include <wx/log.h> diff -ur hugin-0.6.1/src/tools/color_correct_tiff.cpp hugin-0.6.1-plugwash/src/tools/color_correct_tiff.cpp --- hugin-0.6.1/src/tools/color_correct_tiff.cpp 2008-04-09 20:17:53.000000000 +0000 +++ hugin-0.6.1-plugwash/src/tools/color_correct_tiff.cpp 2008-04-09 20:01:03.000000000 +0000 @@ -24,6 +24,7 @@ #include <cctype> #include <cmath> #include <tiffio.h> +#include "string.h" /** * Makes a string from an int.