mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
opus: gcc2 build fix.
This commit is contained in:
@@ -34,6 +34,8 @@ CHECKSUM_SHA256="9b84ff56bd7720d5554103c557664efac2b8b18acc4bbcc234cb881ab9a3371
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PATCHES="opus-$portVersion.patchset"
|
||||
|
||||
PROVIDES="
|
||||
opus$secondaryArchSuffix = $portVersion compat >= 1
|
||||
lib:libopus$secondaryArchSuffix = 0.5.1 compat >= 0
|
||||
|
||||
39
media-libs/opus/patches/opus-1.1.1.patchset
Normal file
39
media-libs/opus/patches/opus-1.1.1.patchset
Normal file
@@ -0,0 +1,39 @@
|
||||
From e9aeb2c1e9fc7eaf03adc91e79e905fe1256c4a1 Mon Sep 17 00:00:00 2001
|
||||
From: Jerome Duval <jerome.duval@gmail.com>
|
||||
Date: Tue, 1 Dec 2015 21:42:24 +0000
|
||||
Subject: gcc2 fix
|
||||
|
||||
|
||||
diff --git a/celt/tests/test_unit_dft.c b/celt/tests/test_unit_dft.c
|
||||
index 484dc57..38d37d5 100644
|
||||
--- a/celt/tests/test_unit_dft.c
|
||||
+++ b/celt/tests/test_unit_dft.c
|
||||
@@ -154,8 +154,9 @@ void test1d(int nfft,int isinverse,int arch)
|
||||
|
||||
int main(int argc,char ** argv)
|
||||
{
|
||||
+ int arch;
|
||||
ALLOC_STACK;
|
||||
- int arch = opus_select_arch();
|
||||
+ arch = opus_select_arch();
|
||||
|
||||
if (argc>1) {
|
||||
int k;
|
||||
diff --git a/celt/tests/test_unit_mdct.c b/celt/tests/test_unit_mdct.c
|
||||
index 9e0ac9f..cc1a3f0 100644
|
||||
--- a/celt/tests/test_unit_mdct.c
|
||||
+++ b/celt/tests/test_unit_mdct.c
|
||||
@@ -185,8 +185,9 @@ void test1d(int nfft,int isinverse,int arch)
|
||||
|
||||
int main(int argc,char ** argv)
|
||||
{
|
||||
+ int arch;
|
||||
ALLOC_STACK;
|
||||
- int arch = opus_select_arch();
|
||||
+ arch = opus_select_arch();
|
||||
|
||||
if (argc>1) {
|
||||
int k;
|
||||
--
|
||||
2.2.2
|
||||
|
||||
Reference in New Issue
Block a user