tags 603986 patch thanks Hi,
On Sat, 1 Jan 2011 12:00:28 +0100 Gabriele Giacone <1o5g4...@gmail.com> wrote: > I confirm it starts properly on ppc with -fno-strict-aliasing. > Attached patch. me too, and I tried to apply the change for powerpc only. Here's a proposed patch. diff -u qgis-1.4.0+12730/debian/control qgis-1.4.0+12730/debian/control --- qgis-1.4.0+12730/debian/control +++ qgis-1.4.0+12730/debian/control @@ -73,7 +73,7 @@ Package: qgis-plugin-grass Architecture: any -Depends: qgis (= ${binary:Version}), qgis-plugin-grass-common (= ${source:Version}), ${shlibs:Depends}, ${misc:Depends}, libgdal1-1.6.0-grass, grass640-6 +Depends: qgis (= ${binary:Version}), qgis-plugin-grass-common (= ${source:Version}), ${shlibs:Depends}, ${misc:Depends}, libgdal1-1.6.0-grass, grass Description: GRASS plugin for Quantum GIS Quantum GIS is a Geographic Information System (GIS) which manages, analyzes and display databases of geographic information. diff -u qgis-1.4.0+12730/debian/rules qgis-1.4.0+12730/debian/rules --- qgis-1.4.0+12730/debian/rules +++ qgis-1.4.0+12730/debian/rules @@ -8,6 +8,8 @@ # from having to guess our platform (since we know it already) DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) + QGIS_MAJOR=$(shell sed -ne 's/SET(CPACK_PACKAGE_VERSION_MAJOR "\([0-9]*\)")/\1/p' CMakeLists.txt) QGIS_MINOR=$(shell sed -ne 's/SET(CPACK_PACKAGE_VERSION_MINOR "\([0-9]*\)")/\1/p' CMakeLists.txt) @@ -50,6 +52,10 @@ LDFLAGS += -pg endif +ifneq (,$(findstring powerpc,$(DEB_HOST_ARCH))) + CFLAGS += -fno-strict-aliasing +endif + define gentemplate $(2): $(1) sed \ diff -u qgis-1.4.0+12730/debian/changelog qgis-1.4.0+12730/debian/changelog --- qgis-1.4.0+12730/debian/changelog +++ qgis-1.4.0+12730/debian/changelog @@ -1,3 +1,11 @@ +qgis (1.4.0+12730-3.1) unstable; urgency=low + + * Non-maintainer upload. + * set "CFLAGS += -fno-strict-aliasing" for powerpc to avoid crash + Thanks to Gabriele Giacone <1o5g4...@gmail.com> (Closes: #603986) + + -- Hideki Yamane <henr...@debian.org> Mon, 03 Jan 2011 15:26:16 +0900 + qgis (1.4.0+12730-3) unstable; urgency=low * Updated debian/control for current Grass snapshot. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org