From: Elan Ruusamäe Date: Tue, 21 Mar 2006 19:37:57 +0000 (+0000) Subject: - build fixes X-Git-Url: http://git.pld-linux.org/?p=packages%2Fautomsn.git;a=commitdiff_plain;h=f0fffdda92260e84c1566fe649884711bd65e5cd - build fixes Changed files: automsn.patch -> 1.1 --- f0fffdda92260e84c1566fe649884711bd65e5cd diff --git a/automsn.patch b/automsn.patch new file mode 100644 index 0000000..5fedf42 --- /dev/null +++ b/automsn.patch @@ -0,0 +1,40 @@ +--- automsn-1.1.2/automsn 2006-03-21 21:29:41.000000000 +0200 ++++ /tmp/automsn 2006-03-21 21:29:23.000000000 +0200 +@@ -6,6 +6,8 @@ + use strict; + use IO::Socket; + ++$| = 1; ++ + print <); +- $ch = lc($ch); +-} while($ch !~ /^[yn]$/); ++if (-t STDIN) { ++ print "Proceed? [Y/N] "; ++ do { ++ chomp ($ch = <>); ++ $ch = lc($ch); ++ } while($ch !~ /^[yn]$/); + +-if($ch ne 'y') { +- exit; ++ if ($ch ne 'y') { ++ exit; ++ } + } + +-my $destdir = shift || ''; + my $default = "/share/emoticons/AutoMSN"; + my $default33 = "/share/apps/kopete/pics/emoticons/AutoMSN"; +