diff --git a/debian/patches/0001-Fix-definition-of-TL_API-under-GCC.patch b/debian/patches/0001-Fix-definition-of-TL_API-under-GCC.patch deleted file mode 100644 index e32877a..0000000 --- a/debian/patches/0001-Fix-definition-of-TL_API-under-GCC.patch +++ /dev/null @@ -1,25 +0,0 @@ -From: Sebastian Ramacher -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 diff --git a/debian/patches/0002-Add-missing-TL_API.patch b/debian/patches/0002-Add-missing-TL_API.patch deleted file mode 100644 index 02721f9..0000000 --- a/debian/patches/0002-Add-missing-TL_API.patch +++ /dev/null @@ -1,21 +0,0 @@ -From: Sebastian Ramacher -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); diff --git a/debian/patches/series b/debian/patches/series deleted file mode 100644 index c78529c..0000000 --- a/debian/patches/series +++ /dev/null @@ -1,2 +0,0 @@ -0001-Fix-definition-of-TL_API-under-GCC.patch -0002-Add-missing-TL_API.patch diff --git a/debian/source/format b/debian/source/format index 163aaf8..89ae9db 100644 --- a/debian/source/format +++ b/debian/source/format @@ -1 +1 @@ -3.0 (quilt) +3.0 (native)