summarylogtreecommitdiffstats
path: root/gcc5fix.patch
diff options
context:
space:
mode:
authorFabioLolix2021-03-01 15:13:18 +0100
committerFabioLolix2021-03-01 15:13:18 +0100
commitec0a1a132c051f5079e2edff84327dabd2e949b9 (patch)
tree68139536c519e1e591eb730e6363ee3d85aa64d6 /gcc5fix.patch
parent280bc9f2217c050f43440f3552da7ef8f2cc1fa0 (diff)
downloadaur-cinelerra-cv.tar.gz
fix build and pkgver
Diffstat (limited to 'gcc5fix.patch')
-rw-r--r--gcc5fix.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/gcc5fix.patch b/gcc5fix.patch
deleted file mode 100644
index 945db186d800..000000000000
--- a/gcc5fix.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From e534e852308abaa667c2579bc0025b0c89689b6f Mon Sep 17 00:00:00 2001
-From: Rashif Rahman (Ray) <schiv@archlinux.org>
-Date: Wed, 10 Jun 2015 02:06:36 +0000
-Subject: [PATCH] GCC 5.x inline function semantics fix
-
-The compiler will warn and the linker will fail if an inline
-function is declared but not defined in the same translation
-unit. This fixes the problem by prepending 'extern' to the
-declaration in the header file.
-
-For a proper explanation see:
-https://gcc.gnu.org/gcc-5/porting_to.html
-
----
- toolame-02l/bitstream.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/toolame-02l/bitstream.h b/toolame-02l/bitstream.h
-index 66f8ae4..db67ac5 100644
---- a/toolame-02l/bitstream.h
-+++ b/toolame-02l/bitstream.h
-@@ -9,7 +9,7 @@ unsigned int get1bit (Bit_stream_struc *);
- void put1bit (Bit_stream_struc *, int);
- unsigned long look_ahead (Bit_stream_struc *, int);
- unsigned long getbits (Bit_stream_struc *, int);
--INLINE void putbits (Bit_stream_struc *, unsigned int, int);
-+extern INLINE void putbits (Bit_stream_struc *, unsigned int, int);
- void byte_ali_putbits (Bit_stream_struc *, unsigned int, int);
- unsigned long byte_ali_getbits (Bit_stream_struc *, int);
- unsigned long sstell (Bit_stream_struc *);
---
-2.4.2
-