all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 53f226254a19afcd06c563ff4db57450f0dc71f7 1006 bytes (raw)
name: gnu/packages/patches/qtbase-qmake-fix-includedir-in-generated-pkg-config.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
 
From 6088085d3074316dd74639fc6c1233e5862aff11 Mon Sep 17 00:00:00 2001
From: Nick Cao <nickcao@nichi.co>
Date: Fri, 14 Apr 2023 09:34:46 +0800
Subject: [PATCH 03/11] qtbase: qmake: fix includedir in generated pkg-config

---
 qmake/generators/makefile.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp
index 11d2f0ff7df..c78ed0d3485 100644
--- a/qmake/generators/makefile.cpp
+++ b/qmake/generators/makefile.cpp
@@ -3412,8 +3412,7 @@ MakefileGenerator::writePkgConfigFile()
       << varGlue("QMAKE_PKGCONFIG_CFLAGS", "", " ", " ")
         //      << varGlue("DEFINES","-D"," -D"," ")
          ;
-    if (!project->values("QMAKE_DEFAULT_INCDIRS").contains(includeDir))
-        t << "-I${includedir}";
+    t << "-I${includedir}";
     if (target_mode == TARG_MAC_MODE && project->isActiveConfig("lib_bundle")
         && libDir != QLatin1String("/Library/Frameworks")) {
             t << " -F${libdir}";
-- 
2.42.0


debug log:

solving 53f226254a ...
found 53f226254a in https://yhetil.org/guix/7ab3bccb56aef7d6c72a47f41d05836d240492c8.1710135242.git.zhengjunjie@iscas.ac.cn/ ||
	https://yhetil.org/guix/bc18872a7614d817539858083458054025f132a0.1710154350.git.zhengjunjie@iscas.ac.cn/

applying [1/1] https://yhetil.org/guix/7ab3bccb56aef7d6c72a47f41d05836d240492c8.1710135242.git.zhengjunjie@iscas.ac.cn/
diff --git a/gnu/packages/patches/qtbase-qmake-fix-includedir-in-generated-pkg-config.patch b/gnu/packages/patches/qtbase-qmake-fix-includedir-in-generated-pkg-config.patch
new file mode 100644
index 0000000000..53f226254a

1:30: trailing whitespace.
-- 
Checking patch gnu/packages/patches/qtbase-qmake-fix-includedir-in-generated-pkg-config.patch...
1:32: new blank line at EOF.
+
Applied patch gnu/packages/patches/qtbase-qmake-fix-includedir-in-generated-pkg-config.patch cleanly.
warning: 2 lines add whitespace errors.

skipping https://yhetil.org/guix/bc18872a7614d817539858083458054025f132a0.1710154350.git.zhengjunjie@iscas.ac.cn/ for 53f226254a
index at:
100644 53f226254a19afcd06c563ff4db57450f0dc71f7	gnu/packages/patches/qtbase-qmake-fix-includedir-in-generated-pkg-config.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.