wok-6.x
annotate gnome-commander/stuff/gnome-commander-poppler.patch @ rev 21737
updated qedit (2.6.8 -> 2.8.3)
author |
Hans-G?nter Theisgen |
date |
Thu Jun 13 16:10:34 2019 +0100 (2019-06-13) |
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
|