Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added CPAN/Audio-Scan-1.11.tar.gz
Binary file not shown.
10 changes: 10 additions & 0 deletions CPAN/EV-typematch.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
39,43c39,41
< if (!(SvROK ($arg) && SvOBJECT (SvRV ($arg))
< && (SvSTASH (SvRV ($arg)) == stash_" . ($type =~ /ev_(\S+)/, "$1") . "
< || sv_derived_from ($arg, \"EV::" . ($type =~ /ev_(\S+)/, ucfirst "$1") . "\"))))
< croak (\"object is not of type EV::" . ($type =~ /ev_(\S+)/, ucfirst "$1") . "\");
< $var = ($type)SvPVX (SvRV ($arg));
---
> if (!(SvROK($arg) && SvOBJECT(SvRV($arg)) && sv_derived_from($arg, \"EV::Watcher\")))
> croak(\"$var is not of type EV::Watcher\");
> $var = ($type)SvPVX(SvRV($arg));
7 changes: 6 additions & 1 deletion CPAN/buildme.sh
Original file line number Diff line number Diff line change
Expand Up @@ -750,6 +750,11 @@ function build {

tar_wrapper zxf EV-4.03.tar.gz
cd EV-4.03

if [[ "$PERL_VERSION" -ge "5.42" ]]; then
patch typemap ../EV-typemap.patch || true
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that I can skip the || true bit if desired. This was done to allow repeat builds for the AUR package, i.e. if you made some edits and re-ran the build. It also means that the build won't exit if EV is patched/fixed upstream.

fi

patch -p0 < ../EV-llvm-workaround.patch # patch to avoid LLVM bug 9891
if [ "$OS" = "Darwin" ]; then
if [ $PERL_58 ]; then
Expand Down Expand Up @@ -907,7 +912,7 @@ function build {
build_module Sub-Uplevel-0.22 "" 0
build_module Tree-DAG_Node-1.06 "" 0
build_module Test-Warn-0.23 "" 0
build_module Audio-Scan-1.10
build_module Audio-Scan-1.11
;;

MP3::Cut::Gapless)
Expand Down