aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xscreensaver-gnome
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-04-20 14:12:01 +0800
committermarcus <marcus@FreeBSD.org>2003-04-20 14:12:01 +0800
commit257c7040561addd34e984e7c5e014ec67380d9bf (patch)
treeb3c2073a8a003b24da0fb4c38a89debed0d6a7ee /x11/xscreensaver-gnome
parent5fe0ee1e1942cdbadb64b527145372abd36c1bac (diff)
downloadfreebsd-ports-gnome-257c7040561addd34e984e7c5e014ec67380d9bf.tar.gz
freebsd-ports-gnome-257c7040561addd34e984e7c5e014ec67380d9bf.tar.zst
freebsd-ports-gnome-257c7040561addd34e984e7c5e014ec67380d9bf.zip
Add a patch to make webcollage get along with Perl < 5.6.
Diffstat (limited to 'x11/xscreensaver-gnome')
-rw-r--r--x11/xscreensaver-gnome/Makefile2
-rw-r--r--x11/xscreensaver-gnome/files/patch-hacks_webcollage23
2 files changed, 24 insertions, 1 deletions
diff --git a/x11/xscreensaver-gnome/Makefile b/x11/xscreensaver-gnome/Makefile
index 8ce9d4d91db3..752ff182ad3d 100644
--- a/x11/xscreensaver-gnome/Makefile
+++ b/x11/xscreensaver-gnome/Makefile
@@ -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}
diff --git a/x11/xscreensaver-gnome/files/patch-hacks_webcollage b/x11/xscreensaver-gnome/files/patch-hacks_webcollage
new file mode 100644
index 000000000000..9cb8dbc0546f
--- /dev/null
+++ b/x11/xscreensaver-gnome/files/patch-hacks_webcollage
@@ -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;