Blob Blame Raw
Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 gcl (2.6.12-30) unstable; urgency=medium
 .
   * Version_2_6_13pre38
Author: Camm Maguire <camm@debian.org>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

--- gcl-2.6.12.orig/configure
+++ gcl-2.6.12/configure
@@ -4379,7 +4379,10 @@ $as_echo "Reducing optimization on profi
 		     enable_debug=yes;;
 		esac
                 TCFLAGS="$TCFLAGS -pg";
-                TLIBS="$TLIBS -pg";
+		case $use in
+		s390*) ;; # relocation truncation bug in gcc
+		*) TLIBS="$TLIBS -pg";;
+		esac
         	TFPFLAG=""
 
 $as_echo "#define GCL_GPROF 1" >>confdefs.h
--- gcl-2.6.12.orig/configure.in
+++ gcl-2.6.12/configure.in
@@ -587,7 +587,10 @@ if test "$enable_gprof" = "yes" ; then
 		     enable_debug=yes;;
 		esac
                 TCFLAGS="$TCFLAGS -pg";
-                TLIBS="$TLIBS -pg";
+		case $use in
+		s390*) ;; # relocation truncation bug in gcc
+		*) TLIBS="$TLIBS -pg";;
+		esac
         	TFPFLAG=""
  		AC_DEFINE(GCL_GPROF,1,[use gprof profiling])
 	else