diff options
Diffstat (limited to 'app-admin/clsync/files/clsync-0.4-unshare-configure.patch')
-rw-r--r-- | app-admin/clsync/files/clsync-0.4-unshare-configure.patch | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/app-admin/clsync/files/clsync-0.4-unshare-configure.patch b/app-admin/clsync/files/clsync-0.4-unshare-configure.patch deleted file mode 100644 index 11d8f01d13e7..000000000000 --- a/app-admin/clsync/files/clsync-0.4-unshare-configure.patch +++ /dev/null @@ -1,38 +0,0 @@ -commit a13f929cfe4a7fad58c7d814a139efff091601e0 -Author: Dmitry Yu Okunev <dyokunev@ut.mephi.ru> -Date: Tue Jan 27 15:51:18 2015 +0300 - - "unshare()" support is configurable now - -diff --git a/configure.ac b/configure.ac -index f474478..059ade0 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -87,6 +87,17 @@ AS_HELP_STRING(--enable-socket-library, - [build libclsync socket library, default: no])) - AM_CONDITIONAL([LIBCLSYNC], [test "x$enable_socket_library" = "xyes"]) - -+dnl --enable-unshare -+AC_ARG_ENABLE(unshare, -+AS_HELP_STRING(--enable-unshare, -+[enable support of unshare(), default: yes]), [], [enable_unshare="yes"]) -+ -+HAVE_UNSHARE=0 -+AS_IF([ test "x$enable_unshare" = "xyes" ], -+[ -+ AC_CHECK_FUNC([unshare], [HAVE_UNSHARE=1], [AC_MSG_FAILURE([Cannot find function unshare()])]) -+]) -+ - dnl --enable-highload-locks - AC_ARG_ENABLE(highload-locks, - AS_HELP_STRING(--enable-highload-locks, -@@ -155,9 +166,6 @@ AC_CHECK_FUNC([getmntent], [HAVE_GETMNTENT=1]) - dnl searching for pivot_root - AC_CHECK_FUNC([pivot_root], [HAVE_PIVOTROOT=1]) - --dnl searching for unshare --AC_CHECK_FUNC([unshare], [HAVE_UNSHARE=1]) -- - dnl libcgroup check - AC_ARG_WITH(libcgroup, - AS_HELP_STRING(--with-libcgroup, |