summaryrefslogtreecommitdiffstats
path: root/main/libvirt/libvirt-1.0.0-remove-uclibc-mkostemp-redefine.patch
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2012-11-05 07:24:38 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2012-11-05 07:24:59 +0000
commite5062519c7d5bb13f50592b08bb332aa3f345c8c (patch)
treeb60358d6503f8ef32971ac977acb1fbc7ec12a4e /main/libvirt/libvirt-1.0.0-remove-uclibc-mkostemp-redefine.patch
parentdefd141cdf47626784ffb405fc9531ad56d257e9 (diff)
downloadaports-e5062519c7d5bb13f50592b08bb332aa3f345c8c.tar.bz2
aports-e5062519c7d5bb13f50592b08bb332aa3f345c8c.tar.xz
main/libvirt: remove uclibc patch from upstream
Diffstat (limited to 'main/libvirt/libvirt-1.0.0-remove-uclibc-mkostemp-redefine.patch')
-rw-r--r--main/libvirt/libvirt-1.0.0-remove-uclibc-mkostemp-redefine.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/main/libvirt/libvirt-1.0.0-remove-uclibc-mkostemp-redefine.patch b/main/libvirt/libvirt-1.0.0-remove-uclibc-mkostemp-redefine.patch
new file mode 100644
index 000000000..f7e5a5e14
--- /dev/null
+++ b/main/libvirt/libvirt-1.0.0-remove-uclibc-mkostemp-redefine.patch
@@ -0,0 +1,14 @@
+--- a/src/util/logging.c
++++ b/src/util/logging.c
+@@ -58,11 +58,6 @@
+
+ #define VIR_FROM_THIS VIR_FROM_NONE
+
+-#ifdef __UCLIBC__
+-/* uclibc does not implement mkostemp GNU extention */
+-#define mkostemp(x,y) mkstemp(x)
+-#endif
+-
+ VIR_ENUM_DECL(virLogSource)
+ VIR_ENUM_IMPL(virLogSource, VIR_LOG_FROM_LAST,
+ "file",