pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/flatbuffers



Module Name:    pkgsrc
Committed By:   joerg
Date:           Fri May  1 00:02:27 UTC 2020

Modified Files:
        pkgsrc/devel/flatbuffers: distinfo
Added Files:
        pkgsrc/devel/flatbuffers/patches:
            patch-include_flatbuffers_flatbuffers.h
            patch-include_flatbuffers_reflection.h

Log Message:
Don't depend on deprecrated behavior.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/flatbuffers/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/flatbuffers/patches/patch-include_flatbuffers_flatbuffers.h \
    pkgsrc/devel/flatbuffers/patches/patch-include_flatbuffers_reflection.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/flatbuffers/distinfo
diff -u pkgsrc/devel/flatbuffers/distinfo:1.3 pkgsrc/devel/flatbuffers/distinfo:1.4
--- pkgsrc/devel/flatbuffers/distinfo:1.3       Tue May  8 16:44:15 2018
+++ pkgsrc/devel/flatbuffers/distinfo   Fri May  1 00:02:27 2020
@@ -1,7 +1,9 @@
-$NetBSD: distinfo,v 1.3 2018/05/08 16:44:15 minskim Exp $
+$NetBSD: distinfo,v 1.4 2020/05/01 00:02:27 joerg Exp $
 
 SHA1 (flatbuffers-1.9.0.tar.gz) = 66a3c75a271c6dab1dc4511aed4b7d498875265d
 RMD160 (flatbuffers-1.9.0.tar.gz) = 0a73365e0d0f6db5d65b59d4807f457af4a0645e
 SHA512 (flatbuffers-1.9.0.tar.gz) = 0ba07dbe5b2fde1d0a6e14ee26ee2816062541d934eda204b846a30c019362f2626761b628c900293928b9b546dba8ca477c13182e022c3e0e0a142fd67f0696
 Size (flatbuffers-1.9.0.tar.gz) = 681752 bytes
 SHA1 (patch-CMakeLists.txt) = 89679eed28e7b5ce1fb6573c14433acdc43058a6
+SHA1 (patch-include_flatbuffers_flatbuffers.h) = 1ebdddb8861098c94c0a359be958d75c1d375cd8
+SHA1 (patch-include_flatbuffers_reflection.h) = 4e276144637c519be8713ea95cdb73c4a5769e91

Added files:

Index: pkgsrc/devel/flatbuffers/patches/patch-include_flatbuffers_flatbuffers.h
diff -u /dev/null pkgsrc/devel/flatbuffers/patches/patch-include_flatbuffers_flatbuffers.h:1.1
--- /dev/null   Fri May  1 00:02:27 2020
+++ pkgsrc/devel/flatbuffers/patches/patch-include_flatbuffers_flatbuffers.h    Fri May  1 00:02:27 2020
@@ -0,0 +1,24 @@
+$NetBSD: patch-include_flatbuffers_flatbuffers.h,v 1.1 2020/05/01 00:02:27 joerg Exp $
+
+Implicit copy constructor is deprecated when a user-defined assignment
+operator is defined.
+
+--- include/flatbuffers/flatbuffers.h.orig     2020-04-29 23:22:29.846831379 +0000
++++ include/flatbuffers/flatbuffers.h
+@@ -1371,6 +1371,8 @@ class FlatBufferBuilder {
+ 
+   /// @cond FLATBUFFERS_INTERNAL
+   template<typename T> struct StructKeyComparator {
++    StructKeyComparator () = default;
++    StructKeyComparator (const StructKeyComparator &) = default;
+     bool operator()(const T &a, const T &b) const {
+       return a.KeyCompareLessThan(&b);
+     }
+@@ -1442,6 +1444,7 @@ class FlatBufferBuilder {
+   /// @cond FLATBUFFERS_INTERNAL
+   template<typename T> struct TableKeyComparator {
+     TableKeyComparator(vector_downward &buf) : buf_(buf) {}
++    TableKeyComparator (const TableKeyComparator &) = default;
+     bool operator()(const Offset<T> &a, const Offset<T> &b) const {
+       auto table_a = reinterpret_cast<T *>(buf_.data_at(a.o));
+       auto table_b = reinterpret_cast<T *>(buf_.data_at(b.o));
Index: pkgsrc/devel/flatbuffers/patches/patch-include_flatbuffers_reflection.h
diff -u /dev/null pkgsrc/devel/flatbuffers/patches/patch-include_flatbuffers_reflection.h:1.1
--- /dev/null   Fri May  1 00:02:27 2020
+++ pkgsrc/devel/flatbuffers/patches/patch-include_flatbuffers_reflection.h     Fri May  1 00:02:27 2020
@@ -0,0 +1,15 @@
+$NetBSD: patch-include_flatbuffers_reflection.h,v 1.1 2020/05/01 00:02:27 joerg Exp $
+
+Implicit copy constructor is deprecated when a user-defined assignment
+operator is defined.
+
+--- include/flatbuffers/reflection.h.orig      2020-04-29 23:28:21.560920814 +0000
++++ include/flatbuffers/reflection.h
+@@ -363,6 +363,7 @@ template<typename T, typename U> class p
+         reinterpret_cast<uint8_t *>(flatbuffers::vector_data(vec_)) + offset_);
+   }
+   T *operator->() const { return operator*(); }
++  pointer_inside_vector (const pointer_inside_vector &) = default;
+   void operator=(const pointer_inside_vector &piv);
+ 
+  private:



Home | Main Index | Thread Index | Old Index