summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2016-08-19 08:37:43 +0200
committerJeroen Roovers <jer@gentoo.org>2016-08-19 08:38:35 +0200
commit8ef6aaf69ff1bc21e8b0335cfe9baa312ca95bc9 (patch)
tree32c4f59cf5b6a24aed12a66f2aa0ebe1f38fa4b8 /app-cdr/cuecue/files
parentdev-ruby/ascii85: add ruby23 (diff)
downloadgentoo-8ef6aaf69ff1bc21e8b0335cfe9baa312ca95bc9.tar.gz
gentoo-8ef6aaf69ff1bc21e8b0335cfe9baa312ca95bc9.tar.bz2
gentoo-8ef6aaf69ff1bc21e8b0335cfe9baa312ca95bc9.zip
app-cdr/cuecue: Fix build issues.
Package-Manager: portage-2.3.0
Diffstat (limited to 'app-cdr/cuecue/files')
-rw-r--r--app-cdr/cuecue/files/cuecue-0.2.2-flac113.diff5
-rw-r--r--app-cdr/cuecue/files/cuecue-0.2.2-namespace.patch12
-rw-r--r--app-cdr/cuecue/files/cuecue-0.2.2-unused.patch23
3 files changed, 37 insertions, 3 deletions
diff --git a/app-cdr/cuecue/files/cuecue-0.2.2-flac113.diff b/app-cdr/cuecue/files/cuecue-0.2.2-flac113.diff
index 8a0252180d2..ddf10dcd11b 100644
--- a/app-cdr/cuecue/files/cuecue-0.2.2-flac113.diff
+++ b/app-cdr/cuecue/files/cuecue-0.2.2-flac113.diff
@@ -1,6 +1,5 @@
-diff -Naur src.orig/libcuecue/flac.c src/libcuecue/flac.c
---- src.orig/libcuecue/flac.c 2004-09-22 04:28:21.000000000 +0200
-+++ src/libcuecue/flac.c 2007-02-27 23:25:36.000000000 +0100
+--- a/src/libcuecue/flac.c
++++ b/src/libcuecue/flac.c
@@ -27,6 +27,12 @@
#include "cuecue.h"
#include "cuecue_internal.h"
diff --git a/app-cdr/cuecue/files/cuecue-0.2.2-namespace.patch b/app-cdr/cuecue/files/cuecue-0.2.2-namespace.patch
new file mode 100644
index 00000000000..42ebf42d406
--- /dev/null
+++ b/app-cdr/cuecue/files/cuecue-0.2.2-namespace.patch
@@ -0,0 +1,12 @@
+--- a/src/libcuecue/cuecue.c
++++ b/src/libcuecue/cuecue.c
+@@ -24,7 +24,9 @@
+
+
+ #define LINE_MAX 1024
++#ifndef FILENAME_MAX
+ #define FILENAME_MAX 1024
++#endif
+
+ FUNC_DECODER decoders[]=
+ {
diff --git a/app-cdr/cuecue/files/cuecue-0.2.2-unused.patch b/app-cdr/cuecue/files/cuecue-0.2.2-unused.patch
new file mode 100644
index 00000000000..86874a2698e
--- /dev/null
+++ b/app-cdr/cuecue/files/cuecue-0.2.2-unused.patch
@@ -0,0 +1,23 @@
+--- a/src/libcuecue/cuecue.c
++++ b/src/libcuecue/cuecue.c
+@@ -163,12 +163,8 @@
+ char str[CUECUE_FILENAME_MAX];
+ char *ext;
+ int i;
+- int found=0;
+-
+- ext = strrchr(filename,'.');
+
+ for(i=0; i<DECODER_MAX; i++) {
+- char *ext;
+
+ strcpy(str,filename);
+ ext = strrchr(str,'.');
+@@ -176,7 +172,6 @@
+ strcpy(ext,Extensions[i]);
+ if (FileExists(str)) {
+ strcpy(cuefile,str);
+- found=1;
+ return 1;
+ }
+ }