Browse Source

musl/util-vserver: added patches and conf file for musl only builds

stable/0.6
Nagy Karoly Gabriel 11 years ago
parent
commit
9b435f1a5a
  1. 28
      base/musl/pkg/util-vserver/Esetgroups.patch
  2. 27
      base/musl/pkg/util-vserver/fd_set.patch
  3. 16
      base/musl/pkg/util-vserver/util-vserver.conf
  4. 27
      base/musl/pkg/util-vserver/util-vserver.patch

28
base/musl/pkg/util-vserver/Esetgroups.patch

@ -0,0 +1,28 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../musl/pkg/util-vserver/Esetgroups.patch
# Copyright (C) 2014 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
--- util-vserver-0.30.216-pre3054/ensc_wrappers/wrappers-unistd.hc.orig 2013-10-31 14:44:26.000000000 +0200
+++ util-vserver-0.30.216-pre3054/ensc_wrappers/wrappers-unistd.hc 2014-03-14 19:12:34.932828751 +0200
@@ -156,7 +156,7 @@
FatalErrnoError(setgid(gid)==-1, "setgid()");
}
-#if defined(_GRP_H) && (defined(__USE_BSD) || defined(__dietlibc__))
+#if defined(_GRP_H) && (defined(__USE_BSD) || !defined(__GLIBC__))
inline static void
Esetgroups(size_t size, const gid_t *list)
{

27
base/musl/pkg/util-vserver/fd_set.patch

@ -0,0 +1,27 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../musl/pkg/util-vserver/fd_set.patch
# Copyright (C) 2014 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
--- util-vserver-0.30.216-pre3054/src/vshelper-sync.c.orig 2013-10-31 14:44:26.000000000 +0200
+++ util-vserver-0.30.216-pre3054/src/vshelper-sync.c 2014-03-14 22:34:56.983716281 +0200
@@ -28,6 +28,7 @@
#include <signal.h>
#include <stdio.h>
#include <assert.h>
+#include <sys/select.h>
static void
showHelp(int fd, char const *cmd, int res)

16
base/musl/pkg/util-vserver/util-vserver.conf

@ -0,0 +1,16 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../musl/pkg/util-vserver/util-vserver.conf
# Copyright (C) 2014 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
var_append GCC_WRAPPER_APPEND ' ' "-D__WORDSIZE=64"

27
base/musl/pkg/util-vserver/util-vserver.patch

@ -0,0 +1,27 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../musl/pkg/util-vserver/util-vserver.patch
# Copyright (C) 2014 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
--- util-vserver-0.30.216-pre3054/compat.h.orig 2013-10-31 14:44:25.000000000 +0200
+++ util-vserver-0.30.216-pre3054/compat.h 2014-03-14 18:59:20.750464540 +0200
@@ -93,7 +93,7 @@
#endif
-#if defined(__dietlibc__)
+#if !defined(__GLIBC__ )
#define TEMP_FAILURE_RETRY(expression) \
(__extension__ \
({ long int __result;
Loading…
Cancel
Save