From 7c913cd157392f6b236b48d7ebd9c6109d388854 Mon Sep 17 00:00:00 2001 From: sthen Date: Mon, 15 Jun 2026 08:59:41 +0000 Subject: [PATCH] update to p5-Audio-Scan-1.13 --- audio/p5-Audio-Scan/Makefile | 9 ++-- audio/p5-Audio-Scan/distinfo | 4 +- audio/p5-Audio-Scan/patches/patch-Scan_xs | 59 ----------------------- audio/p5-Audio-Scan/pkg/PLIST | 2 +- 4 files changed, 8 insertions(+), 66 deletions(-) delete mode 100644 audio/p5-Audio-Scan/patches/patch-Scan_xs diff --git a/audio/p5-Audio-Scan/Makefile b/audio/p5-Audio-Scan/Makefile index ff8c48e1c82..b41975d2fa3 100644 --- a/audio/p5-Audio-Scan/Makefile +++ b/audio/p5-Audio-Scan/Makefile @@ -1,8 +1,9 @@ COMMENT= fast audio metadata and tag reader for Perl -DISTNAME= Audio-Scan-1.01 +DISTNAME= Audio-Scan-1.13 +CPAN_AUTHOR= ELBRUS + CATEGORIES= audio -REVISION= 0 # GPLv2 PERMIT_PACKAGE= Yes @@ -10,10 +11,10 @@ PERMIT_PACKAGE= Yes WANTLIB += c perl z MODULES= cpan -MODPERL_REGEN_PPPORT = include/ppport.h +#MODPERL_REGEN_PPPORT = include/ppport.h TEST_DEPENDS= devel/p5-Test-Warn -MAKE_ENV+= TEST_POD=Yes +MAKE_ENV= TEST_POD=Yes .include diff --git a/audio/p5-Audio-Scan/distinfo b/audio/p5-Audio-Scan/distinfo index ef13bcf31c3..102cbe81d63 100644 --- a/audio/p5-Audio-Scan/distinfo +++ b/audio/p5-Audio-Scan/distinfo @@ -1,2 +1,2 @@ -SHA256 (Audio-Scan-1.01.tar.gz) = gxJyAnHHrdxLvuwzEs3divS5kKxjYgSllsB5M61sY0o= -SIZE (Audio-Scan-1.01.tar.gz) = 4827918 +SHA256 (Audio-Scan-1.13.tar.gz) = +MKMY69WFexWoSW+DoRu6Cko0/esYi/EeSU9zYEIdp4= +SIZE (Audio-Scan-1.13.tar.gz) = 7908257 diff --git a/audio/p5-Audio-Scan/patches/patch-Scan_xs b/audio/p5-Audio-Scan/patches/patch-Scan_xs deleted file mode 100644 index b23e67584a4..00000000000 --- a/audio/p5-Audio-Scan/patches/patch-Scan_xs +++ /dev/null @@ -1,59 +0,0 @@ -Fix build with Perl 5.42 - -Index: Scan.xs ---- Scan.xs.orig -+++ Scan.xs -@@ -214,7 +214,7 @@ _generate_hash(const char *file) - MODULE = Audio::Scan PACKAGE = Audio::Scan - - HV * --_scan( char *, char *suffix, PerlIO *infile, SV *path, int filter, int md5_size, int md5_offset ) -+_scan( char *foo, char *suffix, PerlIO *infile, SV *path, int filter, int md5_size, int md5_offset ) - CODE: - { - taghandler *hdl; -@@ -266,7 +266,7 @@ OUTPUT: - RETVAL - - int --_find_frame( char *, char *suffix, PerlIO *infile, SV *path, int offset ) -+_find_frame( char *foo, char *suffix, PerlIO *infile, SV *path, int offset ) - CODE: - { - taghandler *hdl; -@@ -282,7 +282,7 @@ OUTPUT: - RETVAL - - HV * --_find_frame_return_info( char *, char *suffix, PerlIO *infile, SV *path, int offset ) -+_find_frame_return_info( char *foo, char *suffix, PerlIO *infile, SV *path, int offset ) - CODE: - { - taghandler *hdl = _get_taghandler(suffix); -@@ -306,7 +306,7 @@ OUTPUT: - RETVAL - - int --is_supported(char *, SV *path) -+is_supported(char *foo, SV *path) - CODE: - { - char *suffix = strrchr( SvPVX(path), '.' ); -@@ -322,7 +322,7 @@ OUTPUT: - RETVAL - - SV * --type_for(char *, SV *suffix) -+type_for(char *foo, SV *suffix) - CODE: - { - taghandler *hdl = NULL; -@@ -360,7 +360,7 @@ OUTPUT: - RETVAL - - AV * --extensions_for(char *, SV *type) -+extensions_for(char *foo, SV *type) - CODE: - { - int i, j; diff --git a/audio/p5-Audio-Scan/pkg/PLIST b/audio/p5-Audio-Scan/pkg/PLIST index 8b809b03be9..b1c39431566 100644 --- a/audio/p5-Audio-Scan/pkg/PLIST +++ b/audio/p5-Audio-Scan/pkg/PLIST @@ -4,5 +4,5 @@ ${P5ARCH}/Audio/Scan.pm ${P5ARCH}/auto/ ${P5ARCH}/auto/Audio/ ${P5ARCH}/auto/Audio/Scan/ -${P5ARCH}/auto/Audio/Scan/Scan.so +@so ${P5ARCH}/auto/Audio/Scan/Scan.so @man man/man3p/Audio::Scan.3p