termux-packages/packages/netpbm/buildtools-installnetpbm.pl.patch

40 lines
960 B
Diff
Raw Normal View History

2017-10-06 13:26:25 +02:00
diff -u -r ../netpbm-advanced-r3084/buildtools/installnetpbm.pl ./buildtools/installnetpbm.pl
--- ../netpbm-advanced-r3084/buildtools/installnetpbm.pl 2017-10-06 07:49:15.000000000 +0200
+++ ./buildtools/installnetpbm.pl 2017-10-06 12:18:07.809552955 +0200
@@ -32,16 +32,7 @@
my ($prompt, $default) = @_;
- print("$prompt ($default) ==> ");
-
- my $response = <STDIN>;
-
- chomp($response);
- if ($response eq "") {
- $response = $default;
- }
-
- return $response;
+ return $default;
}
@@ -185,7 +176,7 @@
2015-06-13 01:03:31 +02:00
$default = "/usr/local/netpbm";
}
2017-10-06 13:26:25 +02:00
- my $response = fsObjPrompt("install prefix", $default);
2015-06-13 01:03:31 +02:00
+ my $response = "@TERMUX_PREFIX@";
my $prefix;
2017-10-06 13:26:25 +02:00
@@ -573,7 +564,7 @@
2015-06-13 01:03:31 +02:00
$done = $FALSE;
while (!$done) {
- my $response = prompt("Y(es) or N(o)", "Y");
+ my $response = "N";
if (uc($response) eq "Y") {
execLdconfig();