Import of pkgsrc-2016Q3

This commit is contained in:
2016-10-14 07:49:11 +02:00
committed by Lionel Sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949749 additions and 377083 deletions

View File

@@ -0,0 +1,17 @@
$NetBSD: patch-librecad_src_main_qc__applicationwindow.cpp,v 1.1 2016/09/05 21:13:21 plunky Exp $
ignore files in the plugins directory that do not contain '.so', as
pkgsrc leaves some .la files there
--- librecad/src/main/qc_applicationwindow.cpp.orig 2016-06-20 18:43:27.000000000 +0000
+++ librecad/src/main/qc_applicationwindow.cpp
@@ -385,6 +385,9 @@ void QC_ApplicationWindow::loadPlugins()
#ifdef Q_OS_MAC
if (!fileName.contains(".dylib"))
continue;
+ #else if defined(Q_OS_UNIX)
+ if (!fileName.contains(".so"))
+ continue;
#endif
if (loadedPluginFileNames.contains(fileName)) {