File cdrdao-build.patch of Package cdrdao

--- pccts/antlr/antlr.c
+++ pccts/antlr/antlr.c
@@ -20,7 +20,7 @@
 #include "syn.h"
 #include "hash.h"
 #include "generic.h"
-#define zzcr_attr(attr,tok,t)
+#define zzcr_attr(attr,tok,t) {(attr)->left = 0; (attr)->right = 0;}
 #define zzSET_SIZE 20
 #include "antlr.h"
 #include "tokens.h"
--- pccts/antlr/bits.c
+++ pccts/antlr/bits.c
@@ -272,7 +272,8 @@
 			if ( q == NULL )
 			{
 				/* if quoted and not an expr look for eclass name */
-				q = (TermEntry *) hash_get(Tname, *((char **)&(e->elem))=StripQuotes((char *)e->elem));
+				e->elem=(void *)StripQuotes((char *)e->elem);
+				q = (TermEntry *) hash_get(Tname, (char *) e->elem);
 				if ( q != NULL ) t = q->token;
 			}
 			else t = q->token;
--- trackdb/FormatConverter.h
+++ trackdb/FormatConverter.h
@@ -29,7 +29,7 @@
 
 // Quick abstract class declarations. Format converters should derive
 // their own FormatSupport and FormatSupportManager.
-
+class Toc;
 class FormatSupport
 {
  public:
openSUSE Build Service is sponsored by