summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch')
-rw-r--r--recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch24
1 files changed, 12 insertions, 12 deletions
diff --git a/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch b/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch
index af85fe9d..b28ca8b6 100644
--- a/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch
+++ b/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch
@@ -1,4 +1,4 @@
1From 79f881eaa0a4a980963ce4ea1bc4c5e26c640c9a Mon Sep 17 00:00:00 2001 1From d6c75f788e15fb552eacb08359698a1342a97f20 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com> 2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Mon, 15 Apr 2013 04:29:32 +0200 3Date: Mon, 15 Apr 2013 04:29:32 +0200
4Subject: [PATCH] Add linux-oe-g++ platform 4Subject: [PATCH] Add linux-oe-g++ platform
@@ -56,10 +56,10 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
56 create mode 100644 mkspecs/linux-oe-g++/qplatformdefs.h 56 create mode 100644 mkspecs/linux-oe-g++/qplatformdefs.h
57 57
58diff --git a/configure b/configure 58diff --git a/configure b/configure
59index b65c564..ffe6931 100755 59index 0ba0c31..052872e 100755
60--- a/configure 60--- a/configure
61+++ b/configure 61+++ b/configure
62@@ -339,6 +339,16 @@ getQMakeConf() 62@@ -333,6 +333,16 @@ getQMakeConf()
63 getSingleQMakeVariable "$1" "$specvals" 63 getSingleQMakeVariable "$1" "$specvals"
64 } 64 }
65 65
@@ -76,8 +76,8 @@ index b65c564..ffe6931 100755
76 getXQMakeConf() 76 getXQMakeConf()
77 { 77 {
78 if [ -z "$xspecvals" ]; then 78 if [ -z "$xspecvals" ]; then
79@@ -348,6 +358,16 @@ getXQMakeConf() 79@@ -357,6 +367,16 @@ testXConfig()
80 getSingleQMakeVariable "$1" "$xspecvals" 80 esac
81 } 81 }
82 82
83+# OE qmake.conf is reading some variables from shell env 83+# OE qmake.conf is reading some variables from shell env
@@ -93,7 +93,7 @@ index b65c564..ffe6931 100755
93 compilerSupportsFlag() 93 compilerSupportsFlag()
94 { 94 {
95 cat >conftest.cpp <<EOF 95 cat >conftest.cpp <<EOF
96@@ -569,24 +589,14 @@ fi 96@@ -578,24 +598,14 @@ fi
97 # initalize variables 97 # initalize variables
98 #------------------------------------------------------------------------------- 98 #-------------------------------------------------------------------------------
99 99
@@ -124,7 +124,7 @@ index b65c564..ffe6931 100755
124 fi'` 124 fi'`
125 eval "$cmd" 125 eval "$cmd"
126 done 126 done
127@@ -3428,7 +3438,7 @@ if [ "$XPLATFORM_MAC" = "yes" ]; then 127@@ -3443,7 +3453,7 @@ if [ "$XPLATFORM_MAC" = "yes" ]; then
128 [ "$CFG_GTK" = "auto" ] && CFG_GTK=no 128 [ "$CFG_GTK" = "auto" ] && CFG_GTK=no
129 fi 129 fi
130 130
@@ -133,7 +133,7 @@ index b65c564..ffe6931 100755
133 133
134 TEST_COMPILER=$QMAKE_CONF_COMPILER 134 TEST_COMPILER=$QMAKE_CONF_COMPILER
135 135
136@@ -3479,7 +3489,7 @@ if [ "$XPLATFORM_ANDROID" = "yes" ] ; then 136@@ -3494,7 +3504,7 @@ if [ "$XPLATFORM_ANDROID" = "yes" ] ; then
137 fi 137 fi
138 fi 138 fi
139 139
@@ -142,7 +142,7 @@ index b65c564..ffe6931 100755
142 142
143 GCC_MACHINE_DUMP= 143 GCC_MACHINE_DUMP=
144 case "$TEST_COMPILER" in *g++) GCC_MACHINE_DUMP=$($TEST_COMPILER -dumpmachine);; esac 144 case "$TEST_COMPILER" in *g++) GCC_MACHINE_DUMP=$($TEST_COMPILER -dumpmachine);; esac
145@@ -3878,6 +3888,14 @@ setBootstrapVariable() 145@@ -3893,6 +3903,14 @@ setBootstrapVariable()
146 getQMakeConf "$1" | echo ${2-$1} = `if [ -n "$3" ]; then sed "$3"; else cat; fi` >> "$mkfile" 146 getQMakeConf "$1" | echo ${2-$1} = `if [ -n "$3" ]; then sed "$3"; else cat; fi` >> "$mkfile"
147 } 147 }
148 148
@@ -157,7 +157,7 @@ index b65c564..ffe6931 100755
157 # build qmake 157 # build qmake
158 if true; then ###[ '!' -f "$outpath/bin/qmake" ]; 158 if true; then ###[ '!' -f "$outpath/bin/qmake" ];
159 echo "Creating qmake..." 159 echo "Creating qmake..."
160@@ -3977,6 +3995,7 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ]; 160@@ -3986,6 +4004,7 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ];
161 EXEEXT= 161 EXEEXT=
162 ;; 162 ;;
163 esac 163 esac
@@ -166,10 +166,10 @@ index b65c564..ffe6931 100755
166 echo "COCOA_LFLAGS =-framework Foundation -framework CoreServices" >>"$mkfile" 166 echo "COCOA_LFLAGS =-framework Foundation -framework CoreServices" >>"$mkfile"
167 echo "CARBON_LFLAGS =-framework ApplicationServices" >>"$mkfile" 167 echo "CARBON_LFLAGS =-framework ApplicationServices" >>"$mkfile"
168diff --git a/mkspecs/features/configure.prf b/mkspecs/features/configure.prf 168diff --git a/mkspecs/features/configure.prf b/mkspecs/features/configure.prf
169index 92c288c..f3019e0 100644 169index a890c7f..151630c 100644
170--- a/mkspecs/features/configure.prf 170--- a/mkspecs/features/configure.prf
171+++ b/mkspecs/features/configure.prf 171+++ b/mkspecs/features/configure.prf
172@@ -63,14 +63,14 @@ defineTest(qtCompileTest) { 172@@ -71,14 +71,14 @@ defineTest(qtCompileTest) {
173 } 173 }
174 174
175 # Clean up after previous run 175 # Clean up after previous run