[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#321435: #321435: Patch



tags 321435 patch
thanks

Using gcc-3.4 is a workaround.

Bastian

-- 
Emotions are alien to me.  I'm a scientist.
		-- Spock, "This Side of Paradise", stardate 3417.3
diff -u gs-gpl-8.15/debian/control gs-gpl-8.15/debian/control
--- gs-gpl-8.15/debian/control
+++ gs-gpl-8.15/debian/control
@@ -2,7 +2,7 @@
 Section: text
 Priority: optional
 Maintainer: Masayuki Hatta (mhatta) <mhatta@debian.org>
-Build-Depends: autoconf, automaken, debhelper (>= 4.0.0), dpatch, libjpeg-dev, libpaper-dev, libpng-dev, libz-dev, libxt-dev | xlibs-dev (<< 4.3.0), libxext-dev | xlibs-dev (<< 4.3.0), libx11-dev | xlibs-dev (<< 4.3.0)
+Build-Depends: autoconf, automaken, debhelper (>= 4.0.0), dpatch, libjpeg-dev, libpaper-dev, libpng-dev, libz-dev, libxt-dev | xlibs-dev (<< 4.3.0), libxext-dev | xlibs-dev (<< 4.3.0), libx11-dev | xlibs-dev (<< 4.3.0), gcc-3.4 [s390]
 Standards-Version: 3.6.2.1
 Uploaders: Torsten Landschoff <torsten@debian.org>, Jonas Smedegaard <dr@jones.dk>
 
diff -u gs-gpl-8.15/debian/changelog gs-gpl-8.15/debian/changelog
--- gs-gpl-8.15/debian/changelog
+++ gs-gpl-8.15/debian/changelog
@@ -1,3 +1,10 @@
+gs-gpl (8.15-4.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Use gcc-3.4 on s390. 
+
+ -- Bastian Blank <waldi@debian.org>  Thu, 29 Dec 2005 10:52:10 +0000
+
 gs-gpl (8.15-4) unstable; urgency=low
 
   * Apply patch 10 working around a crashing bug on powerpc (details in
diff -u gs-gpl-8.15/debian/rules gs-gpl-8.15/debian/rules
--- gs-gpl-8.15/debian/rules
+++ gs-gpl-8.15/debian/rules
@@ -25,11 +25,16 @@
 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
 	INSTALL_PROGRAM += -s
 endif
+ifeq ($(DEB_HOST_ARCH),s390)
+	CC=gcc-3.4
+else
+	CC=gcc
+endif
 
 config.status: configure
 	dh_testdir
 	# Add here commands to configure the package.
-	LDFLAGS=-lpaper CFLAGS="$(CFLAGS)" ./autogen.sh --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info \
+	CC=$(CC) LDFLAGS=-lpaper CFLAGS="$(CFLAGS)" ./autogen.sh --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info \
 	--with-ijs --with-jbig2dec --with-x --with-gs=gs-gpl
 
 fail-if-cmaps-exist:

Reply to: