[SCM] lame/master: Fix compiler warning on machines not i386 or amd64.
ceros-guest at users.alioth.debian.org
ceros-guest at users.alioth.debian.org
Tue Aug 2 03:06:44 UTC 2011
The following commit has been merged in the master branch:
commit ea7ad8be2350e705e189fd23275e88d183270d46
Author: Andres Mejia <mcitadel at gmail.com>
Date: Mon Aug 1 23:06:09 2011 -0400
Fix compiler warning on machines not i386 or amd64.
diff --git a/debian/changelog b/debian/changelog
index 9e7ca96..87542cd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+lame (3.98.4+repack2-4) unstable; urgency=low
+
+ * Fix compiler warning on machines not i386 or amd64.
+
+ -- Andres Mejia <amejia at debian.org> Mon, 01 Aug 2011 22:52:40 -0400
+
lame (3.98.4+repack2-3) unstable; urgency=low
* normalize fields in debian/control with 'wrap-and-sort(1)'
diff --git a/debian/patches/portableio-compiler-warning-fix.patch b/debian/patches/portableio-compiler-warning-fix.patch
new file mode 100644
index 0000000..74b97ed
--- /dev/null
+++ b/debian/patches/portableio-compiler-warning-fix.patch
@@ -0,0 +1,14 @@
+Description: Fix compiler warning on machines other than i386 and amd64.
+Origin: http://anonscm.debian.org/gitweb/?p=pkg-multimedia/lame.git;a=tree;f=debian/patches
+
+--- a/frontend/portableio.h
++++ b/frontend/portableio.h
+@@ -146,7 +146,7 @@
+ /* Take advantage of 80-bit precision of long double from GNU C compiler */
+ return BytesToLongDouble(&bytes);
+ #else
+- ReadBytes(fp, &bytes, sizeof(bytes));
++ ReadBytes(fp, bytes, sizeof(bytes));
+ double val;
+ uint32_t mantissa_high, mantissa_low;
+ int16_t exponent;
diff --git a/debian/patches/series b/debian/patches/series
index 5d351a4..323e026 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
07-field-width-fix.patch
license-ouput-change.patch
parallel-builds-fix.patch
+portableio-compiler-warning-fix.patch
--
lame packaging
More information about the pkg-multimedia-commits
mailing list