Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Nov 2019 04:13:50 +0000 (UTC)
From:      TAKATSU Tomonari <tota@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r518292 - head/ftp/R-cran-curl/files
Message-ID:  <201911240413.xAO4Doiu058744@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tota
Date: Sun Nov 24 04:13:50 2019
New Revision: 518292
URL: https://svnweb.freebsd.org/changeset/ports/518292

Log:
  - Fix build on powerpc64 elfv2
  
  PR:		242108
  Submitted by:	pkubaj@

Modified:
  head/ftp/R-cran-curl/files/patch-src_curl.c   (contents, props changed)

Modified: head/ftp/R-cran-curl/files/patch-src_curl.c
==============================================================================
--- head/ftp/R-cran-curl/files/patch-src_curl.c	Sun Nov 24 02:36:44 2019	(r518291)
+++ head/ftp/R-cran-curl/files/patch-src_curl.c	Sun Nov 24 04:13:50 2019	(r518292)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911240413.xAO4Doiu058744>