[arch-commits] Commit in prusa-slicer/trunk (PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Mon Dec 7 01:00:01 UTC 2020


    Date: Monday, December 7, 2020 @ 00:59:45
  Author: foutrelis
Revision: 771346

Fix build with boost 1.73

Modified:
  prusa-slicer/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++++++
 1 file changed, 8 insertions(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-07 00:36:35 UTC (rev 771345)
+++ PKGBUILD	2020-12-07 00:59:45 UTC (rev 771346)
@@ -11,10 +11,18 @@
 makedepends=(cmake boost cereal eigen expat gtest libpng systemd)
 replaces=(slic3r-prusa3d)
 source=(${url}/archive/version_${pkgver}/${pkgname}-${pkgver}.tar.gz
+        ${pkgname}-boost-1.73.patch::${url}/commit/3a194f918716.patch
         ${pkgname}.desktop)
 sha256sums=('e6e0c83bf92e448ec058fd3063b84caca69f58b8b419e48eace6e8ce534937c0'
+            '630b9db185ef3891387f3ade3eb29611eef7f7fc3fd8579b84864b936abf4b6f'
             '9d21467c541b809f149b39c7c6b4f60b2c866823021fb6f8a076290583982d11')
 
+prepare() {
+  cd PrusaSlicer-version_${pkgver}
+  sed -i '1i\#include <atomic>' src/slic3r/GUI/Mouse3DController.hpp
+  patch -Np1 -i ../${pkgname}-boost-1.73.patch
+}
+
 build() {
   cmake -B build -S PrusaSlicer-version_${pkgver} \
     -DCMAKE_INSTALL_PREFIX=/usr \



More information about the arch-commits mailing list