[SCM] mpg123/master: Don't patch sources directly, use quilt.
alessio at users.alioth.debian.org
alessio at users.alioth.debian.org
Tue Mar 27 10:10:50 UTC 2012
The following commit has been merged in the master branch:
commit 3e45cf570756184cf124a818134aa1ab5dee46e0
Author: Alessio Treglia <alessio at debian.org>
Date: Tue Mar 27 12:10:16 2012 +0200
Don't patch sources directly, use quilt.
diff --git a/debian/patches/0001-disable_not_public_funcs.patch b/debian/patches/0001-disable_not_public_funcs.patch
new file mode 100644
index 0000000..fc66f82
--- /dev/null
+++ b/debian/patches/0001-disable_not_public_funcs.patch
@@ -0,0 +1,35 @@
+---
+ src/libmpg123/dither.c | 2 ++
+ src/libmpg123/dither.h | 2 ++
+ 2 files changed, 4 insertions(+)
+
+--- mpg123.orig/src/libmpg123/dither.h
++++ mpg123/src/libmpg123/dither.h
+@@ -17,7 +17,9 @@ enum mpg123_noise_type
+ ,mpg123_highpass_tpdf_noise
+ };
+
++#if 0
+ void mpg123_noise(float* table, size_t count, enum mpg123_noise_type noisetype);
++#endif
+ void dither_table_init(float *dithertable);
+
+ #endif
+--- mpg123.orig/src/libmpg123/dither.c
++++ mpg123/src/libmpg123/dither.c
+@@ -100,6 +100,7 @@ static void highpass_tpdf_noise(float *t
+ }
+ }
+
++#if 0
+ void mpg123_noise(float* table, size_t count, enum mpg123_noise_type noisetype)
+ {
+ switch(noisetype)
+@@ -111,6 +112,7 @@ void mpg123_noise(float* table, size_t c
+ break;
+ }
+ }
++#endif
+
+ /* Generate white noise and shape it with a high pass filter. */
+ void dither_table_init(float *dithertable)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..bd674ca
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-disable_not_public_funcs.patch
diff --git a/src/libmpg123/dither.c b/src/libmpg123/dither.c
index 35d0a47..30dbdd1 100644
--- a/src/libmpg123/dither.c
+++ b/src/libmpg123/dither.c
@@ -100,7 +100,6 @@ static void highpass_tpdf_noise(float *table, size_t count)
}
}
-#if 0
void mpg123_noise(float* table, size_t count, enum mpg123_noise_type noisetype)
{
switch(noisetype)
@@ -112,7 +111,6 @@ void mpg123_noise(float* table, size_t count, enum mpg123_noise_type noisetype)
break;
}
}
-#endif
/* Generate white noise and shape it with a high pass filter. */
void dither_table_init(float *dithertable)
diff --git a/src/libmpg123/dither.h b/src/libmpg123/dither.h
index ce95cd2..6a6cb3e 100644
--- a/src/libmpg123/dither.h
+++ b/src/libmpg123/dither.h
@@ -17,9 +17,7 @@ enum mpg123_noise_type
,mpg123_highpass_tpdf_noise
};
-#if 0
void mpg123_noise(float* table, size_t count, enum mpg123_noise_type noisetype);
-#endif
void dither_table_init(float *dithertable);
#endif
--
mpg123 packaging
More information about the pkg-multimedia-commits
mailing list