summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'core/etc/portage/patches/sys-libs/nss_wrapper/nss_wrapper-1.1.3-fix-missing-struct-nss_status.patch')
-rw-r--r--core/etc/portage/patches/sys-libs/nss_wrapper/nss_wrapper-1.1.3-fix-missing-struct-nss_status.patch42
1 files changed, 0 insertions, 42 deletions
diff --git a/core/etc/portage/patches/sys-libs/nss_wrapper/nss_wrapper-1.1.3-fix-missing-struct-nss_status.patch b/core/etc/portage/patches/sys-libs/nss_wrapper/nss_wrapper-1.1.3-fix-missing-struct-nss_status.patch
deleted file mode 100644
index 17b2c40..0000000
--- a/core/etc/portage/patches/sys-libs/nss_wrapper/nss_wrapper-1.1.3-fix-missing-struct-nss_status.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-diff -Naur nss_wrapper-1.1.3.orig/src/nss_wrapper.c nss_wrapper-1.1.3/src/nss_wrapper.c
---- nss_wrapper-1.1.3.orig/src/nss_wrapper.c 2016-03-17 19:26:09.000000000 +0000
-+++ nss_wrapper-1.1.3/src/nss_wrapper.c 2016-04-15 05:52:47.088000000 +0000
-@@ -96,7 +96,16 @@
- # define NSS_STATUS_UNAVAIL NSS_UNAVAIL
- # define NSS_STATUS_TRYAGAIN NSS_TRYAGAIN
- #else
--# error "No nsswitch support detected"
-+enum nss_status
-+{
-+ NSS_STATUS_TRYAGAIN = -2,
-+ NSS_STATUS_UNAVAIL,
-+ NSS_STATUS_NOTFOUND,
-+ NSS_STATUS_SUCCESS,
-+ NSS_STATUS_RETURN
-+};
-+
-+typedef enum nss_status NSS_STATUS;
- #endif
-
- #ifndef PTR_DIFF
-diff -Naur nss_wrapper-1.1.3.orig/tests/nss_nwrap.c nss_wrapper-1.1.3/tests/nss_nwrap.c
---- nss_wrapper-1.1.3.orig/tests/nss_nwrap.c 2013-12-20 08:10:18.000000000 +0000
-+++ nss_wrapper-1.1.3/tests/nss_nwrap.c 2016-04-15 05:53:05.580000000 +0000
-@@ -21,7 +21,16 @@
- # define NSS_STATUS_UNAVAIL NSS_UNAVAIL
- # define NSS_STATUS_TRYAGAIN NSS_TRYAGAIN
- #else
--# error "No nsswitch support detected"
-+enum nss_status
-+{
-+ NSS_STATUS_TRYAGAIN = -2,
-+ NSS_STATUS_UNAVAIL,
-+ NSS_STATUS_NOTFOUND,
-+ NSS_STATUS_SUCCESS,
-+ NSS_STATUS_RETURN
-+};
-+
-+typedef enum nss_status NSS_STATUS;
- #endif
-
- NSS_STATUS _nss_nwrap_setpwent(void);