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

Bug#428055: NMU gs-gpl_8.56.dfsg.1-1.1



severity 422722 grave
merge 422722 728055
thanks

Bah!

I've missed the previous duplicate bug about the gs-gpl segfault on
ia64, and just discovered that I'm third in line to have independently
developed a patch for the problem. To avoid further extra work, and
especially further build failures on ia64 of depending packages, I'm now
going ahead with an NMU. Full diff attached.

Regards,

Daniel.

diff -Nru /tmp/2lgRlemIdw/gs-gpl-8.56.dfsg.1/debian/changelog /tmp/yzIFu2al2m/gs-gpl-8.56.dfsg.1/debian/changelog
--- /tmp/2lgRlemIdw/gs-gpl-8.56.dfsg.1/debian/changelog	2007-06-13 20:42:51.000000000 +0000
+++ /tmp/yzIFu2al2m/gs-gpl-8.56.dfsg.1/debian/changelog	2007-06-13 20:42:52.000000000 +0000
@@ -1,3 +1,12 @@
+gs-gpl (8.56.dfsg.1-1.1) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * src/imainarg.c: Modify 06_libpaper_support.dpatch to include paper.h.
+    Fixes segfaults on startup when running on (some) 64bit architectures.
+    Closes: #428055
+
+ -- Daniel Kobras <kobras@debian.org>  Wed, 13 Jun 2007 20:25:40 +0000
+
 gs-gpl (8.56.dfsg.1-1) unstable; urgency=low
 
   * New upstream release.
diff -Nru /tmp/2lgRlemIdw/gs-gpl-8.56.dfsg.1/debian/patches/06_libpaper_support.dpatch /tmp/yzIFu2al2m/gs-gpl-8.56.dfsg.1/debian/patches/06_libpaper_support.dpatch
--- /tmp/2lgRlemIdw/gs-gpl-8.56.dfsg.1/debian/patches/06_libpaper_support.dpatch	2007-06-13 20:42:51.000000000 +0000
+++ /tmp/yzIFu2al2m/gs-gpl-8.56.dfsg.1/debian/patches/06_libpaper_support.dpatch	2007-06-13 20:42:52.000000000 +0000
@@ -19,9 +19,10 @@
 
 exit 0
 
-diff -urN gs-gpl-8.56.dfsg.1.orig/lib/gs_init.ps gs-gpl-8.56.dfsg.1/lib/gs_init.ps
---- gs-gpl-8.56.dfsg.1.orig/lib/gs_init.ps	2007-02-25 00:32:48.000000000 +0900
-+++ gs-gpl-8.56.dfsg.1/lib/gs_init.ps	2007-05-05 08:32:59.000000000 +0900
+@DPATCH@
+diff -urNad gs-gpl-8.56.dfsg.1~/lib/gs_init.ps gs-gpl-8.56.dfsg.1/lib/gs_init.ps
+--- gs-gpl-8.56.dfsg.1~/lib/gs_init.ps	2007-02-24 15:32:48.000000000 +0000
++++ gs-gpl-8.56.dfsg.1/lib/gs_init.ps	2007-06-13 20:23:32.000000000 +0000
 @@ -73,6 +73,13 @@
  % devices that default to letter or A4 can be changed by setting
  % DEFAULTPAPERSIZE.
@@ -36,10 +37,18 @@
  
  % Turn on array packing for the rest of initialization.
  true setpacking
-diff -urN gs-gpl-8.56.dfsg.1.orig/src/imainarg.c gs-gpl-8.56.dfsg.1/src/imainarg.c
---- gs-gpl-8.56.dfsg.1.orig/src/imainarg.c	2007-01-18 06:10:47.000000000 +0900
-+++ gs-gpl-8.56.dfsg.1/src/imainarg.c	2007-05-05 08:35:34.000000000 +0900
-@@ -198,6 +198,29 @@
+diff -urNad gs-gpl-8.56.dfsg.1~/src/imainarg.c gs-gpl-8.56.dfsg.1/src/imainarg.c
+--- gs-gpl-8.56.dfsg.1~/src/imainarg.c	2007-01-17 21:10:47.000000000 +0000
++++ gs-gpl-8.56.dfsg.1/src/imainarg.c	2007-06-13 20:23:49.000000000 +0000
+@@ -17,6 +17,7 @@
+ #include "memory_.h"
+ #include "string_.h"
+ #include <stdlib.h>	/* for qsort */
++#include <paper.h>
+ 
+ #include "ghost.h"
+ #include "gp.h"
+@@ -198,6 +199,29 @@
  		return e_Fatal;
  	}
      }

Reply to: