FreeBSD Bugzilla – Attachment 209280 Details for
Bug 242108
ftp/R-cran-curl: fix build on powerpc64 elfv2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
R-cran-curl.patch (text/plain), 1.03 KB, created by
Piotr Kubaj
on 2019-11-20 13:35:20 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Piotr Kubaj
Created:
2019-11-20 13:35:20 UTC
Size:
1.03 KB
patch
obsolete
>Index: files/patch-src_curl.c >=================================================================== >--- files/patch-src_curl.c (revision 517956) >+++ files/patch-src_curl.c (working copy) >@@ -1,6 +1,12 @@ >---- src/curl.c.orig 2019-01-09 22:29:50 UTC >+--- src/curl.c.orig 2019-09-11 10:18:36 UTC > +++ src/curl.c >-@@ -24,6 +24,8 @@ >+@@ -19,11 +19,13 @@ >+ #ifdef WORDS_BIGENDIAN >+ #if (defined(__sun) && defined(__SVR4)) >+ #include <sys/byteorder.h> >+-#elif (defined(__APPLE__) && defined(__ppc__) || defined(__ppc64__)) >++#elif defined(__APPLE__) && (defined(__ppc__) || defined(__ppc64__)) >+ #include <libkern/OSByteOrder.h> > #define BSWAP_32 OSSwapInt32 > #elif (defined(__OpenBSD__)) > #define BSWAP_32(x) swap32(x) >@@ -9,7 +15,7 @@ > #elif (defined(__GLIBC__)) > #include <byteswap.h> > #define BSWAP_32(x) bswap_32(x) >-@@ -146,7 +148,7 @@ static size_t rcurl_read(void *target, size_t sz, size >+@@ -148,7 +150,7 @@ static size_t rcurl_read(void *target, size_t sz, size > static int rcurl_fgetc(Rconnection con) { > int x = 0; > #ifdef WORDS_BIGENDIAN
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
Flags:
pkubaj
:
maintainer-approval?
(
tota
)
Actions:
View
|
Diff
Attachments on
bug 242108
: 209280