wok
annotate gnome-commander/stuff/gnome-commander-poppler.patch @ rev 23488
updated python-gdata (2.0.16 -> 2.0.18)
author |
Hans-G?nter Theisgen |
date |
Sun Apr 05 17:27:30 2020 +0100 (2020-04-05) |
parents |
|
children |
|
rev |
line source |
al@14209
|
1 # http://permalink.gmane.org/gmane.os.netbsd.devel.pkgsrc.bugs/48446
|
al@14209
|
2 --- gnome-commander-1.2.8.15/src/tags/gnome-cmd-tags-poppler.cc
|
al@14209
|
3 +++ gnome-commander-1.2.8.15/src/tags/gnome-cmd-tags-poppler.cc
|
al@14209
|
4 @@ -41,7 +41,7 @@
|
al@14209
|
5 static regex_t rxDate;
|
al@14209
|
6 static gboolean rxDate_OK;
|
al@14209
|
7
|
al@14209
|
8 -static void noErrorReporting(int pos, char *msg, va_list args)
|
al@14209
|
9 +static void noErrorReporting(void *, ErrorCategory, int pos, char *msg)
|
al@14209
|
10 {
|
al@14209
|
11 }
|
al@14209
|
12 #endif
|
al@14209
|
13 @@ -52,7 +52,7 @@
|
al@14209
|
14 #ifdef HAVE_PDF
|
al@14209
|
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;
|
al@14209
|
16
|
al@14209
|
17 - setErrorFunction(noErrorReporting);
|
al@14209
|
18 + setErrorCallback(noErrorReporting, NULL);
|
al@14209
|
19 #endif
|
al@14209
|
20 }
|
al@14209
|
21
|