[BACK]Return to patch-src_corelib_global_qversiontagging.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / x11 / qt6-qtbase / patches

File: [cvs.NetBSD.org] / pkgsrc / x11 / qt6-qtbase / patches / patch-src_corelib_global_qversiontagging.h (download)

Revision 1.1, Thu Nov 24 11:11:38 2022 UTC (2 months, 1 week ago) by nros
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4, HEAD

Add qt6-qtbase version 6.4.1 to pkgsrc-current

Qt6-qtbase is version 6 of the qtbase package
of the Qt C++ GUI framework.
This commit also adds qt6 meta-package needed
for versioning and to be filled with more
packages.

$NetBSD: patch-src_corelib_global_qversiontagging.h,v 1.1 2022/11/24 11:11:38 nros Exp $

* remove redefine warnings when QT_NO_VERSION_TAGGING is defined

--- src/corelib/global/qversiontagging.h.orig	2022-10-23 21:39:46.764900043 +0000
+++ src/corelib/global/qversiontagging.h
@@ -73,7 +73,7 @@ struct QVersionTag
 };
 }
 
-#if defined(QT_BUILD_CORE_LIB) || defined(QT_BOOTSTRAPPED) || defined(QT_STATIC)
+#if !defined(QT_NO_VERSION_TAGGING) && (defined(QT_BUILD_CORE_LIB) || defined(QT_BOOTSTRAPPED) || defined(QT_STATIC))
 // don't make tags in QtCore, bootstrapped systems or if the user asked not to
 #  define QT_NO_VERSION_TAGGING
 #endif