Accepting request 890290 from home:jirislaby:branches:graphics
- add add-boost-tuple-include-to-fix-build.patch OBS-URL: https://build.opensuse.org/request/show/890290 OBS-URL: https://build.opensuse.org/package/show/graphics/librecad?expand=0&rev=56
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package librecad
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -42,6 +42,7 @@ Patch6: librecad-install.diff
|
||||
Patch7: librecad-plugindir.diff
|
||||
Patch8: librecad-use-system-shapelib.patch
|
||||
Patch9: 0001-fix-build-with-gcc-9.patch
|
||||
Patch10: add-boost-tuple-include-to-fix-build.patch
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: freetype2-devel
|
||||
BuildRequires: gcc-c++ >= 4.7
|
||||
@@ -85,7 +86,7 @@ CAD drawings.
|
||||
%setup -qn LibreCAD-%version -a 2 -a 3 -a 4
|
||||
%autopatch -p1
|
||||
|
||||
dxfrw_includedir=$(pkg-config --cflags-only-I libdxfrw0 | sed 's|-I||g')
|
||||
dxfrw_includedir=$(pkg-config --cflags-only-I libdxfrw | sed 's|-I||g')
|
||||
|
||||
# Fix paths
|
||||
sed -i 's|##LIBDIR##|%_libdir|g' librecad/src/lib/engine/rs_system.cpp
|
||||
|
Reference in New Issue
Block a user