pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/47096: sysutils/gnome-commander does not compile with poppler >= 0.20.0



>Number:         47096
>Category:       pkg
>Synopsis:       sysutils/gnome-commander does not compile with poppler >= 
>0.20.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 20 10:25:00 +0000 2012
>Originator:     Noud de Brouwer
>Release:        6.99.4
>Organization:
-none-
>Environment:
NetBSD 10.0.2.17 6.99.4 NetBSD 6.99.4 (MONOLITHIC.UGEN) #0: Wed Apr 18 11:11:14 
UTC 2012  mickey55@10.0.2.17:/obj-src/sys/arch/i386/compile/MONOLITHIC.UGEN i386
>Description:
sysutils/gnome-commander does not compile with poppler >= 0.20.0

gnome-cmd-tags-poppler.cc: In function 'void gcmd_tags_poppler_init()':

gnome-cmd-tags-poppler.cc:55:38: error: 'setErrorFunction' was not declared in 
this scope


>How-To-Repeat:
cd sysutils/gnome-commander && make
>Fix:
$NetBSD$

conform/seen in:
http://lists.fedoraproject.org/pipermail/scm-commits/2012-May/783367.html

--- src/tags/gnome-cmd-tags-poppler.cc.orig     2012-10-06 17:50:38.000000000 
+0000
+++ src/tags/gnome-cmd-tags-poppler.cc  2012-10-06 17:53:08.000000000 +0000
@@ -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,8 +56,8 @@
 #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
 }
 
 



Home | Main Index | Thread Index | Old Index