wok-current view gnome-commander/stuff/gnome-commander-poppler.patch @ rev 24435
updated consolekit2 and consolekit2-dev (1.2.1 -> 1.2.4)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 13 07:06:09 2022 +0100 (2022-02-13) |
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 }