hxtools, bump version (#8584)

This commit is contained in:
Schrijvers Luc
2023-05-04 14:35:29 +02:00
committed by GitHub
parent 651b0eeba8
commit 91f1008e14
3 changed files with 484 additions and 159 deletions

View File

@@ -65,18 +65,15 @@ years, and each of which seems to be too small to warrants its own project.
- vcsaview(8) — display a screen dump in VCSA format
- vfontas(1) — VGA font file assembler
- wavdiff(1) — proof-of-concept raw PCM deltifier
- wktimer(1) — work timer
"
- wktimer(1) — work timer"
HOMEPAGE="https://inai.de/projects/hxtools/"
COPYRIGHT="2018 Developer Name"
LICENSE="
GNU GPL v2
LICENSE="GNU GPL v2
GNU GPL v3
WTFPL v2.0
"
WTFPL v2.0"
REVISION="1"
SOURCE_URI="http://jftp.inai.de/hxtools/hxtools-$portVersion.tar.xz"
CHECKSUM_SHA256="92cf002d1375acc3e995206a5096391d2ee2a714a9e59f01aab19c3cdcfa428a"
SOURCE_URI="https://inai.de/files/hxtools/hxtools-$portVersion.tar.xz"
CHECKSUM_SHA256="f2736bd5d879c2fec159a532cce0b185e287e1e6beb2d4d50b65b8b9dfdafed0"
PATCHES="hxtools-$portVersion.patchset"
ARCHITECTURES="?all !x86_gcc2"
@@ -90,35 +87,48 @@ if [ "$targetArchitecture" = x86_gcc2 ]; then
commandBinDir=$prefix/bin
fi
GLOBAL_WRITABLE_FILES="
settings/hxloginpref.conf keep-old
"
GLOBAL_WRITABLE_FILES="settings/hxloginpref.conf keep-old"
PROVIDES="
hxtools$secondaryArchSuffix = $portVersion
cmd:aumeta$commandSuffix
cmd:bin2c$commandSuffix
cmd:bsvplay$commandSuffix
cmd:checkbrack$commandSuffix
cmd:clock_info$commandSuffix
cmd:clt2bdf$commandSuffix
cmd:cwdiff$commandSuffix
cmd:declone$commandSuffix
cmd:extract_d3pkg$commandSuffix
cmd:extract_dfqshared.pm$commandSuffix
cmd:extract_dxhog$commandSuffix
cmd:extract_f3pod$commandSuffix
cmd:extract_qupak$commandSuffix
cmd:fxterm$commandSuffix
cmd:git_author_stat$commandSuffix
cmd:git_blame_stats$commandSuffix
cmd:git_export_patch$commandSuffix
cmd:git_forest$commandSuffix
cmd:git_revert_stats$commandSuffix
cmd:git_track$commandSuffix
cmd:googtts$commandSuffix
cmd:gpsh$commandSuffix
cmd:gxxdm$commandSuffix
cmd:man2html$commandSuffix
cmd:mkvappend$commandSuffix
cmd:mod2opus$commandSuffix
cmd:move_moov$commandSuffix
cmd:ofl$commandSuffix
cmd:palcomp$commandSuffix
cmd:pcmdiff$commandSuffix
cmd:pcmmix$commandSuffix
cmd:pesubst$commandSuffix
cmd:pegrep$commandSuffix
cmd:pmap_dirty$commandSuffix
cmd:proc_iomem_count
cmd:proc_stat_parse
cmd:qpdecode$commandSuffix
cmd:qplay$commandSuffix
cmd:qtar$commandSuffix
cmd:rot13$commandSuffix
cmd:spec_beautifier$commandSuffix
@@ -126,10 +136,12 @@ PROVIDES="
cmd:su1$commandSuffix
cmd:sysinfo$commandSuffix
cmd:tailhex$commandSuffix
cmd:vfontas$commandSuffix
cmd:wktimer$commandSuffix
"
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libiconv$secondaryArchSuffix
lib:libHX$secondaryArchSuffix
lib:libpci$secondaryArchSuffix
lib:libXcb$secondaryArchSuffix
@@ -137,13 +149,14 @@ REQUIRES="
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libiconv$secondaryArchSuffix
devel:libHX$secondaryArchSuffix
devel:libpci$secondaryArchSuffix
devel:libXcb$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:autoreconf
cmd:gcc$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
@@ -151,7 +164,8 @@ BUILD_PREREQUIRES="
BUILD()
{
sh autogen.sh
export LDFLAGS="-liconv"
autoreconf -fi
runConfigure --omit-dirs binDir ./configure --bindir="$commandBinDir"
make $jobArgs
}

View File

@@ -1,145 +0,0 @@
From aa135d9e1266204e085fdf638c673a34d2a8db4d Mon Sep 17 00:00:00 2001
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
Date: Sun, 7 Feb 2016 16:48:26 +0100
Subject: Haiku hacks.
diff --git a/sadmin/Makefile.am b/sadmin/Makefile.am
index 7905782..f478500 100644
--- a/sadmin/Makefile.am
+++ b/sadmin/Makefile.am
@@ -15,8 +15,8 @@ pkglibexec_PROGRAMS = \
fd0ssh \
proc_iomem_count \
proc_stat_parse \
- psthreads \
- utmp_register
+ psthreads
+# utmp_register
dist_pkglibexec_SCRIPTS = \
logontime \
@@ -26,15 +26,15 @@ dist_pkglibexec_SCRIPTS = \
recursive_lower \
vcsaview
-noinst_PROGRAMS = \
- xfs_irecover
+#noinst_PROGRAMS = \
+# xfs_irecover
dist_noinst_SCRIPTS = \
filenameconv \
raregetty \
rpmdep.pl
-clock_info_LDADD = -lrt
+#clock_info_LDADD = -lrt
ofl_LDADD = ${libHX_LIBS}
proc_iomem_count_LDADD = ${libHX_LIBS}
proc_stat_parse_LDADD = ${libHX_LIBS}
diff --git a/sdevel/cctypeinfo.c b/sdevel/cctypeinfo.c
index f0f27e2..66954ed 100644
--- a/sdevel/cctypeinfo.c
+++ b/sdevel/cctypeinfo.c
@@ -18,8 +18,10 @@
#else
# include <netinet/in.h>
# define SIZET_FMT "z"
+#ifndef __HAIKU__
# define HAVE_LOFF_T 1
#endif
+#endif
struct x16 {
uint8_t a;
diff --git a/smm/Makefile.am b/smm/Makefile.am
index ec025ce..c8dc700 100644
--- a/smm/Makefile.am
+++ b/smm/Makefile.am
@@ -4,7 +4,7 @@ AM_CPPFLAGS = ${regular_CPPFLAGS} ${libHX_CFLAGS}
AM_CFLAGS = ${regular_CFLAGS}
AM_CXXFLAGS = ${regular_CXXFLAGS}
-bin_PROGRAMS = clt2bdf hcdplay
+bin_PROGRAMS = clt2bdf #hcdplay
if HAVE_XBRZ
bin_PROGRAMS += cltxscale
endif
@@ -34,7 +34,7 @@ clt2bdf_LDADD = ${libHX_LIBS}
clt2pbm_LDADD = ${libHX_LIBS}
cltxscale_SOURCES = cltxscale.c xbrz_call.cpp
cltxscale_LDADD = -lxbrz ${libHX_LIBS}
-hcdplay_LDADD = ${libHX_LIBS}
+#hcdplay_LDADD = ${libHX_LIBS}
pcmdiff_LDADD = ${libHX_LIBS}
qplay_SOURCES = qplay.c pcspkr_pcm.c
qplay_LDADD = ${libHX_LIBS} -lm
diff --git a/suser/Makefile.am b/suser/Makefile.am
index 7a21012..b72da2b 100644
--- a/suser/Makefile.am
+++ b/suser/Makefile.am
@@ -7,8 +7,8 @@ AM_CFLAGS = ${regular_CFLAGS}
bin_PROGRAMS = \
declone \
sysinfo \
- tailhex \
- xcp
+ tailhex
+# xcp
dist_bin_SCRIPTS = \
fxterm \
@@ -23,4 +23,4 @@ dist_pkglibexec_SCRIPTS = \
sysinfo_LDADD = ${libHX_LIBS} ${libmount_LIBS} ${libpci_LIBS} ${libxcb_LIBS}
tailhex_LDADD = ${libHX_LIBS}
-xcp_LDADD = ${libHX_LIBS}
+#xcp_LDADD = ${libHX_LIBS}
--
2.16.4
From 809a9f9f08af7485402f2e270621f8a06f46c22a Mon Sep 17 00:00:00 2001
From: begasus <begasus@gmail.com>
Date: Thu, 16 Aug 2018 11:01:34 +0200
Subject: Use correct path to perl
diff --git a/smm/aumeta b/smm/aumeta
old mode 100755
new mode 100644
index 2b6959d..af76eac
--- a/smm/aumeta
+++ b/smm/aumeta
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
#
# Move seek index and add metadata
# written by Jan Engelhardt, 20142015
diff --git a/suser/pegrep b/suser/pegrep
old mode 100755
new mode 100644
index 83889da..ef73206
--- a/suser/pegrep
+++ b/suser/pegrep
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
use strict;
use warnings;
diff --git a/suser/qpdecode b/suser/qpdecode
old mode 100755
new mode 100644
index d7c283b..41ffadd
--- a/suser/qpdecode
+++ b/suser/qpdecode
@@ -1,2 +1,2 @@
-#!/usr/bin/perl -lp
+#!/usr/bin/env perl -lp
s{=(..)}{pack("H*",$1)}egs;
--
2.16.4

View File

@@ -0,0 +1,456 @@
From 6b19203f24e175b0a5d5672d5c9cec00e402e12a Mon Sep 17 00:00:00 2001
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
Date: Sun, 7 Feb 2016 16:48:26 +0100
Subject: Haiku hacks.
diff --git a/sadmin/Makefile.am b/sadmin/Makefile.am
index f854a8d..e95309c 100644
--- a/sadmin/Makefile.am
+++ b/sadmin/Makefile.am
@@ -9,7 +9,7 @@ dist_bin_SCRIPTS = \
pmap_dirty \
su1
-pkglibexec_PROGRAMS = clock_info fd0ssh psthreads utmp_register
+pkglibexec_PROGRAMS = clock_info fd0ssh psthreads # utmp_register
dist_pkglibexec_SCRIPTS = \
logontime \
@@ -19,15 +19,15 @@ dist_pkglibexec_SCRIPTS = \
recursive_lower \
vcsaview
-noinst_PROGRAMS = \
- xfs_irecover
+# noinst_PROGRAMS = \
+# xfs_irecover
dist_noinst_SCRIPTS = \
filenameconv \
raregetty \
rpmdep.pl
-clock_info_LDADD = -lrt
+# clock_info_LDADD = -lrt
ofl_LDADD = ${libHX_LIBS}
proc_iomem_count_LDADD = ${libHX_LIBS}
proc_stat_parse_LDADD = ${libHX_LIBS}
diff --git a/sdevel/cctypeinfo.c b/sdevel/cctypeinfo.c
index f810354..17d1fd9 100644
--- a/sdevel/cctypeinfo.c
+++ b/sdevel/cctypeinfo.c
@@ -15,8 +15,10 @@
#else
# include <netinet/in.h>
# define SIZET_FMT "z"
+#ifndef __HAIKU__
# define HAVE_LOFF_T 1
#endif
+#endif
struct x16 {
uint8_t a;
diff --git a/smm/Makefile.am b/smm/Makefile.am
index eaafff1..219863b 100644
--- a/smm/Makefile.am
+++ b/smm/Makefile.am
@@ -4,13 +4,13 @@ AM_CPPFLAGS = ${regular_CPPFLAGS} ${libHX_CFLAGS}
AM_CFLAGS = ${regular_CFLAGS}
AM_CXXFLAGS = ${regular_CXXFLAGS}
-bin_PROGRAMS = bsvplay hcdplay palcomp pcmdiff pcmmix qplay vfontas
+bin_PROGRAMS = bsvplay palcomp pcmdiff pcmmix qplay vfontas # hcdplay
dist_bin_SCRIPTS = aumeta extract_d3pkg extract_dxhog extract_f3pod \
extract_qupak extract_dfqshared.pm gpsh mod2opus mkvappend ssa2srt
bsvplay_SOURCES = bsvplay.c pcspkr_pcm.c
bsvplay_LDADD = ${libHX_LIBS} -lm
-hcdplay_LDADD = ${libHX_LIBS}
+# hcdplay_LDADD = ${libHX_LIBS}
palcomp_SOURCES = palcomp.cpp
palcomp_LDADD = -lm
pcmdiff_LDADD = ${libHX_LIBS}
diff --git a/suser/Makefile.am b/suser/Makefile.am
index b3a6646..57e537f 100644
--- a/suser/Makefile.am
+++ b/suser/Makefile.am
@@ -7,8 +7,8 @@ AM_CFLAGS = ${regular_CFLAGS}
bin_PROGRAMS = \
declone \
sysinfo \
- tailhex \
- xcp
+ tailhex
+# xcp
dist_bin_SCRIPTS = \
fxterm \
@@ -24,4 +24,4 @@ dist_pkglibexec_SCRIPTS = \
declone_LDADD = ${libHX_LIBS}
sysinfo_LDADD = ${libHX_LIBS} ${libmount_LIBS} ${libpci_LIBS} ${libxcb_LIBS}
tailhex_LDADD = ${libHX_LIBS}
-xcp_LDADD = ${libHX_LIBS}
+# xcp_LDADD = ${libHX_LIBS}
--
2.37.3
From 0498938645290f527455b3a55108832d3fa15abe Mon Sep 17 00:00:00 2001
From: Begasus <begasus@gmail.com>
Date: Thu, 4 May 2023 14:20:03 +0200
Subject: Fix path to perl
diff --git a/sadmin/filenameconv b/sadmin/filenameconv
index 3ad76a8..10d8bfd 100755
--- a/sadmin/filenameconv
+++ b/sadmin/filenameconv
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
# SPDX-License-Identifier: MIT
# SPDX-FileCopyrightText: 2004-2007 Jan Engelhardt
#
diff --git a/sadmin/ldif-duplicate-attrs b/sadmin/ldif-duplicate-attrs
index 965767c..a43b909 100755
--- a/sadmin/ldif-duplicate-attrs
+++ b/sadmin/ldif-duplicate-attrs
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
# SPDX-License-Identifier: MIT
#
# Check for multi-value attributes in LDIF file
diff --git a/sadmin/ldif-leading-spaces b/sadmin/ldif-leading-spaces
index 1c0087e..c4afd87 100755
--- a/sadmin/ldif-leading-spaces
+++ b/sadmin/ldif-leading-spaces
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
# SPDX-License-Identifier: MIT
#
# Detect questionable values for LDAP attributes
diff --git a/sadmin/logontime b/sadmin/logontime
index 26df37e..1574de0 100755
--- a/sadmin/logontime
+++ b/sadmin/logontime
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
# SPDX-License-Identifier: MIT
#
# longontime - simple wtmp analyzer
diff --git a/sadmin/pmap_dirty b/sadmin/pmap_dirty
index 31851a5..0ca30d3 100755
--- a/sadmin/pmap_dirty
+++ b/sadmin/pmap_dirty
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env perl -w
# SPDX-License-Identifier: MIT
#
# pmap_dirty
diff --git a/sadmin/raregetty b/sadmin/raregetty
index 6f9c520..f416893 100755
--- a/sadmin/raregetty
+++ b/sadmin/raregetty
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
# SPDX-License-Identifier: MIT
#
# raregetty
diff --git a/sadmin/rpmdep.pl b/sadmin/rpmdep.pl
index d5438ee..1011b98 100755
--- a/sadmin/rpmdep.pl
+++ b/sadmin/rpmdep.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
# SPDX-License-Identifier: GPL-2.0-or-later
# SPDX-FileCopyrightText: 2005-2007 Jan Engelhardt
#
diff --git a/sadmin/vcsaview b/sadmin/vcsaview
index dbe6b5a..659aa40 100755
--- a/sadmin/vcsaview
+++ b/sadmin/vcsaview
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
# SPDX-License-Identifier: MIT
# SPDX-FileCopyrightText: 2004-2007 Jan Engelhardt
#
diff --git a/sdevel/checkbrack b/sdevel/checkbrack
index 8085dd9..bec29dd 100755
--- a/sdevel/checkbrack
+++ b/sdevel/checkbrack
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
# SPDX-License-Identifier: MIT
use Getopt::Long;
diff --git a/sdevel/diff2php b/sdevel/diff2php
index 0947216..6457f68 100755
--- a/sdevel/diff2php
+++ b/sdevel/diff2php
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
# SPDX-License-Identifier: MIT
#
# diff2php - turn a .diff into a multi-purpose PHP script
diff --git a/sdevel/doxygen-kerneldoc-filter b/sdevel/doxygen-kerneldoc-filter
index 1cfb728..81c2567 100755
--- a/sdevel/doxygen-kerneldoc-filter
+++ b/sdevel/doxygen-kerneldoc-filter
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
# SPDX-License-Identifier: MIT
#
# A filter script for doxygen to make it understand kerneldoc
diff --git a/sdevel/git-blame-stats b/sdevel/git-blame-stats
index fcbc699..bb01547 100755
--- a/sdevel/git-blame-stats
+++ b/sdevel/git-blame-stats
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
# SPDX-License-Identifier: MIT
#
# git-blame based authoring statistics
diff --git a/sdevel/git-forest b/sdevel/git-forest
index d5faab7..9a91c6f 100755
--- a/sdevel/git-forest
+++ b/sdevel/git-forest
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
# SPDX-License-Identifier: GPL-2.0-or-later
# SPDX-FileCopyrightText: 2008 Jan Engelhardt
#
diff --git a/sdevel/git-revert-stats b/sdevel/git-revert-stats
index 015e5b9..2894351 100755
--- a/sdevel/git-revert-stats
+++ b/sdevel/git-revert-stats
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
# SPDX-License-Identifier: MIT
#
# git-revert statistics
diff --git a/sdevel/man2html b/sdevel/man2html
index 3075711..359aa70 100755
--- a/sdevel/man2html
+++ b/sdevel/man2html
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
# SPDX-License-Identifier: MIT
#
# man2html (yet another one)
diff --git a/sdevel/paddrspacesize b/sdevel/paddrspacesize
index a7b2f2d..42b2d50 100755
--- a/sdevel/paddrspacesize
+++ b/sdevel/paddrspacesize
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
# SPDX-License-Identifier: MIT
#
# Print size of adress space
diff --git a/sdevel/proc_stat_signal_decode b/sdevel/proc_stat_signal_decode
index a67913c..117c36a 100755
--- a/sdevel/proc_stat_signal_decode
+++ b/sdevel/proc_stat_signal_decode
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
# SPDX-License-Identifier: MIT
#
# proc_stat_signal_decode - read /proc/stat signal status
diff --git a/sdevel/sourcefuncsize b/sdevel/sourcefuncsize
index aabfe89..a2ecd57 100755
--- a/sdevel/sourcefuncsize
+++ b/sdevel/sourcefuncsize
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
# SPDX-License-Identifier: GPL-2.0-or-later
# SPDX-FileCopyrightText: 2005-2007 Jan Engelhardt
#
diff --git a/sdevel/spec-beautifier b/sdevel/spec-beautifier
index ad7dae1..83b5b03 100755
--- a/sdevel/spec-beautifier
+++ b/sdevel/spec-beautifier
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
# SPDX-License-Identifier: GPL-2.0-or-later
# SPDX-FileCopyrightText: 2010-2011 Jan Engelhardt
#
diff --git a/smm/aumeta b/smm/aumeta
index 465d034..adc205c 100755
--- a/smm/aumeta
+++ b/smm/aumeta
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
# SPDX-License-Identifier: MIT
#
# Move seek index and add metadata
diff --git a/smm/extract_d3pkg b/smm/extract_d3pkg
index 7ddf80c..6953034 100755
--- a/smm/extract_d3pkg
+++ b/smm/extract_d3pkg
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
# SPDX-License-Identifier: MIT
#
# extract_d3pkg - extract Descent3 PKG files
diff --git a/smm/extract_dfqshared.pm b/smm/extract_dfqshared.pm
index c6d5971..cfe1b65 100644
--- a/smm/extract_dfqshared.pm
+++ b/smm/extract_dfqshared.pm
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
# SPDX-License-Identifier: MIT
use strict;
diff --git a/smm/extract_dxhog b/smm/extract_dxhog
index a0b7802..c89735e 100755
--- a/smm/extract_dxhog
+++ b/smm/extract_dxhog
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
# SPDX-License-Identifier: MIT
#
# extract_d3hog - extract Descent3 HOG files
diff --git a/smm/extract_f3pod b/smm/extract_f3pod
index f92d7e2..b876689 100755
--- a/smm/extract_f3pod
+++ b/smm/extract_f3pod
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
# SPDX-License-Identifier: MIT
#
# extract_f3pod - extract Fury3 POD files
diff --git a/smm/extract_qupak b/smm/extract_qupak
index 46b8d06..4eccdde 100755
--- a/smm/extract_qupak
+++ b/smm/extract_qupak
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
# SPDX-License-Identifier: MIT
#
# extract_q2pak - extract Quake1/Quake2 PAK files
diff --git a/smm/gpsh b/smm/gpsh
index b01d168..ebb3570 100755
--- a/smm/gpsh
+++ b/smm/gpsh
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
# SPDX-License-Identifier: MIT
# SPDX-FileCopyrightText: 2010 Jan Engelhardt
#
diff --git a/smm/ssa2srt b/smm/ssa2srt
index 0b9806e..e65020f 100755
--- a/smm/ssa2srt
+++ b/smm/ssa2srt
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
# SPDX-License-Identifier: MIT
#
# Rudimentary script to reduce SSA subtitles to SRT format
diff --git a/suser/mailsplit b/suser/mailsplit
index adf8834..b5736a6 100755
--- a/suser/mailsplit
+++ b/suser/mailsplit
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
# SPDX-License-Identifier: MIT
#
# written by Jan Engelhardt, 2007-2008
diff --git a/suser/pegrep b/suser/pegrep
index 3e243d9..1993606 100755
--- a/suser/pegrep
+++ b/suser/pegrep
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
# SPDX-License-Identifier: MIT
use strict;
diff --git a/suser/pesubst b/suser/pesubst
index 423eafb..b442698 100755
--- a/suser/pesubst
+++ b/suser/pesubst
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
# SPDX-License-Identifier: MIT
#
# pesubst - replace strings in files
diff --git a/suser/qpdecode b/suser/qpdecode
index a7d567b..0e65cef 100755
--- a/suser/qpdecode
+++ b/suser/qpdecode
@@ -1,3 +1,3 @@
-#!/usr/bin/perl -lp
+#!/usr/bin/env perl -lp
# SPDX-License-Identifier: MIT
s{=(..)}{pack("H*",$1)}egs;
diff --git a/suser/qtar b/suser/qtar
index ee12465..908972f 100755
--- a/suser/qtar
+++ b/suser/qtar
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
# SPDX-License-Identifier: MIT
#
# quicker tar + better defaults
diff --git a/suser/settime.pl b/suser/settime.pl
index 3505212..388a2ed 100755
--- a/suser/settime.pl
+++ b/suser/settime.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
# SPDX-License-Identifier: MIT
use strict;
diff --git a/suser/wktimer b/suser/wktimer
index e6bff9c..a203b9c 100755
--- a/suser/wktimer
+++ b/suser/wktimer
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
# SPDX-License-Identifier: GPL-2.0-or-later
# SPDX-FileCopyrightText: 2004-2007 Jan Engelhardt
#
diff --git a/suser/xmlformat b/suser/xmlformat
index 54d84be..38c84b2 100755
--- a/suser/xmlformat
+++ b/suser/xmlformat
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
use strict;
use warnings;
--
2.37.3