diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-extended/zypper/zypper/gcc-scope.patch | 20 | ||||
-rw-r--r-- | meta/recipes-extended/zypper/zypper_git.bb | 3 |
2 files changed, 22 insertions, 1 deletions
diff --git a/meta/recipes-extended/zypper/zypper/gcc-scope.patch b/meta/recipes-extended/zypper/zypper/gcc-scope.patch new file mode 100644 index 0000000000..a35c0d91d3 --- /dev/null +++ b/meta/recipes-extended/zypper/zypper/gcc-scope.patch | |||
@@ -0,0 +1,20 @@ | |||
1 | Fix errors like below | ||
2 | |||
3 | | /home/kraj/work/openembedded-core/build/tmp-eglibc/work/qemumips-oe-linux/zypper-1.5.3-git1+2c5bb6ceb99ecd950ef993e43d77bf0569ea0582-r1/git/src/utils/console.cc:55:8: error: '::isatty' has not been declared | ||
4 | | /home/kraj/work/openembedded-core/build/tmp-eglibc/work/qemumips-oe-linux/zypper-1.5.3-git1+2c5bb6ceb99ecd950ef993e43d77bf0569ea0582-r1/git/src/utils/console.cc:55:17: error: 'STDOUT_FILENO' was not declared in this scope | ||
5 | |||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
7 | |||
8 | Upstream-Status: Pending | ||
9 | Index: git/src/utils/console.cc | ||
10 | =================================================================== | ||
11 | --- git.orig/src/utils/console.cc 2012-03-27 19:12:06.171036356 -0700 | ||
12 | +++ git/src/utils/console.cc 2012-03-27 19:12:52.887038622 -0700 | ||
13 | @@ -15,6 +15,7 @@ | ||
14 | #include <readline/readline.h> | ||
15 | #include <readline/history.h> | ||
16 | #include <cstdlib> | ||
17 | +#include <unistd.h> | ||
18 | |||
19 | using namespace std; | ||
20 | |||
diff --git a/meta/recipes-extended/zypper/zypper_git.bb b/meta/recipes-extended/zypper/zypper_git.bb index e5963be5b9..56ccc86221 100644 --- a/meta/recipes-extended/zypper/zypper_git.bb +++ b/meta/recipes-extended/zypper/zypper_git.bb | |||
@@ -5,7 +5,7 @@ LICENSE = "GPLv2+" | |||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=3201406e350b39e05a82e28b5020f413" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=3201406e350b39e05a82e28b5020f413" |
6 | 6 | ||
7 | DEPENDS = "libzypp augeas" | 7 | DEPENDS = "libzypp augeas" |
8 | PR = "r1" | 8 | PR = "r2" |
9 | SRCREV = "2c5bb6ceb99ecd950ef993e43d77bf0569ea0582" | 9 | SRCREV = "2c5bb6ceb99ecd950ef993e43d77bf0569ea0582" |
10 | 10 | ||
11 | inherit cmake | 11 | inherit cmake |
@@ -15,6 +15,7 @@ SRC_URI = "git://github.com/openSUSE/zypper.git;protocol=git \ | |||
15 | file://cmake_libxml2.patch \ | 15 | file://cmake_libxml2.patch \ |
16 | file://dso_linking_change_build_fix.patch \ | 16 | file://dso_linking_change_build_fix.patch \ |
17 | file://rpm5-flag.patch \ | 17 | file://rpm5-flag.patch \ |
18 | file://gcc-scope.patch \ | ||
18 | " | 19 | " |
19 | S = "${WORKDIR}/git" | 20 | S = "${WORKDIR}/git" |
20 | 21 | ||