Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 671125 Details for
Bug 713790
net-misc/telnet-bsd-1.2-r2 : ./misc-proto.h: fatal error: sys/cdefs.h: No such file or directory
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
musl.patch
0001-Musl-Hacks.patch (text/plain), 1.07 KB, created by
tonemgub
on 2020-11-12 17:56:55 UTC
(
hide
)
Description:
musl.patch
Filename:
MIME Type:
Creator:
tonemgub
Created:
2020-11-12 17:56:55 UTC
Size:
1.07 KB
patch
obsolete
>diff --git a/telnet/misc-proto.h b/telnet/misc-proto.h >index 5845751..777a700 100644 >--- a/telnet/misc-proto.h >+++ b/telnet/misc-proto.h >@@ -63,7 +63,7 @@ > #ifndef __MISC_PROTO__ > #define __MISC_PROTO__ > >-#include <sys/cdefs.h> >+#define __P(protos) protos /* full-blown ANSI C */ > > void auth_encrypt_init __P((char *, char *, char *, int)); > void auth_encrypt_user __P((char *)); >diff --git a/telnet/ring.h b/telnet/ring.h >index 9ef8fb8..65762b2 100644 >--- a/telnet/ring.h >+++ b/telnet/ring.h >@@ -28,8 +28,8 @@ > * > */ > >-#include <sys/cdefs.h> > #include <sys/types.h> >+#define __P(protos) protos /* full-blown ANSI C */ > #define P __P > > /* >diff --git a/telnetd/sys_term.c b/telnetd/sys_term.c >index 31897d8..3c43f8f 100644 >--- a/telnetd/sys_term.c >+++ b/telnetd/sys_term.c >@@ -838,8 +838,10 @@ cleanup (int sig) > * receive another signal while we're in that function. */ > sigfillset(&sigset); > sigprocmask(SIG_SETMASK, &sigset, &sigset); >+#if defined(logwtmp) > if (logout (p)) > logwtmp (p, "", ""); >+#endif > sigprocmask(SIG_SETMASK, &sigset, NULL); > #ifdef PARANOID_TTYS > /*
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 713790
:
623828
|
623830
|
623832
|
623834
|
623836
|
623838
|
623840
| 671125