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"