From 6bad7b003222cc9dad56cebbdfece029cdd5ed88 Mon Sep 17 00:00:00 2001 From: Subhaditya Nath Date: Wed, 18 May 2022 23:31:24 +0530 Subject: [PATCH] socat: fix spurious spacing in man page Only affects man pages rendered by mandoc. mandb-man isn't affected (it ignores blank lines). --- srcpkgs/socat/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/socat/template b/srcpkgs/socat/template index 44fe3e4ce6d6..de3d36464b31 100644 --- a/srcpkgs/socat/template +++ b/srcpkgs/socat/template @@ -1,7 +1,7 @@ # Template file for 'socat' pkgname=socat version=1.7.4.3 -revision=1 +revision=2 build_style=gnu-configure configure_args="--disable-libwrap --enable-fips ac_cv_have_z_modifier=yes" @@ -35,3 +35,7 @@ case "$XBPS_TARGET_MACHINE" in esac configure_args+=" ac_cv_ispeed_offset=13" + +post_extract() { + vsed -i doc/socat.1 -e /^$/d +}