Add a patch to make webcollage get along with Perl < 5.6.

This commit is contained in:
Joe Marcus Clarke 2003-04-20 06:12:01 +00:00
parent 57142c2fd3
commit b6db67fb66
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=79340
2 changed files with 24 additions and 1 deletions

View file

@ -7,7 +7,7 @@
PORTNAME= xscreensaver-gnome
PORTVERSION= 4.09
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= x11 gnome
MASTER_SITES= http://www.jwz.org/xscreensaver/
DISTNAME= xscreensaver-${PORTVERSION}

View file

@ -0,0 +1,23 @@
--- hacks/webcollage.orig Sun Apr 20 02:07:13 2003
+++ hacks/webcollage Sun Apr 20 02:07:52 2003
@@ -31,6 +31,9 @@
#
# Driftnet is the Unix implementation of the MacOS "EtherPEG" program.
+BEGIN {
+ eval "use bytes";
+}
require 5;
use strict;
@@ -46,10 +49,6 @@
require POSIX;
use Fcntl ':flock'; # import LOCK_* constants
use POSIX qw(strftime);
-
-use bytes; # Larry can take Unicode and shove it up his ass sideways.
- # Perl 5.8.0 causes us to start getting incomprehensible
- # errors about UTF-8 all over the place without this.
my $progname = $0; $progname =~ s@.*/@@g;