pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/opencv opencv: Remove another -Werror for GCC...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e489334481f8
branches:  trunk
changeset: 389174:e489334481f8
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Dec 01 13:39:03 2022 +0000

description:
opencv: Remove another -Werror for GCC 12.

diffstat:

 graphics/opencv/Makefile.common |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 9afba2ef1940 -r e489334481f8 graphics/opencv/Makefile.common
--- a/graphics/opencv/Makefile.common   Thu Dec 01 13:28:04 2022 +0000
+++ b/graphics/opencv/Makefile.common   Thu Dec 01 13:39:03 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.15 2022/11/21 18:20:43 jperkin Exp $
+# $NetBSD: Makefile.common,v 1.16 2022/12/01 13:39:03 jperkin Exp $
 # used by graphics/opencv/Makefile
 # used by graphics/opencv-contrib-face/Makefile
 #
@@ -36,6 +36,7 @@
 CMAKE_ARGS.SunOS+=     -DENABLE_PRECOMPILED_HEADERS=OFF
 CMAKE_ARGS.SunOS+=     -DOPENCV_PYTHON_SKIP_LINKER_EXCLUDE_LIBS=ON
 
+BUILDLINK_TRANSFORM+=  rm:-Werror=address
 BUILDLINK_TRANSFORM+=  rm:-Werror=non-virtual-dtor
 
 BUILDLINK_TRANSFORM.SunOS+=    rm:-Wl,--as-needed



Home | Main Index | Thread Index | Old Index