pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/nss
Module Name: pkgsrc
Committed By: jperkin
Date: Thu Oct 19 15:28:45 UTC 2017
Modified Files:
pkgsrc/devel/nss: distinfo
Added Files:
pkgsrc/devel/nss/patches: patch-nss_lib_freebl_verified_kremlib.h
Log Message:
nss: Support SunOS byteswap macros.
To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 pkgsrc/devel/nss/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/devel/nss/patches/patch-nss_lib_freebl_verified_kremlib.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/nss/distinfo
diff -u pkgsrc/devel/nss/distinfo:1.76 pkgsrc/devel/nss/distinfo:1.77
--- pkgsrc/devel/nss/distinfo:1.76 Tue Sep 26 10:59:39 2017
+++ pkgsrc/devel/nss/distinfo Thu Oct 19 15:28:45 2017
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.76 2017/09/26 10:59:39 ryoon Exp $
+$NetBSD: distinfo,v 1.77 2017/10/19 15:28:45 jperkin Exp $
SHA1 (nss-3.33.tar.gz) = 85d25795b01be3f4459707ce04e9bbed9e549865
RMD160 (nss-3.33.tar.gz) = fe4d2fb56f15db3531e0efbdff8eda4aced41a03
@@ -17,4 +17,5 @@ SHA1 (patch-nss_cmd_platlibs.mk) = 7dadc
SHA1 (patch-nss_coreconf_OpenBSD.mk) = fccc17845c28f5b1268c96eb4e952e32dd530d1d
SHA1 (patch-nss_coreconf_command.mk) = 008f7670f164bf19555a7691f5a59fc8bf687078
SHA1 (patch-nss_lib_freebl_config.mk) = 5d374317b75c7db968a126f616bb396a012f675d
+SHA1 (patch-nss_lib_freebl_verified_kremlib.h) = a50ba4e027635b4342cf67d168c3a75ecefeb7b9
SHA1 (patch-security_nss_cmd_shlibsign_sign.sh) = 7948b7b502a4c148ee185836dde8a84d3aa388af
Added files:
Index: pkgsrc/devel/nss/patches/patch-nss_lib_freebl_verified_kremlib.h
diff -u /dev/null pkgsrc/devel/nss/patches/patch-nss_lib_freebl_verified_kremlib.h:1.1
--- /dev/null Thu Oct 19 15:28:45 2017
+++ pkgsrc/devel/nss/patches/patch-nss_lib_freebl_verified_kremlib.h Thu Oct 19 15:28:45 2017
@@ -0,0 +1,30 @@
+$NetBSD: patch-nss_lib_freebl_verified_kremlib.h,v 1.1 2017/10/19 15:28:45 jperkin Exp $
+
+Support SunOS byteswap macros.
+
+--- nss/lib/freebl/verified/kremlib.h.orig 2017-09-20 06:47:27.000000000 +0000
++++ nss/lib/freebl/verified/kremlib.h
+@@ -100,6 +100,23 @@ typedef void *Prims_pos, *Prims_nat, *Pr
+ #define htobe32(x) OSSwapHostToBigInt32(x)
+ #define be32toh(x) OSSwapBigToHostInt32(x)
+
++#elif defined(__sun__)
++#include <sys/byteorder.h>
++#define htole64(x) LE_64(x)
++#define le64toh(x) LE_IN64(x)
++#define htobe64(x) BE_64(x)
++#define be64toh(x) BE_IN64(x)
++
++#define htole16(x) LE_16(x)
++#define le16toh(x) LE_IN16(x)
++#define htobe16(x) BE_16(x)
++#define be16toh(x) BE_IN16(x)
++
++#define htole32(x) LE_32(x)
++#define le32toh(x) LE_IN32(x)
++#define htobe32(x) BE_32(x)
++#define be32toh(x) BE_IN32(x)
++
+ // ... for Windows
+ #elif (defined(_WIN16) || defined(_WIN32) || defined(_WIN64)) && \
+ !defined(__WINDOWS__)
Home |
Main Index |
Thread Index |
Old Index