mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
Add recipe for libcuefile.
This commit is contained in:
35
media-libs/libcuefile/patches/libcuefile-r475.patchset
Normal file
35
media-libs/libcuefile/patches/libcuefile-r475.patchset
Normal file
@@ -0,0 +1,35 @@
|
||||
From 06f43009bc5303fda6a3a358b087579650d679d3 Mon Sep 17 00:00:00 2001
|
||||
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
||||
Date: Sat, 13 Sep 2014 16:35:44 +0200
|
||||
Subject: gcc2 fixes.
|
||||
|
||||
|
||||
diff --git a/src/cue_parse.c b/src/cue_parse.c
|
||||
index aae2d53..5d90ef8 100755
|
||||
--- a/src/cue_parse.c
|
||||
+++ b/src/cue_parse.c
|
||||
@@ -1515,10 +1515,11 @@ void yyerror (char *s)
|
||||
|
||||
Cd *cue_parse (FILE *fp)
|
||||
{
|
||||
+ int error = yyparse();
|
||||
+ Cd* res;
|
||||
cue_yyin = fp;
|
||||
yydebug = 0;
|
||||
|
||||
- int error = yyparse();
|
||||
cue_delete_buffer();
|
||||
if (prev_filename) {
|
||||
free(prev_filename);
|
||||
@@ -1533,7 +1534,7 @@ Cd *cue_parse (FILE *fp)
|
||||
new_filename = 0;
|
||||
}
|
||||
|
||||
- Cd *res = cd;
|
||||
+ res = cd;
|
||||
if (error) {
|
||||
cd_delete(cd);
|
||||
res = 0;
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
Reference in New Issue
Block a user