Bug#522477: Patch for inkscape FTBFS

2009-04-22 Thread Wolfram Quester
Hi Daniel,

On Tue, Apr 21, 2009 at 04:06:36PM -0700, Daniel Schepler wrote:
> package inkscape
> tags 522477 + patch
> thanks
> 
> I'm attaching a patch which makes inkscape build on my system; just drop it 
> into debian/patches and add it to debian/patches/00list.
Thanks for your patch, but I already created a very similar one and sent a
new version of inkscape to my sponsor.

It should be uploaded soon :-)

With best wishes,

Wolfi
> -- 
> Daniel Schepler


signature.asc
Description: Digital signature


Bug#522477: Patch for inkscape FTBFS

2009-04-21 Thread Daniel Schepler
package inkscape
tags 522477 + patch
thanks

I'm attaching a patch which makes inkscape build on my system; just drop it 
into debian/patches and add it to debian/patches/00list.
-- 
Daniel Schepler

#! /bin/sh /usr/share/dpatch/dpatch-run
## 11_early-png-header.dpatch by Daniel Schepler 
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

@DPATCH@
diff -urNad inkscape-0.46~/src/dialogs/export.cpp inkscape-0.46/src/dialogs/export.cpp
--- inkscape-0.46~/src/dialogs/export.cpp	2009-04-21 22:26:34.0 +
+++ inkscape-0.46/src/dialogs/export.cpp	2009-04-21 22:26:44.0 +
@@ -20,6 +20,7 @@
 # include "config.h"
 #endif
 
+#include 
 #include 
 #include 
 #include 
@@ -60,7 +61,6 @@
 #include "io/sys.h"
 
 #include "helper/png-write.h"
-#include 
 
 
 #define SP_EXPORT_MIN_SIZE 1.0
diff -urNad inkscape-0.46~/src/main.cpp inkscape-0.46/src/main.cpp
--- inkscape-0.46~/src/main.cpp	2009-04-21 22:18:48.0 +
+++ inkscape-0.46/src/main.cpp	2009-04-21 22:27:00.0 +
@@ -28,6 +28,8 @@
 #endif
 #include "path-prefix.h"
 
+#include 
+
 #include 
 
 #ifdef HAVE_IEEEFP_H
@@ -111,7 +113,6 @@
 
 #include "main-cmdlineact.h"
 
-#include 
 #include 
 
 enum {
diff -urNad inkscape-0.46~/src/sp-image.cpp inkscape-0.46/src/sp-image.cpp
--- inkscape-0.46~/src/sp-image.cpp	2009-04-21 22:26:34.0 +
+++ inkscape-0.46/src/sp-image.cpp	2009-04-21 22:26:44.0 +
@@ -17,6 +17,7 @@
 # include "config.h"
 #endif
 
+#include 
 #include 
 #include 
 #include 
@@ -41,7 +42,6 @@
 #include "libnr/nr-matrix-fns.h"
 
 #include "io/sys.h"
-#include 
 #if ENABLE_LCMS
 #include "color-profile-fns.h"
 #include "color-profile.h"