summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/libzypp/libzypp/mips-workaround-gcc-tribool-error.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/libzypp/libzypp/mips-workaround-gcc-tribool-error.patch')
-rw-r--r--meta/recipes-extended/libzypp/libzypp/mips-workaround-gcc-tribool-error.patch24
1 files changed, 0 insertions, 24 deletions
diff --git a/meta/recipes-extended/libzypp/libzypp/mips-workaround-gcc-tribool-error.patch b/meta/recipes-extended/libzypp/libzypp/mips-workaround-gcc-tribool-error.patch
deleted file mode 100644
index d01ef70b02..0000000000
--- a/meta/recipes-extended/libzypp/libzypp/mips-workaround-gcc-tribool-error.patch
+++ /dev/null
@@ -1,24 +0,0 @@
1Upstream-Status: Pending
2
3# with gcc 4.3.3 and MIPS target, gcc "internal compiler error: segmentation fault" error
4# occurs when compiling Applydeltarpm.cc. I didn't find the exact reason leading to this
5# error, but it should be related to how boost tribool type is interpreted by g++. So provide
6# this mips workaround for now. We'll come back later to check whether it's still required after
7# upgrading to 4.5.0.
8#
9# Signed-off-by Kevin Tian <kevin.tian@intel.com>, 2010-09-08
10
11diff --git a/zypp/repo/Applydeltarpm.cc b/zypp/repo/Applydeltarpm.cc
12index 7b382be..0d7a1f8 100644
13--- a/zypp/repo/Applydeltarpm.cc
14+++ b/zypp/repo/Applydeltarpm.cc
15@@ -77,7 +77,8 @@ namespace zypp
16 else
17 {
18 // _last is 'indeterminate' or '!have'
19- if ( (_last = have) )
20+ _last = have;
21+ if ( _last )
22 MIL << "Found executable " << prog << endl;
23 else
24 WAR << "No executable " << prog << endl;