coin3: fix build

This commit is contained in:
Enno Boland 2018-01-16 11:34:08 +01:00
parent bbc0d6f54c
commit e48afea089
No known key found for this signature in database
GPG key ID: D09964719BDE9971
2 changed files with 21 additions and 1 deletions

View 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) \

View file

@ -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