[med-svn] [Git][med-team/bart][master] add back two patches

Martin Uecker (@uecker-guest) gitlab at salsa.debian.org
Tue Mar 31 18:09:58 BST 2026



Martin Uecker pushed to branch master at Debian Med / bart


Commits:
c9d4ee38 by Martin Uecker at 2026-03-31T19:09:32+02:00
add back two patches

- - - - -


3 changed files:

- + debian/patches/0006-on-Deban-never-use-git-version.patch
- + debian/patches/0008-fix-test-for-Debian.patch
- debian/patches/series


Changes:

=====================================
debian/patches/0006-on-Deban-never-use-git-version.patch
=====================================
@@ -0,0 +1,21 @@
+From: Martin Uecker <martin.uecker at med.uni-goettingen.de>
+Date: Sat, 1 Jan 2022 14:07:05 +0100
+Subject: on Deban never use git version
+
+---
+ rules/update-version.sh | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/rules/update-version.sh b/rules/update-version.sh
+index d2b0438..6b17c99 100755
+--- a/rules/update-version.sh
++++ b/rules/update-version.sh
+@@ -1,6 +1,6 @@
+ #!/bin/bash
+ 
+-echo 'VERSION('`./git-version.sh`')' > version.new.$$
++echo 'VERSION('`cat ./version.txt`')' > version.new.$$
+ ./rules/update-if-changed.sh version.new.$$ src/misc/version.inc
+-rm -f version.new.$$
++rm -f version.new
+ 


=====================================
debian/patches/0008-fix-test-for-Debian.patch
=====================================
@@ -0,0 +1,21 @@
+From: Martin Uecker <martin.uecker at med.uni-goettingen.de>
+Date: Thu, 7 Dec 2023 22:23:22 +0100
+Subject: fix test for Debian
+
+---
+ tests/version.mk | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/version.mk b/tests/version.mk
+index 9cecf0b..0ba104a 100644
+--- a/tests/version.mk
++++ b/tests/version.mk
+@@ -2,7 +2,7 @@
+ 
+ # check if bart can parse its own version
+ tests/test-version: version
+-	$(TOOLDIR)/version -t `cat $(TOOLDIR)/../version.txt`
++	$(TOOLDIR)/version -t `cat $(ROOTDIR)/version.txt`
+ 	touch $@
+ 
+ TESTS += tests/test-version


=====================================
debian/patches/series
=====================================
@@ -1,3 +1,5 @@
 0001-remove-empty-directory.patch
 0005-do-not-update-doc-commands.txt-automatically.patch
 0003-cleanup-more-thoroughly.patch
+0006-on-Deban-never-use-git-version.patch
+0008-fix-test-for-Debian.patch



View it on GitLab: https://salsa.debian.org/med-team/bart/-/commit/c9d4ee385aa6fffe9e3a50e5fda2ce908b8b4478

-- 
View it on GitLab: https://salsa.debian.org/med-team/bart/-/commit/c9d4ee385aa6fffe9e3a50e5fda2ce908b8b4478
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20260331/d20295ac/attachment-0001.htm>


More information about the debian-med-commit mailing list