Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 411924 Details for
Bug 560492
>=sys-apps/systemd-219_p112 failed to compile (__NR_kcmp undeclared)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
systemd patch
0001-Add-fallback-for-kcmp-in-case-__NR_kcmp-is-undefined.patch (text/plain), 861 bytes, created by
Mike Gilbert
on 2015-09-14 23:00:01 UTC
(
hide
)
Description:
systemd patch
Filename:
MIME Type:
Creator:
Mike Gilbert
Created:
2015-09-14 23:00:01 UTC
Size:
861 bytes
patch
obsolete
>From 4ba38bdad1529212883cdadc42d46f4c7f401151 Mon Sep 17 00:00:00 2001 >From: Mike Gilbert <floppym@gentoo.org> >Date: Mon, 14 Sep 2015 18:55:09 -0400 >Subject: [PATCH] Add fallback for kcmp() in case __NR_kcmp is undefined > >Resolves build failure on IA64. >--- > src/basic/missing.h | 5 +++++ > 1 file changed, 5 insertions(+) > >diff --git a/src/basic/missing.h b/src/basic/missing.h >index dc1f244..371ef8a 100644 >--- a/src/basic/missing.h >+++ b/src/basic/missing.h >@@ -1028,7 +1028,12 @@ static inline int renameat2(int oldfd, const char *oldname, int newfd, const cha > > #if !HAVE_DECL_KCMP > static inline int kcmp(pid_t pid1, pid_t pid2, int type, unsigned long idx1, unsigned long idx2) { >+#if defined(__NR_kcmp) > return syscall(__NR_kcmp, pid1, pid2, type, idx1, idx2); >+#else >+ errno = ENOSYS; >+ return -1; >+#endif > } > #endif > >-- >2.5.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 560492
:
411920
|
411922
| 411924