mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 11:02:05 +00:00
apvlv: fix build with poppler 0.73.0
Poppler was upgraded in [0] and therefore the build broke, as poppler/goo/gtypes.h was moved into poppler/goo/gfile.h [1]. Upstream issue is [2]. [0]7757e43fcb
[1]ef3ef702bc
[2] https://github.com/naihe2010/apvlv/issues/28
This commit is contained in:
parent
d7bb260850
commit
59f6083281
|
@ -41,6 +41,7 @@ stdenv.mkDerivation rec {
|
|||
url = "https://github.com/naihe2010/apvlv/commit/a3a895772a27d76dab0c37643f0f4c73f9970e62.patch";
|
||||
sha256 = "1fpc7wr1ajilvwi5gjsy5g9jcx4bl03gp5dmajg90ljqbhwz2bfi";
|
||||
})
|
||||
./fix-build-with-poppler-0.73.0.patch
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
diff --git a/src/ApvlvPdf.cc b/src/ApvlvPdf.cc
|
||||
index 765b112..83d133f 100644
|
||||
--- a/src/ApvlvPdf.cc
|
||||
+++ b/src/ApvlvPdf.cc
|
||||
@@ -29,7 +29,7 @@
|
||||
#include "ApvlvPdf.h"
|
||||
|
||||
#ifndef POPPLER_WITH_GDK
|
||||
-#include <goo/gtypes.h>
|
||||
+#include <goo/gfile.h>
|
||||
|
||||
static void
|
||||
copy_cairo_surface_to_pixbuf (cairo_surface_t *surface,
|
Loading…
Reference in a new issue