$OpenBSD: patch-scripts_get-version,v 1.3 2019/07/18 11:28:49 sthen Exp $

Index: scripts/get-version
--- scripts/get-version.orig
+++ scripts/get-version
@@ -18,15 +18,14 @@ os=$1
 if [ $# -eq 2 ] && [ "$2" ]; then
 	v0=$2
 else
-	cmd="git describe --abbrev=12"
-	v0=$($cmd) || v0=$(cat .gitversion) || croak "odd; command '$cmd' failed"
+	v0="v4.8.5"
 fi
 
 # strip off the 'v' prefix, if any
 v0=${v0#v}
 
 case $os in
-	linux)
+	openbsd|linux)
 		v=$v0
 		;;
 	darwin)
