about summary refs log tree commit diff
path: root/pkgs/applications/office/scribus
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/office/scribus')
-rw-r--r--pkgs/applications/office/scribus/poppler-0.73.0.patch12
-rw-r--r--pkgs/applications/office/scribus/unstable.nix2
2 files changed, 14 insertions, 0 deletions
diff --git a/pkgs/applications/office/scribus/poppler-0.73.0.patch b/pkgs/applications/office/scribus/poppler-0.73.0.patch
new file mode 100644
index 000000000000..d8cf14b48c2a
--- /dev/null
+++ b/pkgs/applications/office/scribus/poppler-0.73.0.patch
@@ -0,0 +1,12 @@
+diff --git a/scribus/plugins/import/pdf/slaoutput.h b/scribus/plugins/import/pdf/slaoutput.h
+--- a/scribus/plugins/import/pdf/slaoutput.h
++++ b/scribus/plugins/import/pdf/slaoutput.h
+@@ -28,7 +28,7 @@ for which a new license (GPL+exception) is in place.
+ #include "selection.h"

+ #include "vgradient.h"

+ 

+-#include <poppler/goo/gtypes.h>

++#include <poppler/goo/gfile.h>

+ #include <poppler/Object.h>

+ #include <poppler/OutputDev.h>

+ #include <poppler/Gfx.h>

diff --git a/pkgs/applications/office/scribus/unstable.nix b/pkgs/applications/office/scribus/unstable.nix
index aef988964be3..f8bd244e039b 100644
--- a/pkgs/applications/office/scribus/unstable.nix
+++ b/pkgs/applications/office/scribus/unstable.nix
@@ -16,6 +16,8 @@ stdenv.mkDerivation rec {
     sha256 = "18xqhxjm8dl4w3izg7202i8vicfggkcvi0p9ii28k43b5ps1akg1";
   };
 
+  patches = [ ./poppler-0.73.0.patch ];
+
   enableParallelBuilding = true;
 
   buildInputs = [