pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/R-curl www/R-curl: fix build+install on big-endian...
details: https://anonhg.NetBSD.org/pkgsrc/rev/df59b56d8bf4
branches: trunk
changeset: 380995:df59b56d8bf4
user: he <he%pkgsrc.org@localhost>
date: Wed Jun 22 14:55:16 2022 +0000
description:
www/R-curl: fix build+install on big-endian NetBSD hosts.
diffstat:
www/R-curl/distinfo | 3 ++-
www/R-curl/patches/patch-src_curl.c | 19 +++++++++++++++++++
2 files changed, 21 insertions(+), 1 deletions(-)
diffs (34 lines):
diff -r 577cd3ce4ecc -r df59b56d8bf4 www/R-curl/distinfo
--- a/www/R-curl/distinfo Wed Jun 22 14:04:49 2022 +0000
+++ b/www/R-curl/distinfo Wed Jun 22 14:55:16 2022 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.9 2021/10/26 11:29:14 nia Exp $
+$NetBSD: distinfo,v 1.10 2022/06/22 14:55:16 he Exp $
BLAKE2s (R/curl_4.3.2.tar.gz) = eff2cdb340153e67e98dc183dd096b2e2c2c879ffbb6d33089f7ca1868d202c5
SHA512 (R/curl_4.3.2.tar.gz) = 7b8e9b136f206733a3314a876de21bf7d52b9bcef1c8c399fc9b0e1983a12853da18bd7ce06959fdd83957cd3637a11fc9246154187427a3c6479101cc492322
Size (R/curl_4.3.2.tar.gz) = 793345 bytes
+SHA1 (patch-src_curl.c) = 2b03824fbbc665c758117cd21f67bc0a75a70ccf
diff -r 577cd3ce4ecc -r df59b56d8bf4 www/R-curl/patches/patch-src_curl.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/R-curl/patches/patch-src_curl.c Wed Jun 22 14:55:16 2022 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-src_curl.c,v 1.1 2022/06/22 14:55:16 he Exp $
+
+Fix BSWAP_32 define on NetBSD.
+Submitted upstream at
+https://github.com/jeroen/curl/pull/272
+
+--- src/curl.c.orig 2021-04-28 11:36:30.000000000 +0000
++++ src/curl.c
+@@ -24,6 +24,10 @@
+ #define BSWAP_32 OSSwapInt32
+ #elif (defined(__OpenBSD__))
+ #define BSWAP_32(x) swap32(x)
++#elif (defined(__NetBSD__))
++#include <sys/types.h>
++#include <machine/bswap.h>
++#define BSWAP_32(x) bswap32(x)
+ #elif (defined(__GLIBC__))
+ #include <byteswap.h>
+ #define BSWAP_32(x) bswap_32(x)
Home |
Main Index |
Thread Index |
Old Index