-
Notifications
You must be signed in to change notification settings - Fork 3
/
jzip.rb
38 lines (30 loc) · 802 Bytes
/
jzip.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
require 'formula'
class Jzip < Formula
homepage 'http://jzip.sourceforge.net/'
url 'http://download.sourceforge.net/jzip/jzip21-10oct2000.zip'
sha256 '722a81ee1a9cff51f468dbf38c54a2b149e6cda71e6c540caf4ec4308e290d9d'
version '2.1'
patch :DATA
def install
ENV.delete("SDKROOT")
system "make -f unixio.mak"
bin.install "jzip"
bin.install "jzexe"
bin.install "ckifzs"
end
def test
system "jzip"
end
end
__END__
diff --git a/osdepend.c b/osdepend.c
index 12c8bc4..bf62f06 100644
--- a/osdepend.c
+++ b/osdepend.c
@@ -87,7 +87,7 @@ static int strictz_error_count[STRICTZ_NUM_ERRORS];
/* getopt linkages */
extern int optind;
-extern const char *optarg;
+// extern const char *optarg;
extern ZINT16 default_fg, default_bg;
#endif /* !defined(AMIGA) */