X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fmunge-ad.pl;h=4f44a8eb3fda400041928e1fa7b0cdcc6d543f56;hp=10ef3ea36d3bb5bd613a9f2d87da78d09ef2421a;hb=ec8d2b32b63649e6d32bdfb306eda062769af823;hpb=1d7308dd9032b39a92fda86e8c2db04218b45fbf diff --git a/hacks/munge-ad.pl b/hacks/munge-ad.pl index 10ef3ea3..4f44a8eb 100755 --- a/hacks/munge-ad.pl +++ b/hacks/munge-ad.pl @@ -1,5 +1,5 @@ #!/usr/bin/perl -w -# Copyright © 2008, 2009 Jamie Zawinski +# Copyright © 2008-2011 Jamie Zawinski # # Permission to use, copy, modify, distribute, and sell this software and its # documentation for any purpose is hereby granted without fee, provided that @@ -18,7 +18,7 @@ use diagnostics; use strict; my $progname = $0; $progname =~ s@.*/@@g; -my $version = q{ $Revision: 1.6 $ }; $version =~ s/^[^\d]+([\d.]+).*/$1/; +my $version = q{ $Revision: 1.7 $ }; $version =~ s/^[^\d]+([\d.]+).*/$1/; my $verbose = 0; @@ -155,6 +155,7 @@ sub munge_ad($) { my $glep = ($hack eq 'extrusion'); if (-f "$hack.c" || -f "$hack") { $glp = 0; } elsif (-f "glx/$hack.c") { $glp = 1; } + elsif ($hack eq 'companioncube') { $glp = 1; } # kludge elsif ($dis != 2) { error ("is $hack X or GL?"); } $counts[($disable{$hack} || 0)]++;