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

Up tazinst (3.92)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 05 18:13:45 2014 +0100 (2014-01-05)
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 }