diff --git a/srcpkgs/coin3/patches/fix-missing-deref.patch b/srcpkgs/coin3/patches/fix-missing-deref.patch new file mode 100644 index 0000000000..8c50078b8b --- /dev/null +++ b/srcpkgs/coin3/patches/fix-missing-deref.patch @@ -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) \ diff --git a/srcpkgs/coin3/template b/srcpkgs/coin3/template index a368f7ac0c..46b14e99d2 100644 --- a/srcpkgs/coin3/template +++ b/srcpkgs/coin3/template @@ -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