summaryrefslogtreecommitdiff
path: root/cvsps/01_ignoretrunk.patch
diff options
context:
space:
mode:
authorJohn Vogel <jvogel@stygian.me>2024-12-14 00:40:59 -0500
committerJohn Vogel <jvogel@stygian.me>2024-12-14 00:40:59 -0500
commitaba880f759d649bddbc1bafef9c4a8b7486b8d10 (patch)
tree486299c85163c9fad6493f8a53a492455dd7c112 /cvsps/01_ignoretrunk.patch
parent7ee4e89dd35826f5ca04309ae1368f2967356d76 (diff)
downloadmy-aports-aba880f759d649bddbc1bafef9c4a8b7486b8d10.tar.gz
local/cvsps: new aport
Diffstat (limited to 'cvsps/01_ignoretrunk.patch')
-rw-r--r--cvsps/01_ignoretrunk.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/cvsps/01_ignoretrunk.patch b/cvsps/01_ignoretrunk.patch
new file mode 100644
index 0000000..2f58ddb
--- /dev/null
+++ b/cvsps/01_ignoretrunk.patch
@@ -0,0 +1,16 @@
+Author: <crafterm@debian.org>
+Description: Ignore TRUNK branch name patch
+--- a/cvsps.c
++++ b/cvsps.c
+@@ -2104,6 +2104,11 @@
+
+ if (!get_branch_ext(rev, eot, &leaf))
+ {
++ if (strcmp(tag, "TRUNK") == 0)
++ {
++ debug(DEBUG_STATUS, "ignoring the TRUNK branch/tag");
++ return;
++ }
+ debug(DEBUG_APPERROR, "malformed revision");
+ exit(1);
+ }