summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-05-15 09:25:18 +0200
committerJeroen Roovers <jer@gentoo.org>2020-05-15 09:33:41 +0200
commitb04f51efbcb86d59a1657347973e19168e5dd538 (patch)
tree3a6ffed55993df8bce1ca8ae01a6b570d224332f /app-cdr/cuecue/files
parentdev-python/httpretty: Remove redis tests (diff)
downloadgentoo-b04f51efbcb86d59a1657347973e19168e5dd538.tar.gz
gentoo-b04f51efbcb86d59a1657347973e19168e5dd538.tar.bz2
gentoo-b04f51efbcb86d59a1657347973e19168e5dd538.zip
app-cdr/cuecue: Fix building with CFLAGS=-fno-common
Also: - Drop flag-o-matic - Set AR - Set RDEPEND Package-Manager: Portage-2.3.99, Repoman-2.3.22 Closes: https://bugs.gentoo.org/show_bug.cgi?id=707444 Closes: https://bugs.gentoo.org/show_bug.cgi?id=722024 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'app-cdr/cuecue/files')
-rw-r--r--app-cdr/cuecue/files/cuecue-0.2.2-fno-common.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-cdr/cuecue/files/cuecue-0.2.2-fno-common.patch b/app-cdr/cuecue/files/cuecue-0.2.2-fno-common.patch
new file mode 100644
index 00000000000..9eb8b18e838
--- /dev/null
+++ b/app-cdr/cuecue/files/cuecue-0.2.2-fno-common.patch
@@ -0,0 +1,11 @@
+--- a/src/libcuecue/cuecue_internal.h
++++ b/src/libcuecue/cuecue_internal.h
+@@ -57,7 +57,7 @@
+ typedef int (*FUNC_DECODER)(char* file_source, char* file_destination, PROGRESS_CALLBACK callback);
+
+ #define CUECUE_ERROR_LENGTH 1024
+-char cuecue_error[CUECUE_ERROR_LENGTH];
++extern char cuecue_error[CUECUE_ERROR_LENGTH];
+
+ #endif /* __CUECUE_INTERNAL__ */
+