git » freecad.git » commit 6651240

Use the latest version of soqt and coin to avoid crashing when loading example files

author Alexander Rødseth
2020-10-09 12:50:05 UTC
committer Alexander Rødseth
2020-10-09 12:50:05 UTC
parent c4ea68b07cb9b0f3136c5c4828f410a8fef421c3

Use the latest version of soqt and coin to avoid crashing when loading example files

PKGBUILD +4 -1

diff --git a/PKGBUILD b/PKGBUILD
index 1152c0d..6c0826f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,7 +10,7 @@
 
 pkgname=freecad
 pkgver=0.18.4
-pkgrel=1
+pkgrel=2
 pkgdesc='General purpose 3D CAD modeler'
 arch=(x86_64)
 url='https://freecadweb.org/'
@@ -55,6 +55,9 @@ prepare() {
     ! -wholename "*/Mod/PartDesign/*" \
     -name "*.cpp" -type f \
     -exec sed -i '1i using namespace std;' {} \;
+
+  # Add missing include
+  sed -i '1i \#include <Inventor\/SbByteBuffer.h>' Gui/Quarter/QuarterWidget.cpp
 }
 
 build() {