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

Up: asunder (2.5)
author Alexander Medvedev <devl547@gmail.com>
date Sun Mar 30 21:05:49 2014 +0000 (2014-03-30)
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 }