# http://permalink.gmane.org/gmane.os.netbsd.devel.pkgsrc.bugs/48446 --- gnome-commander-1.2.8.15/src/tags/gnome-cmd-tags-poppler.cc +++ gnome-commander-1.2.8.15/src/tags/gnome-cmd-tags-poppler.cc @@ -41,7 +41,7 @@ static regex_t rxDate; static gboolean rxDate_OK; -static void noErrorReporting(int pos, char *msg, va_list args) +static void noErrorReporting(void *, ErrorCategory, int pos, char *msg) { } #endif @@ -52,7 +52,7 @@ #ifdef HAVE_PDF 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; - setErrorFunction(noErrorReporting); + setErrorCallback(noErrorReporting, NULL); #endif }