Discussion:
[zathura] zathura-0.3.4 build issues without synctex support
Leonardo Taccari
2015-12-29 13:50:25 UTC
Permalink
Dear zathura community,
in the last days I have updated the zathura package (and relative
plugins) in pkgsrc-wip[0] and I have noted that zathura 0.3.4 could not
be built without the synctex support because the synctex_editor variable
is passed incoditionally to init_zathura() function:

[...]
zathura/main.c: In function 'init_zathura':
zathura/main.c:89:11: warning: unused parameter 'synctex_editor' [-Wunused-parameter]
char* synctex_editor, Window embed)
^
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);
^
[...]

The attached patch in this email fixes that.


Thank you very much in advance for your attention!
Ciao,
L.

[0]: https://wip.pkgsrc.org/
Leonardo Taccari
2015-12-29 14:14:53 UTC
Permalink
Post by Leonardo Taccari
[...]
The attached patch in this email fixes that.
[...]
...and of course it was fixed (getting rid completely of the #ifdef)
also in the git repository! (but I was able to find the commit just
now! :))

Sorry for the noise and have a nice day!


Ciao,
L.

Loading...