Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 434922 Details for
Bug 583730
net-proxy/torsocks: emerge fails on hardened-musl test VM
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for torsocks-2.1
torsocks-2.1-musl.patch (text/plain), 2.80 KB, created by
Felix Janda
on 2016-05-22 00:26:16 UTC
(
hide
)
Description:
Patch for torsocks-2.1
Filename:
MIME Type:
Creator:
Felix Janda
Created:
2016-05-22 00:26:16 UTC
Size:
2.80 KB
patch
obsolete
>diff --git a/src/common/compat.c b/src/common/compat.c >index a861b3d..eb8eb12 100644 >--- a/src/common/compat.c >+++ b/src/common/compat.c >@@ -19,7 +19,7 @@ > > #include "compat.h" > >-#if (defined(__GLIBC__) || defined(__FreeBSD__) || defined(__darwin__) || defined(__NetBSD__)) >+#if (defined(__GLIBC__) || defined(__linux__) || defined(__FreeBSD__) || defined(__darwin__) || defined(__NetBSD__)) > > /* > * Initialize a pthread mutex. This never fails. >@@ -96,4 +96,4 @@ void tsocks_once(tsocks_once_t *o, void (*init_routine)(void)) > tsocks_mutex_unlock(&o->mutex); > } > >-#endif /* __GLIBC__, __darwin__, __FreeBSD__, __NetBSD__ */ >+#endif /* __GLIBC__, __linux__, __darwin__, __FreeBSD__, __NetBSD__ */ >diff --git a/src/common/compat.h b/src/common/compat.h >index ce47129..11e0175 100644 >--- a/src/common/compat.h >+++ b/src/common/compat.h >@@ -22,7 +22,7 @@ > #define __darwin__ 1 > #endif > >-#if (defined(__GLIBC__) || defined(__FreeBSD__) || defined(__darwin__) || defined(__NetBSD__)) >+#if (defined(__GLIBC__) || defined(__linux__) || defined(__FreeBSD__) || defined(__darwin__) || defined(__NetBSD__)) > > #define RTLD_NEXT ((void *) -1) > >@@ -55,7 +55,7 @@ void tsocks_once(tsocks_once_t *o, void (*init_routine)(void)); > > #else > #error "OS not supported." >-#endif /* __GLIBC__, __darwin__, __FreeBSD__, __NetBSD__ */ >+#endif /* __GLIBC__, __linux__, __darwin__, __FreeBSD__, __NetBSD__ */ > > #if defined(__linux__) > #include <unistd.h> >diff --git a/src/common/ref.h b/src/common/ref.h >index 88aec2e..32e07a1 100644 >--- a/src/common/ref.h >+++ b/src/common/ref.h >@@ -26,7 +26,7 @@ struct ref { > long count; > }; > >-#if (defined(__GLIBC__) || defined(__FreeBSD__) || defined(__darwin__) || defined(__NetBSD__)) >+#if (defined(__GLIBC__) || defined(__linux__) || defined(__FreeBSD__) || defined(__darwin__) || defined(__NetBSD__)) > > /* > * Get a reference by incrementing the refcount. >@@ -57,6 +57,6 @@ static inline void ref_put(struct ref *r, > > #else > #error "OS not supported" >-#endif /* __GLIBC__, __FreeBSD__, __darwin__ */ >+#endif /* __GLIBC__, __linux__, __FreeBSD__, __darwin__ */ > > #endif /* TORSOCKS_REF_H */ >diff --git a/src/lib/torsocks.h b/src/lib/torsocks.h >index 076f3a5..5fb76ee 100644 >--- a/src/lib/torsocks.h >+++ b/src/lib/torsocks.h >@@ -33,7 +33,7 @@ > #define TSOCKS_DECL(name, type, sig) \ > extern type tsocks_##name(sig); > >-#if (defined(__GLIBC__) || defined(__FreeBSD__) || defined(__darwin__) || defined(__NetBSD__)) >+#if (defined(__GLIBC__) || defined(__linux__) || defined(__FreeBSD__) || defined(__darwin__) || defined(__NetBSD__)) > > /* connect(2) */ > #include <sys/types.h> >@@ -207,7 +207,7 @@ struct hostent **result, int *h_errnop > > #else > #error "OS not supported." >-#endif /* __GLIBC__ , __FreeBSD__, __darwin__, __NetBSD__ */ >+#endif /* __GLIBC__, __linux__, __FreeBSD__, __darwin__, __NetBSD__ */ > > #if (defined(__linux__)) >
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 583730
: 434922