pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/R-curl
Module Name: pkgsrc
Committed By: he
Date: Wed Jun 22 14:55:16 UTC 2022
Modified Files:
pkgsrc/www/R-curl: distinfo
Added Files:
pkgsrc/www/R-curl/patches: patch-src_curl.c
Log Message:
www/R-curl: fix build+install on big-endian NetBSD hosts.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/www/R-curl/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/www/R-curl/patches/patch-src_curl.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/R-curl/distinfo
diff -u pkgsrc/www/R-curl/distinfo:1.9 pkgsrc/www/R-curl/distinfo:1.10
--- pkgsrc/www/R-curl/distinfo:1.9 Tue Oct 26 11:29:14 2021
+++ pkgsrc/www/R-curl/distinfo Wed Jun 22 14:55:16 2022
@@ -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
Added files:
Index: pkgsrc/www/R-curl/patches/patch-src_curl.c
diff -u /dev/null pkgsrc/www/R-curl/patches/patch-src_curl.c:1.1
--- /dev/null Wed Jun 22 14:55:16 2022
+++ pkgsrc/www/R-curl/patches/patch-src_curl.c Wed Jun 22 14:55:16 2022
@@ -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