csound: fix i686* and *-musl builds
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
89f069c004
commit
ae123c6f7e
3 changed files with 32 additions and 0 deletions
11
srcpkgs/csound/patches/buffersize.patch
Normal file
11
srcpkgs/csound/patches/buffersize.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- OOps/ugrw1.c 2018-05-10 10:31:20.000000000 +0200
|
||||
+++ OOps/ugrw1.c 2018-05-13 10:40:15.438512047 +0200
|
||||
@@ -1057,7 +1057,7 @@
|
||||
*/
|
||||
static int32_t sprints(char *outstring, char *fmt, MYFLT **kvals, int32_t numVals)
|
||||
{
|
||||
- char tmp[8],cc;
|
||||
+ char tmp[10],cc;
|
||||
int32_t j = 0;
|
||||
int32_t len = 8192;
|
||||
while (*fmt) {
|
|
@ -9,3 +9,14 @@
|
|||
#include <execinfo.h>
|
||||
|
||||
{
|
||||
--- Opcodes/linuxjoystick.c 2018-05-10 10:31:20.000000000 +0200
|
||||
+++ Opcodes/linuxjoystick.c 2018-05-13 10:47:51.360535568 +0200
|
||||
@@ -36,7 +36,7 @@
|
||||
*/
|
||||
|
||||
#include "linuxjoystick.h"
|
||||
-#include <sys/errno.h>
|
||||
+#include <errno.h>
|
||||
|
||||
static int32_t linuxjoystick (CSOUND *csound, LINUXJOYSTICK *stick)
|
||||
{
|
||||
|
|
10
srcpkgs/csound/patches/unused-variable.patch
Normal file
10
srcpkgs/csound/patches/unused-variable.patch
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- Top/threadsafe.c 2018-05-10 10:31:20.000000000 +0200
|
||||
+++ Top/threadsafe.c 2018-05-13 10:45:03.246526895 +0200
|
||||
@@ -551,6 +551,7 @@
|
||||
csoundSpinLock(lock);
|
||||
*pval = val;
|
||||
csoundSpinUnLock(lock);
|
||||
+ (void)x;
|
||||
}
|
||||
#endif
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue