Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37866493
en ru br
ALT Linux repos
S:0.42.6-alt5_12

Group :: Sciences/Other
RPM: pd

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: pd-0.42-6-big_endian.patch
Download


Author: Paul Brossier <piem@piem.org>
Description: fix FTBFS on BIG_ENDIAN machines
diff --git a/src/s_audio_alsa.c b/src/s_audio_alsa.c
index a5034c8..bc694b0 100644
--- a/src/s_audio_alsa.c
+++ b/src/s_audio_alsa.c
@@ -469,7 +469,7 @@ int alsa_send_dacs(void)
                 ((char *)(alsa_snd_buf))[3*j+1] = ((s>>8) & 255);
                 ((char *)(alsa_snd_buf))[3*j+2] = ((s>>16) & 255);
 #else
-                fprintf(stderr("big endian 24-bit not supported");
+                fprintf(stderr,"big endian 24-bit not supported");
 #endif
             }
             for (; i < thisdevchans; i++, ch++)
@@ -581,7 +581,7 @@ int alsa_send_dacs(void)
                         * (1./ INT32_MAX);
             }
 #else
-                fprintf(stderr("big endian 24-bit not supported");
+                fprintf(stderr,"big endian 24-bit not supported");
 #endif
         }
         else
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin