diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-05-02 14:13:35 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-05-02 14:13:35 +0100 |
commit | 7c7c2c9727d6b2ff30945b5aea0d575e1c406d8b (patch) | |
tree | bac2a67fb24ac0836147fe370d30e1610ae1845d /sys-apps/openrc/files | |
parent | 2f8db31405fac68eea6f7257d58529243815033b (diff) |
gentoo resync : 02.05.2018
Diffstat (limited to 'sys-apps/openrc/files')
-rw-r--r-- | sys-apps/openrc/files/openrc-0.35.5-Add-_POSIX_C_SOURCE-definition-to-Linux-build.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/sys-apps/openrc/files/openrc-0.35.5-Add-_POSIX_C_SOURCE-definition-to-Linux-build.patch b/sys-apps/openrc/files/openrc-0.35.5-Add-_POSIX_C_SOURCE-definition-to-Linux-build.patch new file mode 100644 index 000000000000..b547fe2b61e5 --- /dev/null +++ b/sys-apps/openrc/files/openrc-0.35.5-Add-_POSIX_C_SOURCE-definition-to-Linux-build.patch @@ -0,0 +1,29 @@ +From f4e2142089487b7f5c99da949d7bf8d038724df7 Mon Sep 17 00:00:00 2001 +From: William Hubbs <w.d.hubbs@gmail.com> +Date: Tue, 1 May 2018 13:28:57 -0500 +Subject: [PATCH] Add _POSIX_C_SOURCE definition to Linux build + +We need this to allow builds on uclibc-ng based systems. + +X-Gentoo-Bug: 650908 +X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=650908 +--- + mk/os-Linux.mk | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/mk/os-Linux.mk b/mk/os-Linux.mk +index 2479ff5b..9e8a1485 100644 +--- a/mk/os-Linux.mk ++++ b/mk/os-Linux.mk +@@ -11,7 +11,7 @@ + SFX= .Linux.in + PKG_PREFIX?= /usr + +-CPPFLAGS+= -D_DEFAULT_SOURCE ++CPPFLAGS+= -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200809L + LIBDL= -Wl,-Bdynamic -ldl + + ifeq (${MKSELINUX},yes) +-- +2.16.1 + |