summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo2013-11-07 14:42:16 +0100
committer Robby Workman2013-11-08 21:38:47 +0100
commitc76a7b07272f11f4d7166127bb0eff934b9bf771 (patch)
tree1f3e7b7333a0a7d9aa2c24f36d184205030af29a
parent606e3a09c3becdcae1fdacc71f13126e51d6b282 (diff)
downloadslackbuilds-c76a7b07272f11f4d7166127bb0eff934b9bf771.tar.gz
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>
-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()