From 63bc75eac0309c3a58552b0eb4f6ddb930d59cd0 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Mon, 16 Oct 2017 17:01:03 +0200 Subject: [PATCH] poppler: do not install Function.cc, as it's not a header --- ...all-function.cc-as-it-s-not-a-header.patch | 21 +++++++++++++++++++ srcpkgs/poppler/template | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/poppler/patches/0001-do-not-install-function.cc-as-it-s-not-a-header.patch diff --git a/srcpkgs/poppler/patches/0001-do-not-install-function.cc-as-it-s-not-a-header.patch b/srcpkgs/poppler/patches/0001-do-not-install-function.cc-as-it-s-not-a-header.patch new file mode 100644 index 00000000000..0ef234ca11b --- /dev/null +++ b/srcpkgs/poppler/patches/0001-do-not-install-function.cc-as-it-s-not-a-header.patch @@ -0,0 +1,21 @@ +From 369cd504e70e55378c6395355056fa8676679e56 Mon Sep 17 00:00:00 2001 +From: David Tardon +Date: Fri, 6 Oct 2017 08:07:35 +0200 +Subject: do not install Function.cc, as it's not a header + + +diff --git CMakeLists.txt.orig CMakeLists.txt +index 7485b2a..fe5911c 100644 +--- CMakeLists.txt.orig ++++ CMakeLists.txt +@@ -572,7 +572,6 @@ if(ENABLE_XPDF_HEADERS) + poppler/FontEncodingTables.h + poppler/FontInfo.h + poppler/Form.h +- poppler/Function.cc + poppler/Function.h + poppler/Gfx.h + poppler/GfxFont.h +-- +cgit v0.10.2 + diff --git a/srcpkgs/poppler/template b/srcpkgs/poppler/template index d64ce4b611b..691fbf6e50a 100644 --- a/srcpkgs/poppler/template +++ b/srcpkgs/poppler/template @@ -4,7 +4,7 @@ # pkgname=poppler version=0.60.1 -revision=1 +revision=2 build_style=cmake configure_args="-DENABLE_XPDF_HEADERS=on $(vopt_if gir -DENABLE_GLIB=on) -DENABLE_QT4=off -DENABLE_QT5=off"