pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/snappy



Module Name:    pkgsrc
Committed By:   pho
Date:           Wed Oct 11 16:09:07 UTC 2023

Modified Files:
        pkgsrc/devel/snappy: distinfo
Added Files:
        pkgsrc/devel/snappy/patches: patch-snappy.cc

Log Message:
devel/snappy: Fix build on Darwin


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/devel/snappy/distinfo
cvs rdiff -u -r0 -r1.5 pkgsrc/devel/snappy/patches/patch-snappy.cc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/snappy/distinfo
diff -u pkgsrc/devel/snappy/distinfo:1.15 pkgsrc/devel/snappy/distinfo:1.16
--- pkgsrc/devel/snappy/distinfo:1.15   Wed Mar 15 13:29:58 2023
+++ pkgsrc/devel/snappy/distinfo        Wed Oct 11 16:09:07 2023
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.15 2023/03/15 13:29:58 adam Exp $
+$NetBSD: distinfo,v 1.16 2023/10/11 16:09:07 pho Exp $
 
 BLAKE2s (snappy-1.1.10.tar.gz) = 84a128717b35d7fcd8ce52e03d2efcd71d5928fc19ac5bf0ed3ee99656413541
 SHA512 (snappy-1.1.10.tar.gz) = 3578597f1d4ec09104ce0296b825b013590351230dfe56c635081fd282ce7a13a34caf2c283ac77bd24065e2d27af6db068d1f84b98cec2fd39a0e37a0d77070
 Size (snappy-1.1.10.tar.gz) = 1105312 bytes
 SHA1 (patch-CMakeLists.txt) = ecc43cc15cd58ef8bc7f2fe9ce87322474ee4741
+SHA1 (patch-snappy.cc) = c1d3749e9070e1dce6e99691df668d6d9acdee0b

Added files:

Index: pkgsrc/devel/snappy/patches/patch-snappy.cc
diff -u /dev/null pkgsrc/devel/snappy/patches/patch-snappy.cc:1.5
--- /dev/null   Wed Oct 11 16:09:07 2023
+++ pkgsrc/devel/snappy/patches/patch-snappy.cc Wed Oct 11 16:09:07 2023
@@ -0,0 +1,15 @@
+$NetBSD: patch-snappy.cc,v 1.5 2023/10/11 16:09:07 pho Exp $
+
+Fix build on Darwin: Don't try to use std::less_equal<T> without
+#include'ing <functional>.
+
+--- snappy.cc.orig     2023-10-11 16:06:33.000000000 +0000
++++ snappy.cc
+@@ -76,6 +76,7 @@
+ 
+ #include <algorithm>
+ #include <array>
++#include <functional>
+ #include <cstddef>
+ #include <cstdint>
+ #include <cstdio>



Home | Main Index | Thread Index | Old Index