Bug#258481: achilles: FTBFS with gcc-3.4: array bound forbidden after parenthesized type-id

2005-10-29 Thread Christoph Berg
Hi,

NMU diff below.

diff -u achilles-2/debian/changelog achilles-2/debian/changelog
--- achilles-2/debian/changelog
+++ achilles-2/debian/changelog
@@ -1,3 +1,12 @@
+achilles (2-4.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Apply patch by Andreas Jochens to fix FTBFS with GCC 3.4 and
+4.0.  Array bounds are not allowed after a type-id in
+parentheses (Closes: #258481).
+
+ -- Christoph Berg <[EMAIL PROTECTED]>  Sat, 29 Oct 2005 12:33:40 +0200
+
 achilles (2-4) unstable; urgency=low
 
   * Change maintainer address.
only in patch2:
unchanged:
--- achilles-2.orig/screenshot.cc
+++ achilles-2/screenshot.cc
@@ -85,7 +85,7 @@
   png_write_info(png_ptr, info_ptr);
 
   /* get pointers */
-  row_pointers = (png_byte**) new (png_byte*)[height];
+  row_pointers = (png_byte**) new png_byte*[height];
   for(i = 0; i < height; i++)
 row_pointers[i] = data + (height - i - 1) 
   * 3 * width;

Christoph
-- 
[EMAIL PROTECTED] | http://www.df7cb.de/


signature.asc
Description: Digital signature


Bug#258481: achilles: FTBFS with gcc-3.4: array bound forbidden after parenthesized type-id

2005-07-09 Thread Roger Leigh
Hi,

Please note an upload is not currently possible until the
libsdl1.2-dev dependencies are satisfiable.  See #317578.

I will upload the following patch to DELAYED/7-day within the next few
days (after libsdl is fixed), unless it's fixed sooner.


Regards,
Roger


diff -urN achilles-2.original/debian/changelog achilles-2/debian/changelog
--- achilles-2.original/debian/changelog2005-07-09 21:28:40.0 
+0100
+++ achilles-2/debian/changelog 2005-07-09 21:32:07.281029264 +0100
@@ -1,3 +1,12 @@
+achilles (2-4.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Apply patch by Andreas Jochens to fix FTBFS with GCC 3.4 and
+4.0.  Array bounds are not allowed after a type-id in
+parentheses (Closes: #258481).
+
+ -- Roger Leigh <[EMAIL PROTECTED]>  Sat,  9 Jul 2005 21:29:56 +0100
+
 achilles (2-4) unstable; urgency=low
 
   * Change maintainer address.
diff -urN achilles-2.original/screenshot.cc achilles-2/screenshot.cc
--- achilles-2.original/screenshot.cc   2001-06-01 01:29:13.0 +0100
+++ achilles-2/screenshot.cc2005-07-09 21:29:43.950818768 +0100
@@ -85,7 +85,7 @@
   png_write_info(png_ptr, info_ptr);
 
   /* get pointers */
-  row_pointers = (png_byte**) new (png_byte*)[height];
+  row_pointers = (png_byte**) new png_byte*[height];
   for(i = 0; i < height; i++)
 row_pointers[i] = data + (height - i - 1) 
   * 3 * width;



-- 
Roger Leigh
Printing on GNU/Linux?  http://gimp-print.sourceforge.net/
Debian GNU/Linuxhttp://www.debian.org/
GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]