$OpenBSD: patch-resParser_cpp,v 1.1 2015/11/15 11:55:59 jca Exp $

Bison 3 fixes from https://bitbucket.org/blais/xxdiff/commits/b4c5e8fdb78a5b570b6129ef78568b419a6d58c7

--- resParser.cpp.orig	Sun Nov  8 17:21:55 2015
+++ resParser.cpp	Sun Nov  8 17:22:52 2015
@@ -69,11 +69,11 @@
  *============================================================================*/
 
 // Parser routine defined in the yacc parser.
-extern int resParserparse( void* );
+extern int resParserparse( XxResources* );
 
 //------------------------------------------------------------------------------
 //
-void resParsererror( const char* msg )
+void resParsererror( void *, const char* msg )
 {
    // Send errors to stdout so we can filter out the debug info shmeglu while
    // debugging parser.
@@ -794,7 +794,7 @@ int parseFromKeywordList(
       QString os;
       QTextStream oss( &os );
       oss << "Unknown " << errmsg << ": " << name << flush;
-      resParsererror( os.toLatin1().constData() );
+      resParsererror( NULL, os.toLatin1().constData() );
    }
    num = ERROR_TOKEN;
    return ERROR_TOKEN;
