pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/graphics/opencv
Module Name: pkgsrc
Committed By: thor
Date: Fri Dec 22 14:30:55 UTC 2023
Modified Files:
pkgsrc/graphics/opencv: Makefile.common
Log Message:
graphics/opencv: disable stupid extern "C" that broke NetBSD build
For no good reason, perhaps for ancient LAPACK headers, the wrapper header
puts the includes into extern "C". This causes some compilers to complain
because LAPACK headers do C++ stuff if they see a C++ compiler and then
add extern "C" themselves.
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/graphics/opencv/Makefile.common
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/graphics/opencv/Makefile.common
diff -u pkgsrc/graphics/opencv/Makefile.common:1.18 pkgsrc/graphics/opencv/Makefile.common:1.19
--- pkgsrc/graphics/opencv/Makefile.common:1.18 Fri Dec 22 07:35:07 2023
+++ pkgsrc/graphics/opencv/Makefile.common Fri Dec 22 14:30:55 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.18 2023/12/22 07:35:07 thor Exp $
+# $NetBSD: Makefile.common,v 1.19 2023/12/22 14:30:55 thor Exp $
# used by graphics/opencv/Makefile
# used by graphics/opencv-contrib-face/Makefile
#
@@ -46,6 +46,7 @@ CMAKE_ARGS+= -DBLA_PKGCONFIG_BLAS=${BLA
CMAKE_ARGS+= -DBLA_PKGCONFIG_LAPACK=${LAPACK_PC}
CMAKE_ARGS+= -DBLA_PKGCONFIG_CBLAS=${CBLAS_PC}
CMAKE_ARGS+= -DBLA_PKGCONFIG_LAPACKE=${LAPACKE_PC}
+CMAKE_ARGS+= -DOPENCV_SKIP_LAPACK_EXTERN_C=ON
BUILDLINK_TRANSFORM+= rm:-Werror=address
BUILDLINK_TRANSFORM+= rm:-Werror=non-virtual-dtor
Home |
Main Index |
Thread Index |
Old Index