aboutsummaryrefslogtreecommitdiff
path: root/graphics/meshlab/patches/612388c42d00ab8eba1d9626a7da33a18c724d76.patch
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2017-04-19 22:52:08 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-22 08:10:47 +0700
commit655aa63537a29467c4a0bb55644034fcd6829906 (patch)
treefb2f2506b7ceea8f126a1ab576e1c15d6f77d05e /graphics/meshlab/patches/612388c42d00ab8eba1d9626a7da33a18c724d76.patch
parentb1944c22f3c850c38f9fea264d06075a000ce472 (diff)
graphics/meshlab: Updated for version 2016.12.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'graphics/meshlab/patches/612388c42d00ab8eba1d9626a7da33a18c724d76.patch')
-rw-r--r--graphics/meshlab/patches/612388c42d00ab8eba1d9626a7da33a18c724d76.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/graphics/meshlab/patches/612388c42d00ab8eba1d9626a7da33a18c724d76.patch b/graphics/meshlab/patches/612388c42d00ab8eba1d9626a7da33a18c724d76.patch
new file mode 100644
index 0000000000000..d0b7abcdd2479
--- /dev/null
+++ b/graphics/meshlab/patches/612388c42d00ab8eba1d9626a7da33a18c724d76.patch
@@ -0,0 +1,28 @@
+From 612388c42d00ab8eba1d9626a7da33a18c724d76 Mon Sep 17 00:00:00 2001
+From: bartoszek <bartus@yopmail.com>
+Date: Sun, 15 Jan 2017 22:19:18 +0100
+Subject: [PATCH] add missing linker flag for linux
+
+also extend post link file copying to include linux build ( linking is somewhat strange but wont work without )
+---
+ src/meshlabplugins/filter_screened_poisson/filter_screened_poisson.pro | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/src/meshlabplugins/filter_screened_poisson/filter_screened_poisson.pro b/src/meshlabplugins/filter_screened_poisson/filter_screened_poisson.pro
+index 814bd31..a93f67a 100644
+--- a/src/meshlabplugins/filter_screened_poisson/filter_screened_poisson.pro
++++ b/src/meshlabplugins/filter_screened_poisson/filter_screened_poisson.pro
+@@ -2,6 +2,7 @@ include (../../shared.pri)
+
+ macx:QMAKE_CXX = clang++-mp-3.9
+ macx:QMAKE_LFLAGS += -L/opt/local/lib/libomp -lomp
++linux:QMAKE_LFLAGS += -lgomp
+ macx:QMAKE_CXXFLAGS_RELEASE+= -O3 -DRELEASE -funroll-loops -ffast-math -Wno-sign-compare -Wno-unused-parameter
+
+ QMAKE_CXXFLAGS+=-fopenmp
+@@ -22,4 +23,4 @@ DEFINES += FOR_RELEASE
+
+ #PRE_TARGETDEPS += ./filter_screened_poisson.xml
+ macx:QMAKE_POST_LINK = "cp "$$_PRO_FILE_PWD_/$$TARGET".xml ../../distrib/plugins/"$$TARGET".xml"
+-
++linux:QMAKE_POST_LINK = "cp "$$_PRO_FILE_PWD_/$$TARGET".xml ../../distrib/plugins/"$$TARGET".xml; cd ../../distrib/plugins/ ; ln -s "$$TARGET".xml lib"$$TARGET".xml"