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

Up apulse (0.1.8+ae3ea44)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Fri Mar 10 20:46:32 2017 +0100 (2017-03-10)
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 }