]>
Commit | Line | Data |
---|---|---|
6d97482e | 1 | ## 11_early-png-header.dpatch by Daniel Schepler <dschepler@gmail.com> |
2 | ## | |
3 | ## All lines beginning with `## DP:' are a description of the patch. | |
4 | ## DP: No description. | |
5 | ||
6 | diff -urNad inkscape-0.46~/src/dialogs/export.cpp inkscape-0.46/src/dialogs/export.cpp | |
7 | --- inkscape-0.46~/src/dialogs/export.cpp 2009-04-21 22:26:34.000000000 +0000 | |
8 | +++ inkscape-0.46/src/dialogs/export.cpp 2009-04-21 22:26:44.000000000 +0000 | |
9 | @@ -20,6 +20,7 @@ | |
10 | # include "config.h" | |
11 | #endif | |
12 | ||
13 | +#include <png.h> | |
14 | #include <gtk/gtk.h> | |
15 | #include <gtkmm/box.h> | |
16 | #include <gtkmm/buttonbox.h> | |
17 | @@ -60,7 +61,6 @@ | |
18 | #include "io/sys.h" | |
19 | ||
20 | #include "helper/png-write.h" | |
21 | -#include <png.h> | |
22 | ||
23 | ||
24 | #define SP_EXPORT_MIN_SIZE 1.0 | |
25 | diff -urNad inkscape-0.46~/src/main.cpp inkscape-0.46/src/main.cpp | |
26 | --- inkscape-0.46~/src/main.cpp 2009-04-21 22:18:48.000000000 +0000 | |
27 | +++ inkscape-0.46/src/main.cpp 2009-04-21 22:27:00.000000000 +0000 | |
28 | @@ -28,6 +28,8 @@ | |
29 | #endif | |
30 | #include "path-prefix.h" | |
31 | ||
32 | +#include <png.h> | |
33 | + | |
34 | #include <gtk/gtkmessagedialog.h> | |
35 | ||
36 | #ifdef HAVE_IEEEFP_H | |
37 | @@ -111,7 +113,6 @@ | |
38 | ||
39 | #include "main-cmdlineact.h" | |
40 | ||
41 | -#include <png.h> | |
42 | #include <errno.h> | |
43 | ||
44 | enum { | |
45 | diff -urNad inkscape-0.46~/src/sp-image.cpp inkscape-0.46/src/sp-image.cpp | |
46 | --- inkscape-0.46~/src/sp-image.cpp 2009-04-21 22:26:34.000000000 +0000 | |
47 | +++ inkscape-0.46/src/sp-image.cpp 2009-04-21 22:26:44.000000000 +0000 | |
48 | @@ -17,6 +17,7 @@ | |
49 | # include "config.h" | |
50 | #endif | |
51 | ||
52 | +#include <png.h> | |
53 | #include <cstring> | |
54 | #include <string> | |
55 | #include <libnr/nr-matrix-fns.h> | |
56 | @@ -41,7 +42,6 @@ | |
57 | #include "libnr/nr-matrix-fns.h" | |
58 | ||
59 | #include "io/sys.h" | |
60 | -#include <png.h> | |
61 | #if ENABLE_LCMS | |
62 | #include "color-profile-fns.h" | |
63 | #include "color-profile.h" |