summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()