aboutsummaryrefslogtreecommitdiffstats
path: root/www/mnogosearch31
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2001-02-01 23:23:12 +0800
committerache <ache@FreeBSD.org>2001-02-01 23:23:12 +0800
commit0bd7b3e8a7305665d6a9ddb11af08bd35800fd20 (patch)
treee60e4126c6f4af5c6d012bafaa334c2b074577ba /www/mnogosearch31
parent70599628dc41ebeb8dea96e2c09fa2e4c43932cc (diff)
downloadfreebsd-ports-graphics-0bd7b3e8a7305665d6a9ddb11af08bd35800fd20.tar.gz
freebsd-ports-graphics-0bd7b3e8a7305665d6a9ddb11af08bd35800fd20.tar.zst
freebsd-ports-graphics-0bd7b3e8a7305665d6a9ddb11af08bd35800fd20.zip
Fix error in suffixes area when importing affixes to DB
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 34452bec4f2..250ef5e0a18 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 00000000000..86336e9ad78
--- /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){