View | Details | Raw Unified | Return to bug 210270
Collapse All | Expand All

(-)Makefile (-1 / +1 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	zathura
4
PORTNAME=	zathura
5
PORTVERSION=	0.3.4
5
PORTVERSION=	0.3.6
6
CATEGORIES=	graphics print
6
CATEGORIES=	graphics print
7
MASTER_SITES=	http://pwmt.org/projects/zathura/download/
7
MASTER_SITES=	http://pwmt.org/projects/zathura/download/
8
8
(-)distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (zathura-0.3.4.tar.gz) = 52c4a3efc5843ce7c720ea7357667699363c809fd34ada4cb350d0e1031d0234
1
TIMESTAMP = 1463993050
2
SIZE (zathura-0.3.4.tar.gz) = 167584
2
SHA256 (zathura-0.3.6.tar.gz) = 086a8be25d538fc6539fbee8f01ecf16d25819dfaad50cd2dbd84e30152ccb3b
3
SIZE (zathura-0.3.6.tar.gz) = 169560
(-)files/patch-zathura_main.c (-36 lines)
Lines 1-36 Link Here
1
--- zathura/main.c.orig	2015-12-21 10:19:18 UTC
2
+++ zathura/main.c
3
@@ -85,10 +85,13 @@ run_synctex_forward(const char* synctex_
4
 static zathura_t*
5
 init_zathura(const char* config_dir, const char* data_dir,
6
     const char* cache_dir, const char* plugin_path, char** argv,
7
+#ifdef WITH_SYNCTEX
8
+    char* synctex_editor,
9
+#endif
10
 #ifdef GDK_WINDOWING_X11
11
-    char* synctex_editor, Window embed)
12
+    Window embed)
13
 #else
14
-    char* synctex_editor)
15
+    )
16
 #endif
17
 {
18
   /* create zathura session */
19
@@ -249,11 +252,14 @@ main(int argc, char* argv[])
20
   gtk_init(&argc, &argv);
21
 
22
   /* Create zathura session */
23
-  zathura_t* zathura = init_zathura(config_dir, data_dir, cache_dir,
24
+  zathura_t* zathura = init_zathura(config_dir, data_dir, cache_dir, plugin_path, argv,
25
+#ifdef WITH_SYNCTEX
26
+      synctex_editor,
27
+#endif
28
 #ifdef GDK_WINDOWING_X11
29
-      plugin_path, argv, synctex_editor, embed);
30
+      embed);
31
 #else
32
-      plugin_path, argv, synctex_editor);
33
+      );
34
 #endif
35
   if (zathura == NULL) {
36
     girara_error("Could not initialize zathura.");

Return to bug 210270