mirror of https://gitee.com/openkylin/twolame.git
changed debian/source/format to native
This commit is contained in:
parent
80ab42673a
commit
7fbd851b70
|
@ -1,25 +0,0 @@
|
|||
From: Sebastian Ramacher <sramacher@debian.org>
|
||||
Date: Tue, 15 Oct 2019 20:13:06 +0200
|
||||
Subject: Fix definition of TL_API under GCC
|
||||
|
||||
---
|
||||
libtwolame/twolame.h | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/libtwolame/twolame.h b/libtwolame/twolame.h
|
||||
index 6bf9734..4348fde 100644
|
||||
--- a/libtwolame/twolame.h
|
||||
+++ b/libtwolame/twolame.h
|
||||
@@ -56,9 +56,9 @@ extern "C" {
|
||||
# endif
|
||||
# endif
|
||||
#else
|
||||
-# ifdef GNUC
|
||||
-# if GNUC >= 4
|
||||
-# define TL_API attribute ((visibility("default")))
|
||||
+# ifdef __GNUC__
|
||||
+# if __GNUC__ >= 4
|
||||
+# define TL_API __attribute__ ((visibility("default")))
|
||||
# else
|
||||
# define TL_API
|
||||
# endif
|
|
@ -1,21 +0,0 @@
|
|||
From: Sebastian Ramacher <sramacher@debian.org>
|
||||
Date: Tue, 15 Oct 2019 20:22:34 +0200
|
||||
Subject: Add missing TL_API
|
||||
|
||||
---
|
||||
libtwolame/twolame.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/libtwolame/twolame.h b/libtwolame/twolame.h
|
||||
index 4348fde..a88e8ac 100644
|
||||
--- a/libtwolame/twolame.h
|
||||
+++ b/libtwolame/twolame.h
|
||||
@@ -263,7 +263,7 @@ TL_API int twolame_encode_buffer_float32(twolame_options * glopts,
|
||||
* \return The number of bytes put in output buffer
|
||||
* or a negative value on error
|
||||
*/
|
||||
-int twolame_encode_buffer_float32_interleaved(twolame_options * glopts,
|
||||
+TL_API int twolame_encode_buffer_float32_interleaved(twolame_options * glopts,
|
||||
const float pcm[],
|
||||
int num_samples,
|
||||
unsigned char *mp2buffer, int mp2buffer_size);
|
|
@ -1,2 +0,0 @@
|
|||
0001-Fix-definition-of-TL_API-under-GCC.patch
|
||||
0002-Add-missing-TL_API.patch
|
|
@ -1 +1 @@
|
|||
3.0 (quilt)
|
||||
3.0 (native)
|
||||
|
|
Loading…
Reference in New Issue