Hi again,

On Tue, Apr 24, 2012 at 11:14:35AM +0100, Iain Lane wrote:
> Package: moc
> Version: 1:2.5.0~alpha4+svn20120224-1
> Severity: normal
> Tags: patch
> User: [email protected]
> Usertags: origin-ubuntu precise ubuntu-patch
> 
> Hi there,
> 
> This is a patch to fix an FTBFS we saw in Ubuntu, but as it's a syntax
> error I guess you want the fix too. :-)

Erm, /this/ is the patch. :(

Thanks,

-- 
Iain Lane                                  [ [email protected] ]
Debian Developer                                   [ [email protected] ]
Ubuntu Developer                                   [ [email protected] ]
PhD student                                       [ [email protected] ]
diff -Nru moc-2.5.0~alpha4+svn20120224/debian/changelog 
moc-2.5.0~alpha4+svn20120224/debian/changelog
diff -Nru moc-2.5.0~alpha4+svn20120224/debian/patches/04_fix_syntax_error 
moc-2.5.0~alpha4+svn20120224/debian/patches/04_fix_syntax_error
--- moc-2.5.0~alpha4+svn20120224/debian/patches/04_fix_syntax_error     
1970-01-01 01:00:00.000000000 +0100
+++ moc-2.5.0~alpha4+svn20120224/debian/patches/04_fix_syntax_error     
2012-04-24 10:33:22.000000000 +0100
@@ -0,0 +1,14 @@
+Description: Fix syntax error (superfluous closing paren)
+Author: Iain Lane <[email protected]>
+
+--- moc-2.5.0~alpha4+svn20120224.orig/audio_conversion.c
++++ moc-2.5.0~alpha4+svn20120224/audio_conversion.c
+@@ -151,7 +151,7 @@ static void float_to_u16 (const float *i
+ #ifdef HAVE_LRINTF
+                       *out_val = (unsigned int)((lrintf(f) >> 16) - 
INT16_MIN);
+ #else
+-                      *out_val = (unsigned int)(((int)f >> 16)) - INT16_MIN);
++                      *out_val = (unsigned int)(((int)f >> 16) - INT16_MIN);
+ #endif
+               }
+       }
diff -Nru moc-2.5.0~alpha4+svn20120224/debian/patches/series 
moc-2.5.0~alpha4+svn20120224/debian/patches/series
--- moc-2.5.0~alpha4+svn20120224/debian/patches/series  2012-02-25 
13:21:36.000000000 +0000
+++ moc-2.5.0~alpha4+svn20120224/debian/patches/series  2012-04-24 
10:36:59.000000000 +0100
@@ -1,3 +1,4 @@
 01_moc-r2410+allow_ogg_streams-2.patch
 02_moc-r2410+debian_sidplay2-4.patch
 03_moc-r2410+null_extn-2.patch
+04_fix_syntax_error

Attachment: signature.asc
Description: Digital signature

Reply via email to