aboutsummaryrefslogtreecommitdiff
path: root/russian/rux
diff options
context:
space:
mode:
authorAndrey Slusar <anray@FreeBSD.org>2006-01-24 17:19:51 +0000
committerAndrey Slusar <anray@FreeBSD.org>2006-01-24 17:19:51 +0000
commitc959721ff25a22f412a3e8ca0c4bda4cfb3e3e11 (patch)
tree77d8ba76d1a64c07fe13ad2ba07f03c2e9e5508e /russian/rux
parent3b41e440b5be595cc57388155bb11be374313154 (diff)
downloadports-c959721ff25a22f412a3e8ca0c4bda4cfb3e3e11.tar.gz
ports-c959721ff25a22f412a3e8ca0c4bda4cfb3e3e11.zip
Notes
Diffstat (limited to 'russian/rux')
-rw-r--r--russian/rux/Makefile2
-rw-r--r--russian/rux/distinfo8
-rw-r--r--russian/rux/files/patch-cpdetect.c26
-rw-r--r--russian/rux/files/patch-rux.c36
4 files changed, 5 insertions, 67 deletions
diff --git a/russian/rux/Makefile b/russian/rux/Makefile
index 54662f8fc2aa..b5890f723669 100644
--- a/russian/rux/Makefile
+++ b/russian/rux/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= rux
-PORTVERSION= 0.73
+PORTVERSION= 0.74
CATEGORIES= russian
MASTER_SITES= http://asdf2087.narod.ru/
diff --git a/russian/rux/distinfo b/russian/rux/distinfo
index 4b1c5ab89b6a..cbea0caa2cb2 100644
--- a/russian/rux/distinfo
+++ b/russian/rux/distinfo
@@ -1,4 +1,4 @@
-MD5 (rux-0.73.tar.gz) = 4ac6590890fda2b79a470eecf1cabe36
-SHA1 (rux-0.73.tar.gz) = bc0f814ec37fd8824e79a3a77437df706e5e7c64
-SHA256 (rux-0.73.tar.gz) = fb9a24e672abf0ae84c1a8fa9dbb6d1e89cb8d32691d2c96c031e9dd4fae60e3
-SIZE (rux-0.73.tar.gz) = 8584
+MD5 (rux-0.74.tar.gz) = 43882cd8b2bed2a51f79b8915c65a3ba
+SHA1 (rux-0.74.tar.gz) = b9303367fe8f2aaacbd6d82de2450443aea19775
+SHA256 (rux-0.74.tar.gz) = 87a33b355d003ca0b9efe3e8330ccc73e0e8f42139092841cf8d9c5603ad732e
+SIZE (rux-0.74.tar.gz) = 9388
diff --git a/russian/rux/files/patch-cpdetect.c b/russian/rux/files/patch-cpdetect.c
deleted file mode 100644
index d9e487ca5952..000000000000
--- a/russian/rux/files/patch-cpdetect.c
+++ /dev/null
@@ -1,26 +0,0 @@
---- cpdetect.c.orig Sat Dec 24 18:32:27 2005
-+++ cpdetect.c Sun Jan 1 15:57:17 2006
-@@ -64,6 +64,8 @@
- struct cpinfo *in_cp = def_cp;
-
- for (cur_cp = cp; cur_cp->cp_name; cur_cp++) {
-+ u_char *p;
-+ float cur_exp = .0; /* an expectancy of current code page */
- memset(tab, 255, sizeof(tab));
- memset(freq, 0, sizeof(freq));
-
-@@ -71,13 +73,11 @@
- tab[cur_cp->cp_data[i]] = i;
- }
-
-- u_char *p = buf + len - 1;
-+ p = buf + len - 1;
-
- while ((p - buf) >= 0) {
- ++freq[tab[*p--]]; /* freq[0xff] is a heap :) */
- }
--
-- float cur_exp = .0; /* an expectancy of current code page */
-
- for (i = 0; i < cp_size; i++) {
- float freq_factor = freq[i] / (float)len;
diff --git a/russian/rux/files/patch-rux.c b/russian/rux/files/patch-rux.c
deleted file mode 100644
index 5f8f70615749..000000000000
--- a/russian/rux/files/patch-rux.c
+++ /dev/null
@@ -1,36 +0,0 @@
---- rux.c.orig Sun Dec 25 00:22:01 2005
-+++ rux.c Sun Jan 1 15:46:52 2006
-@@ -70,9 +70,10 @@
- extern int optind;
-
- char *buf = NULL; /* analizing buffer */
-+ int flag;
-+ int readstdin = 0; /* read from stdin */
-
- o_cp = &codepage[2]; /* sets koi8-r as default outcp */
-- int flag;
-
- while ((flag = getopt(argc, argv, "i:o:thegTs:")) != -1) {
- switch (flag) {
-@@ -133,19 +134,18 @@
- }
- }
-
-- int readstdin = 0; /* read from stdin */
--
- if (argc == 0)
- readstdin = 1;
-
- while (1) {
-+ int buflen = 0;
-+
- if (readstdin) {
- in = stdin;
- } else if ((in = fopen(*argv, "r")) == NULL) {
- perror(*argv);
- return errno;
- }
-- int buflen = 0;
-
- if (fdetect) {
- buflen = fread(buf, 1, ansize, in);