summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/libzypp/libzypp/close.patch
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2013-01-23 12:10:11 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-24 20:09:00 +0000
commitfcdc8d7f6d10b3abf9f6a28cff55b1cc89b88bc9 (patch)
tree61c0c97b459479dfec8e4fe4ce2c4eb4216608a0 /meta/recipes-extended/libzypp/libzypp/close.patch
parente90fad58faf9e25479158359c528999b09be1a02 (diff)
downloadpoky-fcdc8d7f6d10b3abf9f6a28cff55b1cc89b88bc9.tar.gz
libzypp: remove
This was only needed by zypper, which has itself been removed. (From OE-Core rev: 5c8169bd1c114aab76001a38ee4dd68d00d825e0) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/libzypp/libzypp/close.patch')
-rw-r--r--meta/recipes-extended/libzypp/libzypp/close.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/meta/recipes-extended/libzypp/libzypp/close.patch b/meta/recipes-extended/libzypp/libzypp/close.patch
deleted file mode 100644
index 0ff1825410..0000000000
--- a/meta/recipes-extended/libzypp/libzypp/close.patch
+++ /dev/null
@@ -1,32 +0,0 @@
1close() is used without a protype therefore we include unistd.h
2Fixes compile errors like below
3
4/home/kraj/work/openembedded-core/build/tmp-eglibc/work/qemuppc-oe-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r18/git/zypp/ExternalProgram.h:239:47: error: '::close' has not been declared
5
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7
8Upstream-Status: Pending
9Index: git/zypp/ExternalProgram.h
10===================================================================
11--- git.orig/zypp/ExternalProgram.h 2012-03-23 08:27:31.716438539 -0700
12+++ git/zypp/ExternalProgram.h 2012-03-23 08:27:54.520439367 -0700
13@@ -16,6 +16,7 @@
14 #include <map>
15 #include <string>
16 #include <vector>
17+#include <unistd.h>
18
19 #include "zypp/base/ExternalDataSource.h"
20 #include "zypp/Pathname.h"
21Index: git/zypp/base/Random.cc
22===================================================================
23--- git.orig/zypp/base/Random.cc 2012-03-23 08:31:09.732449118 -0700
24+++ git/zypp/base/Random.cc 2012-03-23 08:31:36.240450324 -0700
25@@ -3,6 +3,7 @@
26 #include <cstdio>
27 #include <iostream>
28 #include <fcntl.h>
29+#include <unistd.h>
30 #include "zypp/base/Random.h"
31
32 using namespace std;