coin3: fix build
This commit is contained in:
parent
bbc0d6f54c
commit
e48afea089
2 changed files with 21 additions and 1 deletions
20
srcpkgs/coin3/patches/fix-missing-deref.patch
Normal file
20
srcpkgs/coin3/patches/fix-missing-deref.patch
Normal file
|
@ -0,0 +1,20 @@
|
|||
--- ./src/3ds/SoStream.cpp.orig 2018-01-16 11:18:58.965420684 +0100
|
||||
+++ ./src/3ds/SoStream.cpp 2018-01-16 11:18:23.140563596 +0100
|
||||
@@ -176,7 +176,7 @@ do { \
|
||||
if (!gotNum) { setBadBit(); return FALSE; } \
|
||||
\
|
||||
char *ce; \
|
||||
- s = '\0'; \
|
||||
+ *s = '\0'; \
|
||||
_convertType_ tempVal = _convertFunc_(buf, &ce, 0); \
|
||||
\
|
||||
if (ce != s) \
|
||||
@@ -273,7 +273,7 @@ do { \
|
||||
gotAll: \
|
||||
\
|
||||
char *ce; \
|
||||
- s = '\0'; \
|
||||
+ *s = '\0'; \
|
||||
double tempVal = _convertFunc_(buf, &ce); \
|
||||
\
|
||||
if (ce != s) \
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'coin3'
|
||||
pkgname=coin3
|
||||
version=3.1.3
|
||||
revision=2
|
||||
revision=3
|
||||
wrksrc="Coin-${version}"
|
||||
patch_args="-Np1"
|
||||
build_style=gnu-configure
|
||||
|
|
Loading…
Reference in a new issue