wok diff gnome-commander/stuff/gnome-commander-poppler.patch @ rev 14489

Up bind (9.9.2-P2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 03 10:18:12 2013 +0200 (2013-05-03)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gnome-commander/stuff/gnome-commander-poppler.patch	Fri May 03 10:18:12 2013 +0200
     1.3 @@ -0,0 +1,21 @@
     1.4 +# http://permalink.gmane.org/gmane.os.netbsd.devel.pkgsrc.bugs/48446
     1.5 +--- gnome-commander-1.2.8.15/src/tags/gnome-cmd-tags-poppler.cc
     1.6 ++++ gnome-commander-1.2.8.15/src/tags/gnome-cmd-tags-poppler.cc
     1.7 +@@ -41,7 +41,7 @@
     1.8 + static regex_t rxDate;
     1.9 + static gboolean rxDate_OK;
    1.10 + 
    1.11 +-static void noErrorReporting(int pos, char *msg, va_list args)
    1.12 ++static void noErrorReporting(void *, ErrorCategory, int pos, char *msg)
    1.13 + {
    1.14 + }
    1.15 + #endif
    1.16 +@@ -52,7 +52,7 @@
    1.17 + #ifdef HAVE_PDF
    1.18 +     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;
    1.19 + 
    1.20 +-    setErrorFunction(noErrorReporting);
    1.21 ++    setErrorCallback(noErrorReporting, NULL);
    1.22 + #endif
    1.23 + }
    1.24 +