[pkg-go] Bug#1076133: golang-github-boltdb-bolt: diff for NMU version 1.3.1-7.1

Gianfranco Costamagna locutusofborg at debian.org
Sun Oct 27 08:15:30 GMT 2024


Control: tags 1076133 + patch
Control: tags 1076133 + pending


Dear maintainer,

I've prepared an NMU for golang-github-boltdb-bolt (versioned as 1.3.1-7.1) and
uploaded it to DELAYED/5. Please feel free to tell me if I
should delay it longer.

Regards.

diff -Nru golang-github-boltdb-bolt-1.3.1/debian/changelog golang-github-boltdb-bolt-1.3.1/debian/changelog
--- golang-github-boltdb-bolt-1.3.1/debian/changelog    2020-03-22 10:46:56.000000000 +0100
+++ golang-github-boltdb-bolt-1.3.1/debian/changelog    2024-10-27 09:11:07.000000000 +0100
@@ -1,3 +1,12 @@
+golang-github-boltdb-bolt (1.3.1-7.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+
+  [ zhangdandan <zhangdandan at loongson.cn> ]
+  * Add support for loong64 (Closes: #1076133)
+
+ -- Gianfranco Costamagna <locutusofborg at debian.org>  Sun, 27 Oct 2024 09:11:07 +0100
+
  golang-github-boltdb-bolt (1.3.1-7) unstable; urgency=medium

    * Team Upload.
diff -Nru golang-github-boltdb-bolt-1.3.1/debian/patches/bolt-0005-add-loong64-support.patch golang-github-boltdb-bolt-1.3.1/debian/patches/bolt-0005-add-loong64-support.patch
--- golang-github-boltdb-bolt-1.3.1/debian/patches/bolt-0005-add-loong64-support.patch  1970-01-01 01:00:00.000000000 +0100
+++ golang-github-boltdb-bolt-1.3.1/debian/patches/bolt-0005-add-loong64-support.patch  2024-10-27 09:09:00.000000000 +0100
@@ -0,0 +1,18 @@
+Description: Add loong64 support
+Last-Update: 2024-07-11
+
+--- /dev/null
++++ golang-github-boltdb-bolt-1.3.1/bolt_loong64.go
+@@ -0,0 +1,12 @@
++// +build loong64
++
++package bolt
++
++// maxMapSize represents the largest mmap size supported by Bolt.
++const maxMapSize = 0xFFFFFFFFFFFF // 256TB
++
++// maxAllocSize is the size used when creating array pointers.
++const maxAllocSize = 0x7FFFFFFF
++
++// Are unaligned load/stores broken on this arch?
++var brokenUnaligned = false
diff -Nru golang-github-boltdb-bolt-1.3.1/debian/patches/series golang-github-boltdb-bolt-1.3.1/debian/patches/series
--- golang-github-boltdb-bolt-1.3.1/debian/patches/series       2020-03-22 10:46:56.000000000 +0100
+++ golang-github-boltdb-bolt-1.3.1/debian/patches/series       2024-10-27 09:10:59.000000000 +0100
@@ -2,3 +2,4 @@
  0002-Increase-write-waiting-time-when-testing.patch
  0003-Add-support-for-mips-mips64.patch
  0004-Fix-parsing-flags.patch
+bolt-0005-add-loong64-support.patch



More information about the Pkg-go-maintainers mailing list