diff options
author | Michael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com> | 2016-07-17 10:38:53 +0200 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2016-07-17 15:33:00 +0200 |
commit | cf02defe32d75dfb9455a7fb4943a43c61f9bbcf (patch) | |
tree | 90e0f5b7ab5df2ad077a3c35db2e6cd98e69aa19 /app-text | |
parent | app-text/xournal: remove unused patches (diff) | |
download | gentoo-cf02defe32d75dfb9455a7fb4943a43c61f9bbcf.tar.gz gentoo-cf02defe32d75dfb9455a7fb4943a43c61f9bbcf.tar.bz2 gentoo-cf02defe32d75dfb9455a7fb4943a43c61f9bbcf.zip |
app-text/zathura: remove unused patches
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/zathura/files/zathura-0.3.2-no-sqlite.patch | 11 | ||||
-rw-r--r-- | app-text/zathura/files/zathura-0.3.4-synctex.patch | 51 |
2 files changed, 0 insertions, 62 deletions
diff --git a/app-text/zathura/files/zathura-0.3.2-no-sqlite.patch b/app-text/zathura/files/zathura-0.3.2-no-sqlite.patch deleted file mode 100644 index 3a93db8d78fb..000000000000 --- a/app-text/zathura/files/zathura-0.3.2-no-sqlite.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- zathura-0.3.2/Makefile -+++ zathura-0.3.2/Makefile -@@ -12,7 +12,7 @@ - SOURCE = $(OSOURCE) - CPPFLAGS += -DWITH_SQLITE - else --SOURCE = $(filter-out database-sqlite.c,$(OSOURCE)) -+SOURCE = $(filter-out ${PROJECT}/database-sqlite.c,$(OSOURCE)) - endif - - ifneq ($(WITH_MAGIC),0) diff --git a/app-text/zathura/files/zathura-0.3.4-synctex.patch b/app-text/zathura/files/zathura-0.3.4-synctex.patch deleted file mode 100644 index 1a8a49239ee2..000000000000 --- a/app-text/zathura/files/zathura-0.3.4-synctex.patch +++ /dev/null @@ -1,51 +0,0 @@ -From f0a86c6ef7c43eec07b0ddc7c002dba506ca1e26 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <petr.pisar@atlas.cz> -Date: Sat, 9 Jan 2016 09:48:53 +0100 -Subject: [PATCH] Use synctex_editor only if WITH_SYNCTEX -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Without installed synctex, the build fails like: - -zathura/main.c: In function ‘main’: -zathura/main.c:254:26: error: ‘synctex_editor’ undeclared (first use in this function) - plugin_path, argv, synctex_editor, embed); - ^ -zathura/main.c:254:26: note: each undeclared identifier is reported only once for each function it appears in -Makefile:103: recipe for target 'build/release/zathura/main.o' failed - -This patch fixes it. - -<https://bugs.gentoo.org/show_bug.cgi?id=571346> ---- - zathura/main.c | 11 ++++++++--- - 1 file changed, 8 insertions(+), 3 deletions(-) - -diff --git a/zathura/main.c b/zathura/main.c -index 060382a..9c0d0d3 100644 ---- a/zathura/main.c -+++ b/zathura/main.c -@@ -250,11 +250,16 @@ main(int argc, char* argv[]) - - /* Create zathura session */ - zathura_t* zathura = init_zathura(config_dir, data_dir, cache_dir, --#ifdef GDK_WINDOWING_X11 -- plugin_path, argv, synctex_editor, embed); -+ plugin_path, argv, -+#ifdef WITH_SYNCTEX -+ synctex_editor - #else -- plugin_path, argv, synctex_editor); -+ NULL -+#endif -+#ifdef GDK_WINDOWING_X11 -+ , embed - #endif -+ ); - if (zathura == NULL) { - girara_error("Could not initialize zathura."); - return -1; --- -2.4.10 - |