summaryrefslogtreecommitdiffstats
path: root/perl/perl-MusicBrainz-DiscID
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo <willysr@slackware-id.org>2013-11-07 20:42:16 +0700
committer Robby Workman <rworkman@slackbuilds.org>2013-11-09 01:34:45 -0600
commit41d7af01309100a65d73341d610ada7b87619cef (patch)
tree0b5065482f2fedae4fd2fb40c80e3447c91a7aa3 /perl/perl-MusicBrainz-DiscID
parent2585f3b5c001433f50226b7f600e1169ddeb5449 (diff)
downloadslackbuilds-41d7af01309100a65d73341d610ada7b87619cef.tar.gz
slackbuilds-41d7af01309100a65d73341d610ada7b87619cef.tar.xz
perl/perl-MusicBrainz-DiscID: Included pod encoding patch
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'perl/perl-MusicBrainz-DiscID')
-rw-r--r--perl/perl-MusicBrainz-DiscID/perl-MusicBrainz-DiscID.SlackBuild10
-rw-r--r--perl/perl-MusicBrainz-DiscID/pod-encoding.patch11
2 files changed, 17 insertions, 4 deletions
diff --git a/perl/perl-MusicBrainz-DiscID/perl-MusicBrainz-DiscID.SlackBuild b/perl/perl-MusicBrainz-DiscID/perl-MusicBrainz-DiscID.SlackBuild
index 081ec828f9..0c65fdf9bc 100644
--- a/perl/perl-MusicBrainz-DiscID/perl-MusicBrainz-DiscID.SlackBuild
+++ b/perl/perl-MusicBrainz-DiscID/perl-MusicBrainz-DiscID.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=perl-MusicBrainz-DiscID
VERSION=${VERSION:-0.03}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
SRCNAM="$(printf $PRGNAM | cut -d- -f2-)"
@@ -65,11 +65,13 @@ rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
-find . \
+find -L . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+patch -p1 < $CWD/pod-encoding.patch
perl Build.PL \
prefix=/usr \
diff --git a/perl/perl-MusicBrainz-DiscID/pod-encoding.patch b/perl/perl-MusicBrainz-DiscID/pod-encoding.patch
new file mode 100644
index 0000000000..d6196cf9a1
--- /dev/null
+++ b/perl/perl-MusicBrainz-DiscID/pod-encoding.patch
@@ -0,0 +1,11 @@
+--- a/lib/MusicBrainz/DiscID.pm 2013-10-20 22:04:53.340046220 +0200
++++ b/lib/MusicBrainz/DiscID.pm 2013-10-20 22:06:21.580047858 +0200
+@@ -156,7 +156,7 @@
+ Construct a new DiscID object.
+
+ As an optional argument the name of the device to read the ID from may
+-be given. If you donÔt specify a device here you can later read the ID with
++be given. If you don't specify a device here you can later read the ID with
+ the read method.
+
+ =item $discid->error_msg()