Skip to content
Commits on Source (4)
sfcgal (1.3.7-4) unstable; urgency=medium
[ Gianfranco Costamagna ]
* Reduce debug info also on arm64 to fix a build failure
[ Bas Couwenberg ]
* Add gmpxx to `sfcgal-config --libs`.
* Add libgmp-dev to libsfcgal-dev dependencies.
* Update symbols for other architectures.
-- Bas Couwenberg <sebastic@debian.org> Sun, 08 Dec 2019 18:41:57 +0100
sfcgal (1.3.7-3) unstable; urgency=medium
[ Bas Couwenberg ]
......
......@@ -40,6 +40,7 @@ Architecture: any
Section: libdevel
Depends: libsfcgal1 (= ${binary:Version}),
libcgal-dev (>= 4.10.1),
libgmp-dev,
${misc:Depends}
Description: Library for ISO 19107:2013 and OGC SFA 1.2 for 3D operations (development)
SFCGAL is a C++ wrapper library around CGAL with the aim of
......
This diff is collapsed.
no-c++98.patch
fix-ftbfs-with-cgal-5.x.patch
fix-linker-error.patch
sfcgal-config.patch
Description: Add gmpxx to `sfcgal-config --libs`.
Fixes link errors:
.
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libSFCGAL.so: undefined reference to `operator>>(std::istream&, __mpz_struct*)'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libSFCGAL.so: undefined reference to `operator<<(std::ostream&, __mpz_struct const*)'
Author: Bas Couwenberg <sebastic@debian.org>
--- a/sfcgal-config.in
+++ b/sfcgal-config.in
@@ -38,7 +38,7 @@ case $1 in
echo -I${prefix}/include
;;
--libs)
- echo -L${libdir} -l@SFCGAL_LIB_NAME@
+ echo -L${libdir} -l@SFCGAL_LIB_NAME@ -lgmpxx
;;
--ldflags)
echo -L${libdir}
......@@ -13,7 +13,7 @@ DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
# reduce debug info to fix FTBFS on archs with few address space
ifneq (,$(filter $(DEB_HOST_ARCH), mips mipsel))
ifneq (,$(filter $(DEB_HOST_ARCH),arm64 mips mipsel))
CMAKECXXFLAGS="-DCMAKE_CXX_FLAGS_RELWITHDEBINFO=' -O2 -g1 -DNDEBUG'"
endif
......