pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/qt5-qtwebengine



Module Name:    pkgsrc
Committed By:   riastradh
Date:           Sat Jan 25 21:15:48 UTC 2025

Modified Files:
        pkgsrc/x11/qt5-qtwebengine: Makefile

Log Message:
x11/qt5-qtwebengine: Use mk/atomic64.mk.

On i386, this fails with, e.g.:

/usr/bin/ld: obj/v8/v8_base_without_compiler/api.o: in function `v8::Isolate::AdjustAmountOfExternalAllocatedMemory(long long)':
api.cc:(.text._ZN2v87Isolate37AdjustAmountOfExternalAllocatedMemoryEx+0x28): undefined reference to `__atomic_fetch_add_8'
/usr/bin/ld: api.cc:(.text._ZN2v87Isolate37AdjustAmountOfExternalAllocatedMemoryEx+0x48): undefined reference to `__atomic_load_8'

It's probably going to fail to build in the same way on all platforms
without native 64-bit atomics.  On platforms with native 64-bit
atomics, mk/atomic64.mk has no effect, so this should be harmless --
let's just flip it on and see if that helps with 32-bit platforms.


To generate a diff of this commit:
cvs rdiff -u -r1.78 -r1.79 pkgsrc/x11/qt5-qtwebengine/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/x11/qt5-qtwebengine/Makefile
diff -u pkgsrc/x11/qt5-qtwebengine/Makefile:1.78 pkgsrc/x11/qt5-qtwebengine/Makefile:1.79
--- pkgsrc/x11/qt5-qtwebengine/Makefile:1.78    Tue Nov 19 22:46:14 2024
+++ pkgsrc/x11/qt5-qtwebengine/Makefile Sat Jan 25 21:15:48 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.78 2024/11/19 22:46:14 adam Exp $
+# $NetBSD: Makefile,v 1.79 2025/01/25 21:15:48 riastradh Exp $
 # FIXME: build fails when protobuf and abseil packages are installed.
 
 DISTNAME=      qtwebengine-everywhere-opensource-src-${QTVERSION}
@@ -105,6 +105,7 @@ MAKE_ENV+=  OSX_VERSION=${OSX_VERSION}
 PYTHON_FOR_BUILD_ONLY= tool
 .include "../../lang/python/batteries-included.mk"
 .include "../../lang/python/tool.mk"
+.include "../../mk/atomic64.mk"
 .include "../../multimedia/ffmpeg5/buildlink3.mk"
 .include "../../multimedia/libvpx/buildlink3.mk"
 .include "../../print/libcups/buildlink3.mk"



Home | Main Index | Thread Index | Old Index