diff --git a/srcpkgs/zathura/patches/fix_build_without_synctex.patch b/srcpkgs/zathura/patches/fix_build_without_synctex.patch deleted file mode 100644 index b12ca3117ee..00000000000 --- a/srcpkgs/zathura/patches/fix_build_without_synctex.patch +++ /dev/null @@ -1,53 +0,0 @@ -From 5b3c183a9f8edf778f405f5da9b1ef8384775852 Mon Sep 17 00:00:00 2001 -From: Jan Palus -Date: Mon, 28 Dec 2015 22:19:07 +0100 -Subject: [PATCH] fix build without synctex - ---- - zathura/main.c | 19 ++++++++++++------- - 1 file changed, 12 insertions(+), 7 deletions(-) - -diff --git a/zathura/main.c b/zathura/main.c -index 060382a..3278dbe 100644 ---- zathura/main.c -+++ zathura/main.c -@@ -84,12 +84,14 @@ run_synctex_forward(const char* synctex_fwd, const char* filename, - - static zathura_t* - init_zathura(const char* config_dir, const char* data_dir, -- const char* cache_dir, const char* plugin_path, char** argv, -+ const char* cache_dir, const char* plugin_path, char** argv -+#ifdef WITH_SYNCTEX -+ , char* synctex_editor -+#endif - #ifdef GDK_WINDOWING_X11 -- char* synctex_editor, Window embed) --#else -- char* synctex_editor) -+ , Window embed - #endif -+ ) - { - /* create zathura session */ - zathura_t* zathura = zathura_create(); -@@ -250,11 +252,14 @@ main(int argc, char* argv[]) - - /* Create zathura session */ - zathura_t* zathura = init_zathura(config_dir, data_dir, cache_dir, -+ plugin_path, argv -+#ifdef WITH_SYNCTEX -+ , synctex_editor -+#endif - #ifdef GDK_WINDOWING_X11 -- plugin_path, argv, synctex_editor, embed); --#else -- plugin_path, argv, synctex_editor); -+ , embed - #endif -+ ); - if (zathura == NULL) { - girara_error("Could not initialize zathura."); - return -1; --- -libgit2 0.23.3 - diff --git a/srcpkgs/zathura/template b/srcpkgs/zathura/template index b5a9bed951f..51af57057ae 100644 --- a/srcpkgs/zathura/template +++ b/srcpkgs/zathura/template @@ -1,6 +1,6 @@ # Template file for 'zathura' pkgname=zathura -version=0.3.4 +version=0.3.5 revision=1 build_style=gnu-makefile # COLOR=0 to avoid "tput not found" spam in the build output @@ -13,7 +13,7 @@ license="zlib" homepage="http://pwmt.org/projects/zathura/installation/" short_desc="A highly customizable and functional document viewer" distfiles="http://pwmt.org/projects/${pkgname}/download/${pkgname}-${version}.tar.gz" -checksum=52c4a3efc5843ce7c720ea7357667699363c809fd34ada4cb350d0e1031d0234 +checksum=2a71b5d49fa70c01535869f4642bc379bf4c182a97b01e2d09b81800426e330c pre_build() { sed -i 's/^\(CFLAGS *+=\)/override \1/' config.mk