summaryrefslogtreecommitdiff
path: root/www/mnogosearch31
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2001-02-01 15:23:12 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2001-02-01 15:23:12 +0000
commit3d8e06d635804b924e4b3da7fbc98bb8bd8393c2 (patch)
tree07899efc896d8d8ab0e27a45ae5dc51f7a18c579 /www/mnogosearch31
parento update to 1.13.19. (diff)
Fix error in suffixes area when importing affixes to DB
Notes
Notes: svn path=/head/; revision=37883
Diffstat (limited to 'www/mnogosearch31')
-rw-r--r--www/mnogosearch31/Makefile2
-rw-r--r--www/mnogosearch31/files/patch-ae19
2 files changed, 20 insertions, 1 deletions
diff --git a/www/mnogosearch31/Makefile b/www/mnogosearch31/Makefile
index 34452bec4f26..250ef5e0a18c 100644
--- a/www/mnogosearch31/Makefile
+++ b/www/mnogosearch31/Makefile
@@ -7,7 +7,7 @@
PORTNAME= mnogosearch
PORTVERSION= 3.1.9
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= www databases
MASTER_SITES= http://search.mnogo.ru/Download/
diff --git a/www/mnogosearch31/files/patch-ae b/www/mnogosearch31/files/patch-ae
new file mode 100644
index 000000000000..86336e9ad787
--- /dev/null
+++ b/www/mnogosearch31/files/patch-ae
@@ -0,0 +1,19 @@
+--- src/spell.c.bak Fri Jan 12 16:28:30 2001
++++ src/spell.c Thu Feb 1 01:19:29 2001
+@@ -137,7 +137,7 @@
+ __INDLIB__ int UdmDBImportDictionary(UDM_AGENT * Indexer,const char *lang,const char *filename, int dump){
+ unsigned char str[BUFSIZ];
+ unsigned char *s;
+- const unsigned char *flag=NULL;
++ const unsigned char *flag;
+ int rej=0;
+ int imp=0;
+ FILE *dict;
+@@ -145,6 +145,7 @@
+ if(!(dict=fopen(filename,"r")))return(1);
+ while(fgets(str,sizeof(str),dict)){
+
++ flag=NULL;
+ if((s=strchr(str,'/'))){
+ *s=0;s++;flag=s;
+ while(*s){