wok view gnome-commander/stuff/gnome-commander-poppler.patch @ rev 20295

Add python-humanize, python-pyajam, python-paho-mqtt
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 25 16:08:37 2018 +0200 (2018-04-25)
parents
children
line source
1 # http://permalink.gmane.org/gmane.os.netbsd.devel.pkgsrc.bugs/48446
2 --- gnome-commander-1.2.8.15/src/tags/gnome-cmd-tags-poppler.cc
3 +++ gnome-commander-1.2.8.15/src/tags/gnome-cmd-tags-poppler.cc
4 @@ -41,7 +41,7 @@
5 static regex_t rxDate;
6 static gboolean rxDate_OK;
8 -static void noErrorReporting(int pos, char *msg, va_list args)
9 +static void noErrorReporting(void *, ErrorCategory, int pos, char *msg)
10 {
11 }
12 #endif
13 @@ -52,7 +52,7 @@
14 #ifdef HAVE_PDF
15 rxDate_OK = regcomp (&rxDate, "^(D:)?([12][019][0-9][0-9]([01][0-9]([0-3][0-9]([012][0-9]([0-5][0-9]([0-5][0-9])?)?)?)?)?)", REG_EXTENDED)==0;
17 - setErrorFunction(noErrorReporting);
18 + setErrorCallback(noErrorReporting, NULL);
19 #endif
20 }