Package: burrow
Version: 1.2.1-2
Severity: normal
Tags: patch  pending

Dear maintainer,

I've prepared an NMU for burrow (versioned as 1.2.1-2.1) and
uploaded it to DELAYED/5. Please feel free to tell me if I
should delay it longer.

Regards.

G.
diff -Nru burrow-1.2.1/debian/changelog burrow-1.2.1/debian/changelog
--- burrow-1.2.1/debian/changelog	2021-01-16 21:32:42.000000000 +0100
+++ burrow-1.2.1/debian/changelog	2024-11-02 11:09:48.000000000 +0100
@@ -1,3 +1,18 @@
+burrow (1.2.1-2.1) unstable; urgency=medium
+
+  [ Gianfranco Costamagna ]
+  * Non-maintainer upload
+  * Merge 763 and 794 and adapt them to the old codebase into
+    a single riscv64-loong64.patch
+
+  [ Adrian Bunk <b...@debian.org> ]
+  * debian/patches/763.patch: Add riscv64 support (Closes: #1042514)
+
+  [ zhangdandan <zhangdan...@loongson.cn> ]
+  * debian/patches/794.patch: Add loong64 support (Closes: #1055081)
+
+ -- Gianfranco Costamagna <locutusofb...@debian.org>  Sat, 02 Nov 2024 11:09:48 +0100
+
 burrow (1.2.1-2) unstable; urgency=medium
 
   * Team upload.
diff -Nru burrow-1.2.1/debian/patches/riscv64-loong64.patch burrow-1.2.1/debian/patches/riscv64-loong64.patch
--- burrow-1.2.1/debian/patches/riscv64-loong64.patch	1970-01-01 01:00:00.000000000 +0100
+++ burrow-1.2.1/debian/patches/riscv64-loong64.patch	2024-11-02 11:09:48.000000000 +0100
@@ -0,0 +1,71 @@
+Description: Adapt upstream PR for riscv64 and loong64
+Author: Gianfranco Costamagna <locutusofb...@debian.org>
+Bug-Debian: https://bugs.debian.org/1042514
+Bug-Debian: https://bugs.debian.org/1055081
+Last-Update: 2024-11-02
+
+diff --git a/core/open_out_log_linux_loong64.go b/core/open_out_log_linux_loong64.go
+new file mode 100644
+index 00000000..7fb618a6
+--- /dev/null
++++ b/core/open_out_log_linux_loong64.go
+@@ -0,0 +1,23 @@
++//go:build linux && loong64
++// +build linux,loong64
++
++// Copyright 2017 LinkedIn Corp. Licensed under the Apache License, Version
++// 2.0 (the "License"); you may not use this file except in compliance with
++// the License. You may obtain a copy of the License at
++// http://www.apache.org/licenses/LICENSE-2.0
++//
++// Unless required by applicable law or agreed to in writing, software
++// distributed under the License is distributed on an "AS IS" BASIS,
++// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++
++package core
++
++import (
++	"syscall"
++)
++
++// linux_loong64 doesn't have syscall.Dup2, so use
++// the nearly identical syscall.Dup3 instead
++func internalDup2(oldfd uintptr, newfd uintptr) error {
++	return syscall.Dup3(int(oldfd), int(newfd), 0)
++}
+--- /dev/null
++++ burrow-1.2.1/core/open_out_log_linux_dup3.go
+@@ -0,0 +1,24 @@
++// +build linux,arm64
++// +build linux,riscv64
++
++/* Copyright 2017 LinkedIn Corp. Licensed under the Apache License, Version
++ * 2.0 (the "License"); you may not use this file except in compliance with
++ * the License. You may obtain a copy of the License at
++ * http://www.apache.org/licenses/LICENSE-2.0
++ *
++ * Unless required by applicable law or agreed to in writing, software
++ * distributed under the License is distributed on an "AS IS" BASIS,
++ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ */
++
++package core
++
++import (
++	"syscall"
++)
++
++// linux_arm64 and linux_riscv64 doesn't have syscall.Dup2, so use
++// the nearly identical syscall.Dup3 instead
++func internalDup2(oldfd uintptr, newfd uintptr) error {
++	return syscall.Dup3(int(oldfd), int(newfd), 0)
++}
+--- burrow-1.2.1.orig/core/open_out_log_unix.go
++++ burrow-1.2.1/core/open_out_log_unix.go
+@@ -1,5 +1,6 @@
+ // +build !windows
+ // +build !arm64
++// +build !loong64
+ 
+ /* Copyright 2017 LinkedIn Corp. Licensed under the Apache License, Version
+  * 2.0 (the "License"); you may not use this file except in compliance with
diff -Nru burrow-1.2.1/debian/patches/series burrow-1.2.1/debian/patches/series
--- burrow-1.2.1/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ burrow-1.2.1/debian/patches/series	2024-11-02 11:09:48.000000000 +0100
@@ -0,0 +1 @@
+riscv64-loong64.patch

Reply via email to