summaryrefslogtreecommitdiff
path: root/www/amphetadesk/files/patch-lib::AmphetaDesk::Utilities.pm
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2005-10-11 22:10:24 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2005-10-11 22:10:24 +0000
commitca7d54cfa73c075de1d95f7cd336c4f51a13f3ca (patch)
treecf16fadb65e284d3cb1ca4707989baaf7959e7ce /www/amphetadesk/files/patch-lib::AmphetaDesk::Utilities.pm
parentUpdate to 3.5.4 (diff)
o Take over maintainership on previous maintainers request
o Uphold hier(7) o Add rc.d(8) rc.subr(8) script o Fix several warnings o Change default rss channels to BSD based ones: - http://www.freebsd.org/ - http://www.freshports.org/ - http://www.oreillynet.com/pub/au/73 - http://bsdnews.com/ o Fetch an updated full channel list from the Internet if none previously exist o Add fork(2)/exec(3) browser support with signal(3) SIGCHLD handling o AmphetaDesk now allows per user configurations. Due to that, it now requires a user with a home directory so that. One can use the rc.d script to choose a user to launch AmphetaDesk from startup or just to run it normally from any user other than root o Bump PORTREVISION Approved by: Kenneth Stailey <kstailey@yahoo.com> (previous maintainer)
Notes
Notes: svn path=/head/; revision=145026
Diffstat (limited to 'www/amphetadesk/files/patch-lib::AmphetaDesk::Utilities.pm')
-rw-r--r--www/amphetadesk/files/patch-lib::AmphetaDesk::Utilities.pm29
1 files changed, 29 insertions, 0 deletions
diff --git a/www/amphetadesk/files/patch-lib::AmphetaDesk::Utilities.pm b/www/amphetadesk/files/patch-lib::AmphetaDesk::Utilities.pm
new file mode 100644
index 000000000000..efa3380c5d85
--- /dev/null
+++ b/www/amphetadesk/files/patch-lib::AmphetaDesk::Utilities.pm
@@ -0,0 +1,29 @@
+--- lib/AmphetaDesk/Utilities.pm.orig Sun Oct 9 19:45:59 2005
++++ lib/AmphetaDesk/Utilities.pm Sun Oct 9 19:51:44 2005
+@@ -112,7 +112,7 @@
+ $hour = sprintf "%02.0d", $hour;
+
+ # print the entry to our log file.
+- print LOG "[$hour:$min:$sec] $message\n";
++ print LOG "[$hour:$min:$sec] $message\n" if fileno LOG;
+
+ # and save the message in our response log
+ # if the message is also being sent to the gui.
+@@ -127,7 +127,7 @@
+ $os = "MacOS" if $^O =~ /Mac/;
+ $os = "Windows" if $^O =~ /Win/;
+ $os = "Linux" unless defined $os;
+- my $packname = "AmphetaDesk::OS::";
++ my $packname = "AmphetaDesk::AmphetaDesk::OS::";
+ my $funcname = "::gui_note";
+ &{ $packname. $os . $funcname }($message) if $gui;
+ }
+@@ -151,7 +151,7 @@
+ $os = "MacOS" if $^O =~ /Mac/;
+ $os = "Windows" if $^O =~ /Win/;
+ $os = "Linux" unless defined $os;
+- my $packname = "AmphetaDesk::OS::";
++ my $packname = "AmphetaDesk::AmphetaDesk::OS::";
+ my $funcname = "::gui_note";
+ &{ $packname. $os . $funcname }($message);
+ }