aboutsummaryrefslogtreecommitdiffstats
path: root/ukrainian/iceb
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-10-10 19:14:15 +0800
committeredwin <edwin@FreeBSD.org>2003-10-10 19:14:15 +0800
commit8f830f8a255094b465b8816f2cf5ac80ce708a86 (patch)
tree19dbf10fcaa1e1f70d22442b971d687d0fa630ce /ukrainian/iceb
parentbd8ce37865c1728c725d280b1c0845332e866fa2 (diff)
downloadfreebsd-ports-gnome-8f830f8a255094b465b8816f2cf5ac80ce708a86.tar.gz
freebsd-ports-gnome-8f830f8a255094b465b8816f2cf5ac80ce708a86.tar.zst
freebsd-ports-gnome-8f830f8a255094b465b8816f2cf5ac80ce708a86.zip
New port: Ukrainian accounting system. New port of Ukrainian accounting system with curses GUI.
Ukrainian accounting system with curses GUI. Hardware support: - many cache registers - bar-code scanners Includes: - main book - matheriasl accounting - service accounting - salary calculation - payment documents - cachier orders accounting WWW: http://www.iceb.vinnitsa.com/ From commitor: Doesn't work on -current. Have spend way too much time finding out why not. Works on -stable. PR: ports/47809 Submitted by: Vadim Chekan <vchekan@softline.kiev.ua>
Diffstat (limited to 'ukrainian/iceb')
-rw-r--r--ukrainian/iceb/Makefile47
-rw-r--r--ukrainian/iceb/distinfo1
-rw-r--r--ukrainian/iceb/files/patch-buhg::Makefile.am30
-rw-r--r--ukrainian/iceb/files/patch-buhg::alimdbf.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::bx::Makefile.am22
-rw-r--r--ukrainian/iceb/files/patch-buhg::bx::nastsys.alx21
-rw-r--r--ukrainian/iceb/files/patch-buhg::copdok.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::copdoku.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::denrog.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::diramort.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::diramortby.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::dirdok.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::dirdok1.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::dirf8dr.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::dirkasord.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::dirkasords.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::dirmatr.c65
-rw-r--r--ukrainian/iceb/files/patch-buhg::dirmatr1.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::dirmusl.c20
-rw-r--r--ukrainian/iceb/files/patch-buhg::dirnu.c30
-rw-r--r--ukrainian/iceb/files/patch-buhg::dirobq.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::diros.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::dirpodu.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::dirprkas.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::dirprmu.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::dirprov.c20
-rw-r--r--ukrainian/iceb/files/patch-buhg::dirprpd.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::dirprus.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::dirprzar.c21
-rw-r--r--ukrainian/iceb/files/patch-buhg::dirpzpd.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::dirsaldo.c23
-rw-r--r--ukrainian/iceb/files/patch-buhg::dirsdf8dr.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::dirsoc.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::dirtab.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::dirtabel.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::dirtabelo.c21
-rw-r--r--ukrainian/iceb/files/patch-buhg::dirudok.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::diruosdok.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::dirusdok.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::dirusl.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::dirzarp.c21
-rw-r--r--ukrainian/iceb/files/patch-buhg::dirzarsl.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::dirzkart.c29
-rw-r--r--ukrainian/iceb/files/patch-buhg::doc::Makefile.am12
-rw-r--r--ukrainian/iceb/files/patch-buhg::doc::buhg.txt18
-rw-r--r--ukrainian/iceb/files/patch-buhg::doc::buhg0.txt12
-rw-r--r--ukrainian/iceb/files/patch-buhg::doc::buhg3.txt26
-rw-r--r--ukrainian/iceb/files/patch-buhg::dooc.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::doocsum.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::dvtmcf1.c27
-rw-r--r--ukrainian/iceb/files/patch-buhg::dvtmcf2.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::dvuslf2.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::glkni.c24
-rw-r--r--ukrainian/iceb/files/patch-buhg::glkninbs.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::guror.c20
-rw-r--r--ukrainian/iceb/files/patch-buhg::gurorf2.c11
-rw-r--r--ukrainian/iceb/files/patch-buhg::gurorr.c15
-rw-r--r--ukrainian/iceb/files/patch-buhg::gurorrp.c11
-rw-r--r--ukrainian/iceb/files/patch-buhg::impmatdok.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::impotvr.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::impprov.c20
-rw-r--r--ukrainian/iceb/files/patch-buhg::impzarnu.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::kasoth.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::kassa.c16
-rw-r--r--ukrainian/iceb/files/patch-buhg::kategor.c15
-rw-r--r--ukrainian/iceb/files/patch-buhg::korprov.c20
-rw-r--r--ukrainian/iceb/files/patch-buhg::korprovnbs.c11
-rw-r--r--ukrainian/iceb/files/patch-buhg::mariq.c21
-rw-r--r--ukrainian/iceb/files/patch-buhg::motpk.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::otrshd.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::perras.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::pgpld.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::platdok.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::pld.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::poikasdok.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::poimatdok.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::poiplatdok.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::poiprov.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::poiusldok.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::printpershek.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::prognoz.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::provtime.c11
-rw-r--r--ukrainian/iceb/files/patch-buhg::rasdolgi.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::rasdolgi1.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::rashod.c15
-rw-r--r--ukrainian/iceb/files/patch-buhg::rasknig.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::rasknigpok.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::rasnash.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::rasnds.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::rasoskr.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::rasprov.c11
-rw-r--r--ukrainian/iceb/files/patch-buhg::rasspdok.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::rasspdoku.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::rastab.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::rasved.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::raszall.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::raszpodr.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::rlop.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::rozkor.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::rozprod.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::rppvo.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::rppvou.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::salallk.c31
-rw-r--r--ukrainian/iceb/files/patch-buhg::smdok.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::smdok1.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::smenakof.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::smesh.c11
-rw-r--r--ukrainian/iceb/files/patch-buhg::smkont.c11
-rw-r--r--ukrainian/iceb/files/patch-buhg::smpld.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::snublsn.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::socstrm.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::sozsqlbaz.c98
-rw-r--r--ukrainian/iceb/files/patch-buhg::spiin.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::spininu.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::sprkvrt.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::sprpen1.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::sprsov.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::srvcen.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::svodnu.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::uddusl.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::uosdok.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::uosinved.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::uosvdok.c15
-rw-r--r--ukrainian/iceb/files/patch-buhg::vdnd.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::vdnu.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::vedprz.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::vkart.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::vkart1.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::vkasord.c15
-rw-r--r--ukrainian/iceb/files/patch-buhg::vmat.c38
-rw-r--r--ukrainian/iceb/files/patch-buhg::vnu.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::vos.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::vprov.c20
-rw-r--r--ukrainian/iceb/files/patch-buhg::vprovgr.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::vprovnbs.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::vusl.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::vvodf8dr.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::vvodztab.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::xbu.c38
-rw-r--r--ukrainian/iceb/files/patch-buhg::xmu.c11
-rw-r--r--ukrainian/iceb/files/patch-buhg::zarkart.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::zarrasp.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::zarsend.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::zarsocd.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::zarspek.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::zarspek1.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::zarspi.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::zarsprpr.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::zarsprsoc.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::zarsprvmn.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::zarsr.c12
-rw-r--r--ukrainian/iceb/files/patch-buhg::zarstomn.c12
-rw-r--r--ukrainian/iceb/files/patch-configure27
-rw-r--r--ukrainian/iceb/files/patch-libbuh::Makefile.am9
-rw-r--r--ukrainian/iceb/files/patch-libbuh::dirkontr.c29
-rw-r--r--ukrainian/iceb/files/patch-libbuh::dirmat1.c20
-rw-r--r--ukrainian/iceb/files/patch-libbuh::dirshet.c29
-rw-r--r--ukrainian/iceb/files/patch-libbuh::dirskont.c40
-rw-r--r--ukrainian/iceb/files/patch-libbuh::nomnalnak.c31
-rw-r--r--ukrainian/iceb/files/patch-libbuh::provnomnnak.c29
-rw-r--r--ukrainian/iceb/files/patch-libbuh::salork.c11
-rw-r--r--ukrainian/iceb/files/patch-libbuh::salorok.c31
-rw-r--r--ukrainian/iceb/files/patch-libbuh::smenabaz.c12
-rw-r--r--ukrainian/iceb/files/patch-libbuh::vkontr.c20
-rw-r--r--ukrainian/iceb/files/patch-libbuh::vmat1.c38
-rw-r--r--ukrainian/iceb/files/patch-libbuh::vprov1.c20
-rw-r--r--ukrainian/iceb/files/patch-libconfig::Makefile.am10
-rw-r--r--ukrainian/iceb/files/patch-libdev::mp.c11
-rw-r--r--ukrainian/iceb/files/patch-libscr::init_screen.c54
-rw-r--r--ukrainian/iceb/files/patch-libutil::rsdat.c11
-rw-r--r--ukrainian/iceb/files/patch-locale::Makefile.am13
-rw-r--r--ukrainian/iceb/files/patch-locale::iceb.ua.msg13
-rw-r--r--ukrainian/iceb/pkg-descr16
-rw-r--r--ukrainian/iceb/pkg-message7
-rw-r--r--ukrainian/iceb/pkg-plist371
175 files changed, 3135 insertions, 0 deletions
diff --git a/ukrainian/iceb/Makefile b/ukrainian/iceb/Makefile
new file mode 100644
index 000000000000..40f8c214741b
--- /dev/null
+++ b/ukrainian/iceb/Makefile
@@ -0,0 +1,47 @@
+# New ports collection makefile for: iceb
+# Date created: 20 December 2002
+# Whom: Vadim Chekan <vchekan@softline.kiev.ua>
+#
+# $FreeBSD$
+#
+
+PORTNAME= iceb
+PORTVERSION= 5.35
+CATEGORIES= ukrainian finance
+MASTER_SITES= http://www.iceb.vinnitsa.com/download/
+
+MAINTAINER= vchekan@softline.kiev.ua
+COMMENT= Ukrainian accounting system
+
+USE_MYSQL= yes
+WANT_MYSQL_VER= 323
+USE_GMAKE= yes
+#MAKE_FLAGS= -j2
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_AUTOCONF= yes
+USE_AUTOMAKE= yes
+USE_REINPLACE= yes
+NO_WRKSUBDIR= yes
+CONFIGURE_ARGS= \
+ --prefix=${PREFIX} \
+ --with-lang=ua \
+ --with-lock-dir=/var/spool/lock \
+ --with-config-path=${PREFIX}/etc/iceb \
+ --with-lang-path=${PREFIX}/share/nls/uk_UA.KOI8-U
+CFLAGS+= -I${LOCALBASE}/include/mysql -L${LOCALBASE}/lib/mysql
+CONFIGURE_ENV= ICEB_DB_LIB=${LOCALBASE}/lib/mysql
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} > 500000
+BROKEN= Doesn't compile on -current
+.endif
+
+post-patch:
+ ${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' ${WRKSRC}/configure.in
+
+pre-configure:
+ ${MKDIR} ${PREFIX}/share/nls/uk_UA.KOI8-U
+
+.include <bsd.port.post.mk>
diff --git a/ukrainian/iceb/distinfo b/ukrainian/iceb/distinfo
new file mode 100644
index 000000000000..6576dcc42c73
--- /dev/null
+++ b/ukrainian/iceb/distinfo
@@ -0,0 +1 @@
+MD5 (iceb-5.35.tar.gz) = 565035d68147e9085c39ef9f4be9db95
diff --git a/ukrainian/iceb/files/patch-buhg::Makefile.am b/ukrainian/iceb/files/patch-buhg::Makefile.am
new file mode 100644
index 000000000000..02dca9dfdaf2
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::Makefile.am
@@ -0,0 +1,30 @@
+diff -ru --exclude Makefile work.old/buhg/Makefile.am work/buhg/Makefile.am
+--- buhg/Makefile.am Sun Jan 12 14:47:17 2003
++++ buhg/Makefile.am Sun Jan 12 15:14:26 2003
+@@ -16,8 +16,6 @@
+ # Individual libraries
+ #
+
+-bb_LDADD = $(top_builddir)/libutil/libutil.la @ICEB_CURSES_LIB@ $(top_builddir)/libscr/libscr.la
+-
+ sozsqlbaz_LDADD = $(top_builddir)/libscr/libscr.la @ICEB_CURSES_LIB@ \
+ $(top_builddir)/libutil/libutil.la \
+ $(top_builddir)/libsql/libsql.la @ICEB_DB_LIB@
+@@ -257,5 +255,5 @@
+ poiin.c poiinpd.c
+
+ bin_PROGRAMS = sozsqlbaz dostup startxbu xbu xmu xdk xzp xuos xusl xkas \
+- xpro mariq rozn saldo kassa bb spec uos23
++ xpro mariq rozn saldo kassa spec uos23
+
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/Makefile.am work/buhg/Makefile.am
+--- work.old/buhg/Makefile.am Thu Jan 16 00:08:03 2003
++++ buhg/Makefile.am Tue Jan 21 21:36:44 2003
+@@ -1,6 +1,7 @@
+ SUBDIRS=bx doc
+ CC = ${CXX}
+ CONFIG_PATH=$(libdir)/iceB
++CFLAGS += -DICEB_DOC_PATH="\""@datadir@/doc/iceb"\""
+
+ INCLUDES = -I$(top_srcdir)/libscr -I$(top_srcdir)/libutil \
+ -I$(top_srcdir)/libbuh -I$(top_srcdir)/libsql \
diff --git a/ukrainian/iceb/files/patch-buhg::alimdbf.c b/ukrainian/iceb/files/patch-buhg::alimdbf.c
new file mode 100644
index 000000000000..b3ce3cff1e11
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::alimdbf.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/alimdbf.c work/buhg/alimdbf.c
+--- work.old/buhg/alimdbf.c Thu Jan 16 00:08:26 2003
++++ buhg/alimdbf.c Tue Jan 21 21:42:49 2003
+@@ -96,7 +96,7 @@
+
+ case FK1:
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"zarp4_4_1.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"zarp4_4_1.txt");
+ prosf(strsql);
+ goto naz;
+
diff --git a/ukrainian/iceb/files/patch-buhg::bx::Makefile.am b/ukrainian/iceb/files/patch-buhg::bx::Makefile.am
new file mode 100644
index 000000000000..0545f09eba34
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::bx::Makefile.am
@@ -0,0 +1,22 @@
+diff -ru iceb-5.35.old/buhg/bx/Makefile.am buhg/bx/Makefile.am
+--- buhg/bx/Makefile.am Sat Jul 21 09:10:15 2001
++++ buhg/bx/Makefile.am Sun Jan 12 00:11:22 2003
+@@ -1,15 +1,15 @@
+ # $Id: Makefile.am,v 5.1 2001/07/21 09:10:15 yuk Exp $
+ #
+
+-CONFDIR=@CONFIG_PATH@/bx
++CONFDIR=@CONFIG_PATH@/bx.sample
+ #------------------------------------------------------------
+
+ all: ;
+
+ install:
+ @if [ \! -d $(CONFDIR) ]; then \
+- $(INSTALL) -d $(CONFDIR) ;\
+- $(INSTALL_DATA) *.alx $(CONFDIR) ;\
++ $(mkinstalldirs) $(CONFDIR); \
++ $(INSTALL_DATA) $(srcdir)/*.alx $(CONFDIR) ;\
+ fi
+
+ uninstall:
diff --git a/ukrainian/iceb/files/patch-buhg::bx::nastsys.alx b/ukrainian/iceb/files/patch-buhg::bx::nastsys.alx
new file mode 100644
index 000000000000..ad142567896b
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::bx::nastsys.alx
@@ -0,0 +1,21 @@
+diff -ru --exclude *.in iceb-5.35.old/buhg/bx/nastsys.alx buhg/bx/nastsys.alx
+--- buhg/bx/nastsys.alx Fri Sep 6 09:10:27 2002
++++ buhg/bx/nastsys.alx Tue Dec 24 00:07:41 2002
+@@ -1,14 +1,14 @@
+
+-Редактор|joe
++Редактор|ee
+ Системный принтер|lpr
+ Локальный принтер|prterm
+ Снять с очереди на печать|lprm
+ Просмотр очереди на печать|lpq
+-Просмотрщик файлов|mc -v
++Просмотрщик файлов|less
+ Копирование на ДОС дискету|mcopy -o
+ Устройство ДОС для копирования|a:
+ Удаление распечаток|Включено
+ Печатать фамилию оператора в распечатках отчетов|Включено
+
+ Принтеры поддерживающие двухсторонюю печать|
+-Ключ для задания двухсторонней печати| -o sides=two-sided-long-edge
++Ключ для задания двухсторонней печати| -o sides=two-sided-long-edge
diff --git a/ukrainian/iceb/files/patch-buhg::copdok.c b/ukrainian/iceb/files/patch-buhg::copdok.c
new file mode 100644
index 000000000000..d9fca82d6374
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::copdok.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/copdok.c work/buhg/copdok.c
+--- work.old/buhg/copdok.c Thu Jan 16 00:07:50 2003
++++ buhg/copdok.c Tue Jan 21 21:42:49 2003
+@@ -98,7 +98,7 @@
+ {
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"matu2_1_2d.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"matu2_1_2d.txt");
+ prosf(strsql);
+ clear();
+ goto naz;
diff --git a/ukrainian/iceb/files/patch-buhg::copdoku.c b/ukrainian/iceb/files/patch-buhg::copdoku.c
new file mode 100644
index 000000000000..9a296653029c
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::copdoku.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/copdoku.c work/buhg/copdoku.c
+--- work.old/buhg/copdoku.c Thu Jan 16 00:07:50 2003
++++ buhg/copdoku.c Tue Jan 21 21:42:49 2003
+@@ -94,7 +94,7 @@
+ case FK1: /*Помощь*/
+ GDITE();
+ /*
+- sprintf(strsql,"%s/doc/%s",putnansi,"matu2_1_2d.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"matu2_1_2d.txt");
+ prosf(strsql);
+ clear();
+ */
diff --git a/ukrainian/iceb/files/patch-buhg::denrog.c b/ukrainian/iceb/files/patch-buhg::denrog.c
new file mode 100644
index 000000000000..65452ff1a18f
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::denrog.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/denrog.c work/buhg/denrog.c
+--- work.old/buhg/denrog.c Thu Jan 16 00:07:50 2003
++++ buhg/denrog.c Tue Jan 21 21:42:49 2003
+@@ -82,7 +82,7 @@
+
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"zarp4_3_1_1.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"zarp4_3_1_1.txt");
+ prosf(strsql);
+ goto naz;
+
diff --git a/ukrainian/iceb/files/patch-buhg::diramort.c b/ukrainian/iceb/files/patch-buhg::diramort.c
new file mode 100644
index 000000000000..ec57c84d2102
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::diramort.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/diramort.c work/buhg/diramort.c
+--- work.old/buhg/diramort.c Thu Jan 16 00:07:50 2003
++++ buhg/diramort.c Tue Jan 21 21:42:49 2003
+@@ -244,7 +244,7 @@
+
+ case FK1: /*помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"uos8.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"uos8.txt");
+ prosf(strsql);
+ clear();
+ goto naz1;
diff --git a/ukrainian/iceb/files/patch-buhg::diramortby.c b/ukrainian/iceb/files/patch-buhg::diramortby.c
new file mode 100644
index 000000000000..123c3f1d7710
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::diramortby.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/diramortby.c work/buhg/diramortby.c
+--- work.old/buhg/diramortby.c Thu Jan 16 00:07:50 2003
++++ buhg/diramortby.c Tue Jan 21 21:42:49 2003
+@@ -223,7 +223,7 @@
+
+ case FK1: /*помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"uos8.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"uos8.txt");
+ prosf(strsql);
+ clear();
+ goto naz1;
diff --git a/ukrainian/iceb/files/patch-buhg::dirdok.c b/ukrainian/iceb/files/patch-buhg::dirdok.c
new file mode 100644
index 000000000000..73b1a0ac3bc9
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::dirdok.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/dirdok.c work/buhg/dirdok.c
+--- work.old/buhg/dirdok.c Thu Jan 16 00:07:50 2003
++++ buhg/dirdok.c Tue Jan 21 21:42:49 2003
+@@ -547,7 +547,7 @@
+
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"matu2_1_2.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"matu2_1_2.txt");
+ prosf(strsql);
+ clear();
+ if(kolstr > 0)
diff --git a/ukrainian/iceb/files/patch-buhg::dirdok1.c b/ukrainian/iceb/files/patch-buhg::dirdok1.c
new file mode 100644
index 000000000000..d8f625d57855
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::dirdok1.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/dirdok1.c work/buhg/dirdok1.c
+--- work.old/buhg/dirdok1.c Thu Jan 16 00:07:50 2003
++++ buhg/dirdok1.c Tue Jan 21 21:42:49 2003
+@@ -534,7 +534,7 @@
+
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"matu2_1_2.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"matu2_1_2.txt");
+ prosf(strsql);
+ clear();
+ if(kolstr > 0)
diff --git a/ukrainian/iceb/files/patch-buhg::dirf8dr.c b/ukrainian/iceb/files/patch-buhg::dirf8dr.c
new file mode 100644
index 000000000000..7c0335de4b2f
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::dirf8dr.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/dirf8dr.c work/buhg/dirf8dr.c
+--- work.old/buhg/dirf8dr.c Thu Jan 16 00:07:50 2003
++++ buhg/dirf8dr.c Tue Jan 21 21:42:49 2003
+@@ -380,7 +380,7 @@
+
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"zarp4_7_1_2_2.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"zarp4_7_1_2_2.txt");
+ prosf(strsql);
+ clear();
+ if(kolstr > 0)
diff --git a/ukrainian/iceb/files/patch-buhg::dirkasord.c b/ukrainian/iceb/files/patch-buhg::dirkasord.c
new file mode 100644
index 000000000000..a9155b46a2ed
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::dirkasord.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/dirkasord.c work/buhg/dirkasord.c
+--- work.old/buhg/dirkasord.c Thu Jan 16 00:07:51 2003
++++ buhg/dirkasord.c Tue Jan 21 21:42:49 2003
+@@ -289,7 +289,7 @@
+
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"kas2_1_1.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"kas2_1_1.txt");
+ prosf(strsql);
+ clear();
+ if(kolstr > 0)
diff --git a/ukrainian/iceb/files/patch-buhg::dirkasords.c b/ukrainian/iceb/files/patch-buhg::dirkasords.c
new file mode 100644
index 000000000000..313ec6516840
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::dirkasords.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/dirkasords.c work/buhg/dirkasords.c
+--- work.old/buhg/dirkasords.c Thu Jan 16 00:07:51 2003
++++ buhg/dirkasords.c Tue Jan 21 21:42:49 2003
+@@ -358,7 +358,7 @@
+
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"kas2_4.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"kas2_4.txt");
+ prosf(strsql);
+ if(kolstr > 0)
+ goto naz;
diff --git a/ukrainian/iceb/files/patch-buhg::dirmatr.c b/ukrainian/iceb/files/patch-buhg::dirmatr.c
new file mode 100644
index 000000000000..92e8f479e6fc
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::dirmatr.c
@@ -0,0 +1,65 @@
+--- buhg/dirmatr.c.orig Mon Sep 2 07:18:24 2002
++++ buhg/dirmatr.c Wed Oct 8 19:58:47 2003
+@@ -41,7 +41,7 @@
+ double kolih;
+ short x=0,y=4;
+ struct tm *bf;
+-long tmm;
++time_t tmm;
+ int K;
+ int kom,kom1;
+ int i,prc;
+@@ -527,7 +527,7 @@
+
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"matu4_3.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"matu4_3.txt");
+ prosf(strsql);
+ clear();
+ if(kolstr > 0)
+@@ -941,7 +941,7 @@
+ int kodg, //Код группы материала
+ char ei[], //Единица измерения
+ int kt, //Кто записал
+-long vr, //Время записи
++time_t vr, //Время записи
+ int mk, //0- ввод нового 1 - корректировка
+ float nds) //0-цена с НДС 1-цена без НДС
+ {
+@@ -958,7 +958,7 @@
+ char bros[100];
+ char ST[100];
+ int ktoi;
+-long vrem;
++time_t vrem;
+ char strsql[500];
+ SQL_str row;
+ int poz,komv;
+@@ -1273,7 +1273,7 @@
+ attroff(VV->VVOD_return_cs(iceb_CFS));
+ attron(VV->VVOD_return_cs(iceb_CFM));
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"matu4_3_1.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"matu4_3_1.txt");
+ prosf(strsql);
+ clear();
+ goto naz;
+@@ -1561,7 +1561,7 @@
+ short kp;
+ short i;
+ char kodm[12];
+-long tmm;
++time_t tmm;
+ struct tm *bf;
+ SQL_str row;
+ char strsql[200];
+@@ -1735,7 +1735,7 @@
+ FILE *ff;
+ char strsql[300];
+ struct tm *bf;
+-long tmm;
++time_t tmm;
+ char imatab[30];
+
+ VVOD DANET(1);
diff --git a/ukrainian/iceb/files/patch-buhg::dirmatr1.c b/ukrainian/iceb/files/patch-buhg::dirmatr1.c
new file mode 100644
index 000000000000..b306a9a0f85e
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::dirmatr1.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/dirmatr1.c work/buhg/dirmatr1.c
+--- work.old/buhg/dirmatr1.c Thu Jan 16 00:07:51 2003
++++ buhg/dirmatr1.c Tue Jan 21 21:42:50 2003
+@@ -495,7 +495,7 @@
+
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"matu4_3.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"matu4_3.txt");
+ prosf(strsql);
+ clear();
+ if(kolstr > 0)
diff --git a/ukrainian/iceb/files/patch-buhg::dirmusl.c b/ukrainian/iceb/files/patch-buhg::dirmusl.c
new file mode 100644
index 000000000000..213a60fc3748
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::dirmusl.c
@@ -0,0 +1,20 @@
+--- buhg/dirmusl.c.orig Mon Aug 26 03:46:07 2002
++++ buhg/dirmusl.c Wed Oct 8 19:59:21 2003
+@@ -230,7 +230,7 @@
+
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"matu2_1_2b.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"matu2_1_2b.txt");
+ prosf(strsql);
+ clear();
+ if(kolstr > 0)
+@@ -337,7 +337,7 @@
+ char naiuslz[100],eiz[20];
+ double kolihz,cenaz,ndsz;
+ char strsql[500];
+-long vrem;
++time_t vrem;
+
+
+ VV->VVOD_SPISOK_add_ZAG(catgets(fils,132,3,"Ввод и корректировка услуг."));
diff --git a/ukrainian/iceb/files/patch-buhg::dirnu.c b/ukrainian/iceb/files/patch-buhg::dirnu.c
new file mode 100644
index 000000000000..3ef334575f48
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::dirnu.c
@@ -0,0 +1,30 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/dirnu.c work/buhg/dirnu.c
+--- work.old/buhg/dirnu.c Thu Jan 16 00:07:51 2003
++++ buhg/dirnu.c Tue Jan 21 21:42:50 2003
+@@ -415,7 +415,7 @@
+
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"zarp2_8_1.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"zarp2_8_1.txt");
+ prosf(strsql);
+ clear();
+ if(kolstr > 0)
+@@ -1805,7 +1805,7 @@
+ {
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"zarp2_8_1_1.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"zarp2_8_1_1.txt");
+ prosf(strsql);
+ clear();
+ goto naz;
+@@ -2133,7 +2133,7 @@
+ {
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"zarp2_8_1_3.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"zarp2_8_1_3.txt");
+ prosf(strsql);
+ goto naz;
+
diff --git a/ukrainian/iceb/files/patch-buhg::dirobq.c b/ukrainian/iceb/files/patch-buhg::dirobq.c
new file mode 100644
index 000000000000..fc0cb1d4dce2
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::dirobq.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/dirobq.c work/buhg/dirobq.c
+--- work.old/buhg/dirobq.c Thu Jan 16 00:07:51 2003
++++ buhg/dirobq.c Tue Jan 21 21:42:50 2003
+@@ -289,7 +289,7 @@
+
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"dokum4.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"dokum4.txt");
+ prosf(strsql);
+ clear();
+ if(kolstr > 0)
diff --git a/ukrainian/iceb/files/patch-buhg::diros.c b/ukrainian/iceb/files/patch-buhg::diros.c
new file mode 100644
index 000000000000..bb1ff0d68571
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::diros.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/diros.c work/buhg/diros.c
+--- work.old/buhg/diros.c Thu Jan 16 00:07:51 2003
++++ buhg/diros.c Tue Jan 21 21:42:50 2003
+@@ -318,7 +318,7 @@
+
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"uos4.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"uos4.txt");
+ prosf(strsql);
+ clear();
+ if(kolstr > 0)
diff --git a/ukrainian/iceb/files/patch-buhg::dirpodu.c b/ukrainian/iceb/files/patch-buhg::dirpodu.c
new file mode 100644
index 000000000000..d056f7347de4
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::dirpodu.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/dirpodu.c work/buhg/dirpodu.c
+--- work.old/buhg/dirpodu.c Thu Jan 16 00:07:51 2003
++++ buhg/dirpodu.c Tue Jan 21 21:42:50 2003
+@@ -633,7 +633,7 @@
+
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"matu3.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"matu3.txt");
+ // prosf(strsql);
+ if(kolstr > 0)
+ goto naz;
diff --git a/ukrainian/iceb/files/patch-buhg::dirprkas.c b/ukrainian/iceb/files/patch-buhg::dirprkas.c
new file mode 100644
index 000000000000..c08dbded52fc
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::dirprkas.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/dirprkas.c work/buhg/dirprkas.c
+--- work.old/buhg/dirprkas.c Thu Jan 16 00:07:51 2003
++++ buhg/dirprkas.c Tue Jan 21 21:42:50 2003
+@@ -378,7 +378,7 @@
+ case FK1: /*Получить подсказку*/
+ GDITE();
+
+- sprintf(strsql,"%s/doc/%s",putnansi,"kas2_1_1_1.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"kas2_1_1_1.txt");
+ prosf(strsql);
+
+ clear();
diff --git a/ukrainian/iceb/files/patch-buhg::dirprmu.c b/ukrainian/iceb/files/patch-buhg::dirprmu.c
new file mode 100644
index 000000000000..bb1d670c67fe
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::dirprmu.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/dirprmu.c work/buhg/dirprmu.c
+--- work.old/buhg/dirprmu.c Thu Jan 16 00:07:51 2003
++++ buhg/dirprmu.c Tue Jan 21 21:42:50 2003
+@@ -356,7 +356,7 @@
+
+ case FK1: /*Получить подсказку*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"matu2_1_2a.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"matu2_1_2a.txt");
+ prosf(strsql);
+ clear();
+ goto naz1;
diff --git a/ukrainian/iceb/files/patch-buhg::dirprov.c b/ukrainian/iceb/files/patch-buhg::dirprov.c
new file mode 100644
index 000000000000..8323901c6f32
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::dirprov.c
@@ -0,0 +1,20 @@
+--- buhg/dirprov.c.orig Mon Sep 9 01:38:02 2002
++++ buhg/dirprov.c Wed Oct 8 19:33:00 2003
+@@ -349,7 +349,7 @@
+
+ case FK1:
+ GDITE();
+- sprintf(bros,"%s/doc/%s",putnansi,"buhg3a.txt");
++ sprintf(bros,"%s/%s",ICEB_DOC_PATH,"buhg3a.txt");
+ prosf(bros);
+ clear();
+ goto naz;
+@@ -823,7 +823,7 @@
+ {
+ short d,m,g;
+ struct tm *bf;
+-long tmm;
++time_t tmm;
+ char strsql[300];
+ SQL_str row1;
+
diff --git a/ukrainian/iceb/files/patch-buhg::dirprpd.c b/ukrainian/iceb/files/patch-buhg::dirprpd.c
new file mode 100644
index 000000000000..efd0cacb506c
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::dirprpd.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/dirprpd.c work/buhg/dirprpd.c
+--- work.old/buhg/dirprpd.c Thu Jan 16 00:07:51 2003
++++ buhg/dirprpd.c Tue Jan 21 21:42:50 2003
+@@ -399,7 +399,7 @@
+
+ case FK1: /*Получение подсказки*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"dokum2_1_2.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"dokum2_1_2.txt");
+ prosf(strsql);
+ clear();
+ if(kolstr > 0)
diff --git a/ukrainian/iceb/files/patch-buhg::dirprus.c b/ukrainian/iceb/files/patch-buhg::dirprus.c
new file mode 100644
index 000000000000..39aa716c846a
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::dirprus.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/dirprus.c work/buhg/dirprus.c
+--- work.old/buhg/dirprus.c Thu Jan 16 00:07:51 2003
++++ buhg/dirprus.c Tue Jan 21 21:42:50 2003
+@@ -334,7 +334,7 @@
+ case FK1: /*Получить подсказку*/
+ GDITE();
+
+- sprintf(strsql,"%s/doc/%s",putnansi,"usl2_1_1_1.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"usl2_1_1_1.txt");
+ prosf(strsql);
+
+ clear();
diff --git a/ukrainian/iceb/files/patch-buhg::dirprzar.c b/ukrainian/iceb/files/patch-buhg::dirprzar.c
new file mode 100644
index 000000000000..9895a89c6e29
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::dirprzar.c
@@ -0,0 +1,21 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/dirprzar.c work/buhg/dirprzar.c
+--- work.old/buhg/dirprzar.c Thu Jan 16 00:07:51 2003
++++ buhg/dirprzar.c Tue Jan 21 21:42:50 2003
+@@ -349,7 +349,7 @@
+
+ case FK1: /*Получить подсказку*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"zarp2_1_1.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"zarp2_1_1.txt");
+ prosf(strsql);
+ clear();
+ goto naz1;
+@@ -567,7 +567,7 @@
+
+ case FK1:
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"zarp2_1_1_1.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"zarp2_1_1_1.txt");
+ prosf(strsql);
+ clear();
+ goto sfk4;
diff --git a/ukrainian/iceb/files/patch-buhg::dirpzpd.c b/ukrainian/iceb/files/patch-buhg::dirpzpd.c
new file mode 100644
index 000000000000..93f083d4e953
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::dirpzpd.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/dirpzpd.c work/buhg/dirpzpd.c
+--- work.old/buhg/dirpzpd.c Thu Jan 16 00:07:51 2003
++++ buhg/dirpzpd.c Tue Jan 21 21:42:50 2003
+@@ -255,7 +255,7 @@
+ break;
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"dokum2_1_3.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"dokum2_1_3.txt");
+ prosf(strsql);
+ clear();
+ if(kolstr > 0)
diff --git a/ukrainian/iceb/files/patch-buhg::dirsaldo.c b/ukrainian/iceb/files/patch-buhg::dirsaldo.c
new file mode 100644
index 000000000000..3c91de57cf70
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::dirsaldo.c
@@ -0,0 +1,23 @@
+--- buhg/dirsaldo.c.orig Mon Aug 26 03:46:07 2002
++++ buhg/dirsaldo.c Wed Oct 8 19:49:15 2003
+@@ -340,9 +340,9 @@
+ case FK1: /*Получить подсказку*/
+ GDITE();
+ if(tz[0] == '0')
+- sprintf(strsql,"%s/doc/buhg4_4.txt",putnansi);
++ sprintf(strsql,"%s/buhg4_4.txt",ICEB_DOC_PATH);
+ if(tz[0] == '1')
+- sprintf(strsql,"%s/doc/buhg4_5.txt",putnansi);
++ sprintf(strsql,"%s/buhg4_5.txt",ICEB_DOC_PATH);
+
+ /*
+ printw("strsql=%s\n",strsql);
+@@ -612,7 +612,7 @@
+ char korz[20];
+ struct OPSHET shetv;
+ int ktoi=getuid();
+-long vrem;
++time_t vrem;
+ char strsql[300];
+ SQL_str row;
+ int i;
diff --git a/ukrainian/iceb/files/patch-buhg::dirsdf8dr.c b/ukrainian/iceb/files/patch-buhg::dirsdf8dr.c
new file mode 100644
index 000000000000..99f6f56239ee
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::dirsdf8dr.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/dirsdf8dr.c work/buhg/dirsdf8dr.c
+--- work.old/buhg/dirsdf8dr.c Thu Jan 16 00:07:51 2003
++++ buhg/dirsdf8dr.c Tue Jan 21 21:42:50 2003
+@@ -272,7 +272,7 @@
+
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"zarp4_7_1_2.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"zarp4_7_1_2.txt");
+ prosf(strsql);
+ if(kolstr > 0)
+ goto naz;
diff --git a/ukrainian/iceb/files/patch-buhg::dirsoc.c b/ukrainian/iceb/files/patch-buhg::dirsoc.c
new file mode 100644
index 000000000000..0ddae92e3a87
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::dirsoc.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/dirsoc.c work/buhg/dirsoc.c
+--- work.old/buhg/dirsoc.c Thu Jan 16 00:07:51 2003
++++ buhg/dirsoc.c Tue Jan 21 21:42:50 2003
+@@ -277,7 +277,7 @@
+
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"zarp2_9.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"zarp2_9.txt");
+ prosf(strsql);
+ clear();
+ if(kolstr > 0)
diff --git a/ukrainian/iceb/files/patch-buhg::dirtab.c b/ukrainian/iceb/files/patch-buhg::dirtab.c
new file mode 100644
index 000000000000..acf0677cb845
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::dirtab.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/dirtab.c work/buhg/dirtab.c
+--- work.old/buhg/dirtab.c Thu Jan 16 00:07:51 2003
++++ buhg/dirtab.c Tue Jan 21 21:42:50 2003
+@@ -319,7 +319,7 @@
+
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"zarp2_5.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"zarp2_5.txt");
+ prosf(strsql);
+ clear();
+ if(kolstr > 0)
diff --git a/ukrainian/iceb/files/patch-buhg::dirtabel.c b/ukrainian/iceb/files/patch-buhg::dirtabel.c
new file mode 100644
index 000000000000..8867f452bd11
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::dirtabel.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/dirtabel.c work/buhg/dirtabel.c
+--- work.old/buhg/dirtabel.c Thu Jan 16 00:07:51 2003
++++ buhg/dirtabel.c Tue Jan 21 21:42:50 2003
+@@ -262,7 +262,7 @@
+
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"zarp2_4.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"zarp2_4.txt");
+ prosf(strsql);
+ clear();
+ if(kolstr > 0)
diff --git a/ukrainian/iceb/files/patch-buhg::dirtabelo.c b/ukrainian/iceb/files/patch-buhg::dirtabelo.c
new file mode 100644
index 000000000000..ebfe63518d3f
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::dirtabelo.c
@@ -0,0 +1,21 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/dirtabelo.c work/buhg/dirtabelo.c
+--- work.old/buhg/dirtabelo.c Thu Jan 16 00:07:51 2003
++++ buhg/dirtabelo.c Tue Jan 21 21:42:50 2003
+@@ -295,7 +295,7 @@
+
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"zarp2_6.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"zarp2_6.txt");
+ prosf(strsql);
+ clear();
+ if(kolstr > 0)
+@@ -1006,7 +1006,7 @@
+ if(K == FK1) /*Просмотр подсказки*/
+ {
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"zarp2_6_1.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"zarp2_6_1.txt");
+ prosf(strsql);
+ clear();
+ goto naz;
diff --git a/ukrainian/iceb/files/patch-buhg::dirudok.c b/ukrainian/iceb/files/patch-buhg::dirudok.c
new file mode 100644
index 000000000000..a26f7eccc326
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::dirudok.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/dirudok.c work/buhg/dirudok.c
+--- work.old/buhg/dirudok.c Thu Jan 16 00:07:51 2003
++++ buhg/dirudok.c Tue Jan 21 21:42:50 2003
+@@ -484,7 +484,7 @@
+
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"usl2_1_1.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"usl2_1_1.txt");
+ prosf(strsql);
+ clear();
+ if(kolstr > 0)
diff --git a/ukrainian/iceb/files/patch-buhg::diruosdok.c b/ukrainian/iceb/files/patch-buhg::diruosdok.c
new file mode 100644
index 000000000000..0d5b4426ba7a
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::diruosdok.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/diruosdok.c work/buhg/diruosdok.c
+--- work.old/buhg/diruosdok.c Thu Jan 16 00:07:51 2003
++++ buhg/diruosdok.c Tue Jan 21 21:42:50 2003
+@@ -336,7 +336,7 @@
+
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"uos2_2.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"uos2_2.txt");
+ prosf(strsql);
+ clear();
+ if(kolstr > 0)
diff --git a/ukrainian/iceb/files/patch-buhg::dirusdok.c b/ukrainian/iceb/files/patch-buhg::dirusdok.c
new file mode 100644
index 000000000000..bfad9534efb9
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::dirusdok.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/dirusdok.c work/buhg/dirusdok.c
+--- work.old/buhg/dirusdok.c Thu Jan 16 00:07:51 2003
++++ buhg/dirusdok.c Tue Jan 21 21:42:50 2003
+@@ -388,7 +388,7 @@
+
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"usl2_3.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"usl2_3.txt");
+ prosf(strsql);
+ if(kolstr > 0)
+ goto naz;
diff --git a/ukrainian/iceb/files/patch-buhg::dirusl.c b/ukrainian/iceb/files/patch-buhg::dirusl.c
new file mode 100644
index 000000000000..87ea306463ec
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::dirusl.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/dirusl.c work/buhg/dirusl.c
+--- work.old/buhg/dirusl.c Thu Jan 16 00:07:52 2003
++++ buhg/dirusl.c Tue Jan 21 21:42:50 2003
+@@ -362,7 +362,7 @@
+
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"usl3_2.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"usl3_2.txt");
+ prosf(strsql);
+ clear();
+ if(kolstr > 0)
diff --git a/ukrainian/iceb/files/patch-buhg::dirzarp.c b/ukrainian/iceb/files/patch-buhg::dirzarp.c
new file mode 100644
index 000000000000..e04e0d384c47
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::dirzarp.c
@@ -0,0 +1,21 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/dirzarp.c work/buhg/dirzarp.c
+--- work.old/buhg/dirzarp.c Thu Jan 16 00:07:52 2003
++++ buhg/dirzarp.c Tue Jan 21 21:42:50 2003
+@@ -351,7 +351,7 @@
+
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"zarp2_2.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"zarp2_2.txt");
+ prosf(strsql);
+ clear();
+ if(kolstr > 0)
+@@ -771,7 +771,7 @@
+ case FK1: /*Помощь*/
+ clear();
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"zarp2_2_1.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"zarp2_2_1.txt");
+ prosf(strsql);
+
+ goto naz;
diff --git a/ukrainian/iceb/files/patch-buhg::dirzarsl.c b/ukrainian/iceb/files/patch-buhg::dirzarsl.c
new file mode 100644
index 000000000000..7f384f0e2d00
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::dirzarsl.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/dirzarsl.c work/buhg/dirzarsl.c
+--- work.old/buhg/dirzarsl.c Thu Jan 16 00:07:52 2003
++++ buhg/dirzarsl.c Tue Jan 21 22:49:25 2003
+@@ -218,7 +218,7 @@
+
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/zarp3_1_9.txt",putnansi);
++ sprintf(strsql,"%s/zarp3_1_9.txt",ICEB_DOC_PATH);
+ prosf(strsql);
+ clear();
+ goto naz;
diff --git a/ukrainian/iceb/files/patch-buhg::dirzkart.c b/ukrainian/iceb/files/patch-buhg::dirzkart.c
new file mode 100644
index 000000000000..ee19f3dfb30f
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::dirzkart.c
@@ -0,0 +1,29 @@
+--- buhg/dirzkart.c.orig Mon Aug 26 03:46:07 2002
++++ buhg/dirzkart.c Wed Oct 8 19:59:48 2003
+@@ -660,7 +660,7 @@
+ case FK1: /*Помощь*/
+ GDITE();
+
+- sprintf(strsql,"%s/doc/%s",putnansi,"matu3.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"matu3.txt");
+ prosf(strsql);
+ if(kolstr > 0)
+ goto naz;
+@@ -1101,7 +1101,7 @@
+
+ case FK1:
+ GDITE();
+- sprintf(bros,"%s/doc/%s",putnansi,"matu3_1.txt");
++ sprintf(bros,"%s/%s",ICEB_DOC_PATH,"matu3_1.txt");
+ prosf(bros);
+ goto naz;
+
+@@ -1324,7 +1324,7 @@
+ short mbz) //0-сена изменилась 1-нет*/
+ {
+ SQL_str row,row1,row2;
+-long vrem;
++time_t vrem;
+ char strsql[300];
+ long kolstr;
+ short d,m,g;
diff --git a/ukrainian/iceb/files/patch-buhg::doc::Makefile.am b/ukrainian/iceb/files/patch-buhg::doc::Makefile.am
new file mode 100644
index 000000000000..0a33a7885b05
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::doc::Makefile.am
@@ -0,0 +1,12 @@
+diff -ru --exclude *.in iceb-5.35.old/buhg/doc/Makefile.am iceb-5.35/buhg/doc/Makefile.am
+--- buhg/doc/Makefile.am Sat Jul 21 09:10:15 2001
++++ buhg/doc/Makefile.am Sat Dec 21 00:24:44 2002
+@@ -7,7 +7,7 @@
+ all: ;
+
+ install: $(CONFDIR)
+- $(INSTALL_DATA) *.txt $(CONFDIR)
++ $(INSTALL_DATA) $(srcdir)/*.txt $(CONFDIR)
+
+ $(CONFDIR):
+ $(INSTALL) -d $(CONFDIR)
diff --git a/ukrainian/iceb/files/patch-buhg::doc::buhg.txt b/ukrainian/iceb/files/patch-buhg::doc::buhg.txt
new file mode 100644
index 000000000000..d03a4716bfc6
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::doc::buhg.txt
@@ -0,0 +1,18 @@
+diff -ru --exclude *.in iceb-5.35.old/buhg/doc/buhg.txt iceb-5.35/buhg/doc/buhg.txt
+--- buhg/doc/buhg.txt Fri Jul 13 08:43:01 2001
++++ buhg/doc/buhg.txt Sat Dec 21 20:43:56 2002
+@@ -134,7 +134,7 @@
+
+ Во время расчета зарплаты программа выполняет
+ все необходимые проводки которые попадают в базу данных
+-"Главная книга". Тоесть все операции отображаются в балансе
++"Главная книга". То есть все операции отображаются в балансе
+ предприятия в режиме реального времени.
+
+ "Платежные документы".
+@@ -179,4 +179,4 @@
+ кассовых ордеров за любой период времени.
+ Предусмотрена возможность подтверждения ордеров и
+ контроль выполнения проводок к каждому документу.
+-
++
diff --git a/ukrainian/iceb/files/patch-buhg::doc::buhg0.txt b/ukrainian/iceb/files/patch-buhg::doc::buhg0.txt
new file mode 100644
index 000000000000..7c385f7a35ed
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::doc::buhg0.txt
@@ -0,0 +1,12 @@
+diff -ru --exclude *.in iceb-5.35.old/buhg/doc/buhg0.txt iceb-5.35/buhg/doc/buhg0.txt
+--- buhg/doc/buhg0.txt Wed Dec 19 15:54:54 2001
++++ buhg/doc/buhg0.txt Sat Dec 21 21:00:55 2002
+@@ -71,7 +71,7 @@
+ таблицах базы данных выполнит соответствующую корректировку.
+ После ввода плана счетов нужно ввести стартовые сальдо по
+ всем счетам на момент начала эксплуатации системы. Вводятся
+-только не нулевые сальдо. Если счет имеет субсчета, то стартовые
++только ненулевые сальдо. Если счет имеет субсчета, то стартовые
+ сальдо вводятся по каждому субсчету самого нижнего порядка. Если
+ счет с развернутым сальдо, то стартовое сальдо вводится по
+ каждому контрагенту имеющему отношение к этому счету или
diff --git a/ukrainian/iceb/files/patch-buhg::doc::buhg3.txt b/ukrainian/iceb/files/patch-buhg::doc::buhg3.txt
new file mode 100644
index 000000000000..db14e6640f1f
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::doc::buhg3.txt
@@ -0,0 +1,26 @@
+diff -ru --exclude *.in iceb-5.35.old/buhg/doc/buhg3.txt iceb-5.35/buhg/doc/buhg3.txt
+--- buhg/doc/buhg3.txt Wed Jul 10 11:00:06 2002
++++ buhg/doc/buhg3.txt Sat Dec 21 21:14:32 2002
+@@ -43,14 +43,14 @@
+ осуществлять только просмотр информации. Ввод, удаление или
+ корректировка уже не возможны. Все исправления ранее допущенных
+ ошибок выполняются в текущем месяце.
+- Для установки влокировки
++ Для установки блокировки
+ нужно ввести месяц и год. Например:
+
+ 1.1998
+ 2.1998
+ 3.1998
+
+- В приведенном примере заблокированиа работа с проводками
++ В приведенном примере заблокирована работа с проводками
+ за первые три месяца 1998 года. Это значит что ввод,
+ корректировка или удаление проводок с датами этих месяцев будут
+ не возможны. Возможен будет только просмотр проводок за эти
+@@ -63,4 +63,4 @@
+ за обучение.
+ Режим "Импорт проводок из файла" позволяет загрузить проводки
+ из файла. После загрузки в файле остаются только проводки которые программа
+-не смогла загрузить.
++не смогла загрузить.
diff --git a/ukrainian/iceb/files/patch-buhg::dooc.c b/ukrainian/iceb/files/patch-buhg::dooc.c
new file mode 100644
index 000000000000..8b0710b280a3
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::dooc.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/dooc.c work/buhg/dooc.c
+--- work.old/buhg/dooc.c Thu Jan 16 00:07:52 2003
++++ buhg/dooc.c Tue Jan 21 21:42:50 2003
+@@ -69,7 +69,7 @@
+
+ case FK1:
+ GDITE();
+- sprintf(bros,"%s/doc/%s",putnansi,"matu2_1_2h.txt");
++ sprintf(bros,"%s/%s",ICEB_DOC_PATH,"matu2_1_2h.txt");
+ prosf(bros);
+ clear();
+ goto naz1;
diff --git a/ukrainian/iceb/files/patch-buhg::doocsum.c b/ukrainian/iceb/files/patch-buhg::doocsum.c
new file mode 100644
index 000000000000..73540a25cc65
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::doocsum.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/doocsum.c work/buhg/doocsum.c
+--- work.old/buhg/doocsum.c Thu Jan 16 00:07:52 2003
++++ buhg/doocsum.c Tue Jan 21 21:42:50 2003
+@@ -66,7 +66,7 @@
+
+ case FK1:
+ GDITE();
+- sprintf(bros,"%s/doc/%s",putnansi,"matu5_16.txt");
++ sprintf(bros,"%s/%s",ICEB_DOC_PATH,"matu5_16.txt");
+ prosf(bros);
+ clear();
+ goto naz1;
diff --git a/ukrainian/iceb/files/patch-buhg::dvtmcf1.c b/ukrainian/iceb/files/patch-buhg::dvtmcf1.c
new file mode 100644
index 000000000000..93d26f4bbde3
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::dvtmcf1.c
@@ -0,0 +1,27 @@
+--- buhg/dvtmcf1.c.orig Fri Sep 6 01:23:08 2002
++++ buhg/dvtmcf1.c Wed Oct 8 20:03:24 2003
+@@ -44,9 +44,9 @@
+ char str1[300];
+ extern char *maskmat; /*Массив кодов отмеченных материалов*/
+ struct tm *bf;
+-long tmm;
+-long tmmn;
+-long tmmk;
++time_t tmm;
++time_t tmmn;
++time_t tmmk;
+ short kst,sli;
+ char imaf[20],imaftmp[20],imafkl2[30],imafuz[30];
+ short dn,mn,gn;
+@@ -199,9 +199,9 @@
+ case FK1:
+ GDITE();
+ if(tipras == 0)
+- sprintf(bros,"%s/doc/%s",putnansi,"matu5_4.txt");
++ sprintf(bros,"%s/%s",ICEB_DOC_PATH,"matu5_4.txt");
+ if(tipras == 1)
+- sprintf(bros,"%s/doc/%s",putnansi,"matu5_7.txt");
++ sprintf(bros,"%s/%s",ICEB_DOC_PATH,"matu5_7.txt");
+ prosf(bros);
+ clear();
+ goto naz;
diff --git a/ukrainian/iceb/files/patch-buhg::dvtmcf2.c b/ukrainian/iceb/files/patch-buhg::dvtmcf2.c
new file mode 100644
index 000000000000..793ea7b2af8e
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::dvtmcf2.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/dvtmcf2.c work/buhg/dvtmcf2.c
+--- work.old/buhg/dvtmcf2.c Thu Jan 16 00:07:52 2003
++++ buhg/dvtmcf2.c Tue Jan 21 21:42:50 2003
+@@ -143,7 +143,7 @@
+
+ case FK1:
+ GDITE();
+- sprintf(bros,"%s/doc/%s",putnansi,"matu5_5.txt");
++ sprintf(bros,"%s/%s",ICEB_DOC_PATH,"matu5_5.txt");
+ prosf(bros);
+ clear();
+ goto naz;
diff --git a/ukrainian/iceb/files/patch-buhg::dvuslf2.c b/ukrainian/iceb/files/patch-buhg::dvuslf2.c
new file mode 100644
index 000000000000..b22ee0eb6a60
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::dvuslf2.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/dvuslf2.c work/buhg/dvuslf2.c
+--- work.old/buhg/dvuslf2.c Thu Jan 16 00:07:52 2003
++++ buhg/dvuslf2.c Tue Jan 21 21:42:50 2003
+@@ -129,7 +129,7 @@
+ case FK1:
+ GDITE();
+
+- sprintf(bros,"%s/doc/%s",putnansi,"usl4_1.txt");
++ sprintf(bros,"%s/%s",ICEB_DOC_PATH,"usl4_1.txt");
+ prosf(bros);
+
+ clear();
diff --git a/ukrainian/iceb/files/patch-buhg::glkni.c b/ukrainian/iceb/files/patch-buhg::glkni.c
new file mode 100644
index 000000000000..63d10e9c9723
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::glkni.c
@@ -0,0 +1,24 @@
+--- buhg/glkni.c.orig Thu Aug 29 08:36:23 2002
++++ buhg/glkni.c Wed Oct 8 19:49:47 2003
+@@ -51,9 +51,9 @@
+ {
+ int metkarash=0;
+ char bros[100];
+-long tmm;
+-long tmmn;
+-long tmmk;
++time_t tmm;
++time_t tmmn;
++time_t tmmk;
+ int i,kom,sb;
+ char sh[20];
+ char imaf[20],imatab[20],imaf3[20];
+@@ -99,7 +99,7 @@
+ {
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"buhg5_1.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"buhg5_1.txt");
+ prosf(strsql);
+ goto naz;
+
diff --git a/ukrainian/iceb/files/patch-buhg::glkninbs.c b/ukrainian/iceb/files/patch-buhg::glkninbs.c
new file mode 100644
index 000000000000..92021bf8c7e8
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::glkninbs.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/glkninbs.c work/buhg/glkninbs.c
+--- work.old/buhg/glkninbs.c Thu Jan 16 00:07:52 2003
++++ buhg/glkninbs.c Tue Jan 21 21:42:50 2003
+@@ -92,7 +92,7 @@
+ {
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"buhg5_1_1.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"buhg5_1_1.txt");
+ prosf(strsql);
+ goto naz;
+
diff --git a/ukrainian/iceb/files/patch-buhg::guror.c b/ukrainian/iceb/files/patch-buhg::guror.c
new file mode 100644
index 000000000000..ef580dc44ecc
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::guror.c
@@ -0,0 +1,20 @@
+--- buhg/guror.c.orig Wed Oct 8 19:50:00 2003
++++ buhg/guror.c Wed Oct 8 19:50:25 2003
+@@ -42,7 +42,7 @@
+ short klzvk; /*Количество знаков в колонке*/
+ short klsh; /*Количество счетов по горизонтали*/
+ struct tm *bf;
+-long tmm,tmmk,tmmn;
++time_t tmm,tmmk,tmmn;
+ double sd,sk,sdn,skn;
+ char imaf[20];
+ short m,g;
+@@ -624,7 +624,7 @@
+ short i;
+ char sh[40];
+ struct tm *bf;
+-long tmm;
++time_t tmm;
+ char polka[20];
+
+ memset(polka,'\0',sizeof(polka));
diff --git a/ukrainian/iceb/files/patch-buhg::gurorf2.c b/ukrainian/iceb/files/patch-buhg::gurorf2.c
new file mode 100644
index 000000000000..5cef00ef8d75
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::gurorf2.c
@@ -0,0 +1,11 @@
+--- buhg/gurorf2.c.orig Wed Oct 8 19:50:48 2003
++++ buhg/gurorf2.c Wed Oct 8 19:50:54 2003
+@@ -41,7 +41,7 @@
+ double dendebet=0.,denkredit=0.;
+ short godn=0;
+ struct tm *bf;
+-long tmm;
++time_t tmm;
+ char imaf[30],imafd[30],imafi[30];
+ FILE *ff,*ffd;
+ char naikon[80];
diff --git a/ukrainian/iceb/files/patch-buhg::gurorr.c b/ukrainian/iceb/files/patch-buhg::gurorr.c
new file mode 100644
index 000000000000..7baba6d5f89d
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::gurorr.c
@@ -0,0 +1,15 @@
+--- buhg/gurorr.c.orig Wed Oct 8 19:51:05 2003
++++ buhg/gurorr.c Wed Oct 8 19:51:21 2003
+@@ -69,9 +69,9 @@
+ char bros[100];
+ char str[300];
+ FILE *ff1;
+-long tmm;
+-long tmmn;
+-long tmmk;
++time_t tmm;
++time_t tmmn;
++time_t tmmk;
+ double sd,sk,sdn,skn,dns,kns;
+ double sdgr,skgr,sdngr,skngr,dnsgr,knsgr;
+ char imaf[20],imaf2[20],imaf3[20];
diff --git a/ukrainian/iceb/files/patch-buhg::gurorrp.c b/ukrainian/iceb/files/patch-buhg::gurorrp.c
new file mode 100644
index 000000000000..c43b15de343a
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::gurorrp.c
@@ -0,0 +1,11 @@
+--- buhg/gurorrp.c.orig Wed Oct 8 19:51:25 2003
++++ buhg/gurorrp.c Wed Oct 8 19:51:33 2003
+@@ -31,7 +31,7 @@
+ char imaf[30],imafs[30];
+ FILE *ff;
+ struct tm *bf;
+-long tmm,tmmk;
++time_t tmm,tmmk;
+ int kolstlst=0;
+
+ clear();
diff --git a/ukrainian/iceb/files/patch-buhg::impmatdok.c b/ukrainian/iceb/files/patch-buhg::impmatdok.c
new file mode 100644
index 000000000000..d16b083d96eb
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::impmatdok.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/impmatdok.c work/buhg/impmatdok.c
+--- work.old/buhg/impmatdok.c Thu Jan 16 00:07:53 2003
++++ buhg/impmatdok.c Tue Jan 21 21:42:50 2003
+@@ -79,7 +79,7 @@
+ {
+ case FK1:
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"matu2_5.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"matu2_5.txt");
+ prosf(strsql);
+ clear();
+ goto naz;
diff --git a/ukrainian/iceb/files/patch-buhg::impotvr.c b/ukrainian/iceb/files/patch-buhg::impotvr.c
new file mode 100644
index 000000000000..184c71d705a2
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::impotvr.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/impotvr.c work/buhg/impotvr.c
+--- work.old/buhg/impotvr.c Thu Jan 16 00:07:53 2003
++++ buhg/impotvr.c Tue Jan 21 21:42:50 2003
+@@ -64,7 +64,7 @@
+ {
+ case FK1:
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"zarp2_6_2.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"zarp2_6_2.txt");
+ prosf(strsql);
+ clear();
+ goto naz;
diff --git a/ukrainian/iceb/files/patch-buhg::impprov.c b/ukrainian/iceb/files/patch-buhg::impprov.c
new file mode 100644
index 000000000000..ef4f0ea95449
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::impprov.c
@@ -0,0 +1,20 @@
+--- buhg/impprov.c.orig Mon Jul 29 10:28:37 2002
++++ buhg/impprov.c Wed Oct 8 19:52:01 2003
+@@ -60,7 +60,7 @@
+ {
+ case FK1:
+ GDITE();
+- sprintf(strsql,"%s/doc/buhg3_5.txt",putnansi);
++ sprintf(strsql,"%s/buhg3_5.txt",ICEB_DOC_PATH);
+ prosf(strsql);
+ clear();
+ goto naz;
+@@ -135,7 +135,7 @@
+ char shetk[30];
+ char kontrsh[30];
+ char kontrshk[30];
+-long vrem;
++time_t vrem;
+ double deb=0.,kre=0.;
+ char koment[200];
+
diff --git a/ukrainian/iceb/files/patch-buhg::impzarnu.c b/ukrainian/iceb/files/patch-buhg::impzarnu.c
new file mode 100644
index 000000000000..e87358abd410
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::impzarnu.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/impzarnu.c work/buhg/impzarnu.c
+--- work.old/buhg/impzarnu.c Thu Jan 16 00:07:53 2003
++++ buhg/impzarnu.c Tue Jan 21 21:42:50 2003
+@@ -94,7 +94,7 @@
+ {
+ case FK1:
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"zarp2_8_1_2.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"zarp2_8_1_2.txt");
+ prosf(strsql);
+ clear();
+ goto naz;
diff --git a/ukrainian/iceb/files/patch-buhg::kasoth.c b/ukrainian/iceb/files/patch-buhg::kasoth.c
new file mode 100644
index 000000000000..c291287c824c
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::kasoth.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/kasoth.c work/buhg/kasoth.c
+--- work.old/buhg/kasoth.c Thu Jan 16 00:07:53 2003
++++ buhg/kasoth.c Tue Jan 21 21:42:50 2003
+@@ -77,7 +77,7 @@
+ {
+ case FK1: /*Помощь*/
+ GDITE();
+-// sprintf(bros,"%s/doc/%s",putnansi,"zarp4_2_1.txt");
++// sprintf(bros,"%s/%s",ICEB_DOC_PATH,"zarp4_2_1.txt");
+ // prosf(bros);
+ goto naz;
+
diff --git a/ukrainian/iceb/files/patch-buhg::kassa.c b/ukrainian/iceb/files/patch-buhg::kassa.c
new file mode 100644
index 000000000000..036738292f21
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::kassa.c
@@ -0,0 +1,16 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/kassa.c work/buhg/kassa.c
+--- work.old/buhg/kassa.c Thu Jan 16 00:07:53 2003
++++ buhg/kassa.c Tue Jan 21 21:42:50 2003
+@@ -396,10 +396,10 @@
+ case 1 :
+ GDITE();
+ if(tipkas == T_DATECS)
+- sprintf(strsql,"%s/doc/%s",putnansi,"datecs_reset.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"datecs_reset.txt");
+
+ if(tipkas == T_ERA)
+- sprintf(strsql,"%s/doc/%s",putnansi,"era_reset.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"era_reset.txt");
+
+ prosf(strsql);
+ goto naz;
diff --git a/ukrainian/iceb/files/patch-buhg::kategor.c b/ukrainian/iceb/files/patch-buhg::kategor.c
new file mode 100644
index 000000000000..42e6568d6a3d
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::kategor.c
@@ -0,0 +1,15 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/kategor.c work/buhg/kategor.c
+--- work.old/buhg/kategor.c Thu Jan 16 00:07:53 2003
++++ buhg/kategor.c Tue Jan 21 21:42:50 2003
+@@ -93,9 +93,9 @@
+ case FK1: /*Помощь*/
+ GDITE();
+ if(metkar == 0)
+- sprintf(bros,"%s/doc/%s",putnansi,"zarp4_2_1.txt");
++ sprintf(bros,"%s/%s",ICEB_DOC_PATH,"zarp4_2_1.txt");
+ if(metkar == 1)
+- sprintf(bros,"%s/doc/%s",putnansi,"zarp4_2_2.txt");
++ sprintf(bros,"%s/%s",ICEB_DOC_PATH,"zarp4_2_2.txt");
+ prosf(bros);
+ goto naz;
+
diff --git a/ukrainian/iceb/files/patch-buhg::korprov.c b/ukrainian/iceb/files/patch-buhg::korprov.c
new file mode 100644
index 000000000000..da8d972410a1
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::korprov.c
@@ -0,0 +1,20 @@
+--- buhg/korprov.c.orig Wed Oct 8 19:52:09 2003
++++ buhg/korprov.c Wed Oct 8 19:52:22 2003
+@@ -19,7 +19,7 @@
+ char sh[], //Счет
+ char shk[], //Счет корреспондент
+ char kor[], //Код контрагента
+-long vrem, //время записи
++time_t vrem, //время записи
+ int ktoi,
+ char kto[])
+ {
+@@ -36,7 +36,7 @@
+ struct tm *bf;
+ int par;
+ char bros1[100];
+-long tmm;
++time_t tmm;
+ struct OPSHET shetv;
+ struct OPSHET shetv1;
+
diff --git a/ukrainian/iceb/files/patch-buhg::korprovnbs.c b/ukrainian/iceb/files/patch-buhg::korprovnbs.c
new file mode 100644
index 000000000000..ced8dc817a5f
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::korprovnbs.c
@@ -0,0 +1,11 @@
+--- buhg/korprovnbs.c.orig Wed Oct 8 19:52:40 2003
++++ buhg/korprovnbs.c Wed Oct 8 19:52:45 2003
+@@ -18,7 +18,7 @@
+ void korprovnbs(VVOD *VV,short d,short m,short g, //Дата
+ char sh[], //Счет
+ char kor[], //Код контрагента
+-long vrem, //время записи
++time_t vrem, //время записи
+ int ktoi,
+ char kto[])
+ {
diff --git a/ukrainian/iceb/files/patch-buhg::mariq.c b/ukrainian/iceb/files/patch-buhg::mariq.c
new file mode 100644
index 000000000000..16ec37b3c0a3
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::mariq.c
@@ -0,0 +1,21 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/mariq.c work/buhg/mariq.c
+--- work.old/buhg/mariq.c Thu Jan 16 00:07:53 2003
++++ buhg/mariq.c Tue Jan 21 21:42:51 2003
+@@ -589,7 +589,7 @@
+ /*
+ case FK1:
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"buhg3_2.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"buhg3_2.txt");
+ prosf(strsql);
+ clear();
+ goto naz1;
+@@ -656,7 +656,7 @@
+ /*
+ case FK1:
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"buhg3_2.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"buhg3_2.txt");
+ prosf(strsql);
+ clear();
+ goto naz1;
diff --git a/ukrainian/iceb/files/patch-buhg::motpk.c b/ukrainian/iceb/files/patch-buhg::motpk.c
new file mode 100644
index 000000000000..42229c029c91
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::motpk.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/motpk.c work/buhg/motpk.c
+--- work.old/buhg/motpk.c Thu Jan 16 00:07:54 2003
++++ buhg/motpk.c Tue Jan 21 21:42:51 2003
+@@ -170,7 +170,7 @@
+
+ case FK1:
+ GDITE();
+- sprintf(bros,"%s/doc/%s",putnansi,"matu5_6.txt");
++ sprintf(bros,"%s/%s",ICEB_DOC_PATH,"matu5_6.txt");
+ prosf(bros);
+ clear();
+ goto naz;
diff --git a/ukrainian/iceb/files/patch-buhg::otrshd.c b/ukrainian/iceb/files/patch-buhg::otrshd.c
new file mode 100644
index 000000000000..804176bf1384
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::otrshd.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/otrshd.c work/buhg/otrshd.c
+--- work.old/buhg/otrshd.c Thu Jan 16 00:07:54 2003
++++ buhg/otrshd.c Tue Jan 21 21:42:51 2003
+@@ -86,7 +86,7 @@
+ {
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(bros,"%s/doc/%s",putnansi,"zarp4_2_3.txt");
++ sprintf(bros,"%s/%s",ICEB_DOC_PATH,"zarp4_2_3.txt");
+ prosf(bros);
+ goto naz;
+
diff --git a/ukrainian/iceb/files/patch-buhg::perras.c b/ukrainian/iceb/files/patch-buhg::perras.c
new file mode 100644
index 000000000000..8dfb28eb4106
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::perras.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/perras.c work/buhg/perras.c
+--- work.old/buhg/perras.c Thu Jan 16 00:07:54 2003
++++ buhg/perras.c Tue Jan 21 21:42:51 2003
+@@ -98,7 +98,7 @@
+
+ case 4:
+ GDITE();
+- sprintf(bros,"%s/doc/%s",putnansi,"zarp4_3_7.txt");
++ sprintf(bros,"%s/%s",ICEB_DOC_PATH,"zarp4_3_7.txt");
+ prosf(bros);
+ break;
+ }
diff --git a/ukrainian/iceb/files/patch-buhg::pgpld.c b/ukrainian/iceb/files/patch-buhg::pgpld.c
new file mode 100644
index 000000000000..9d439b8f966f
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::pgpld.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/pgpld.c work/buhg/pgpld.c
+--- work.old/buhg/pgpld.c Thu Jan 16 00:07:54 2003
++++ buhg/pgpld.c Tue Jan 21 21:42:51 2003
+@@ -68,7 +68,7 @@
+ {
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"dokum2_5.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"dokum2_5.txt");
+ prosf(strsql);
+ goto naz;
+
diff --git a/ukrainian/iceb/files/patch-buhg::platdok.c b/ukrainian/iceb/files/patch-buhg::platdok.c
new file mode 100644
index 000000000000..bc05b9f9dec6
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::platdok.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/platdok.c work/buhg/platdok.c
+--- work.old/buhg/platdok.c Thu Jan 16 00:07:55 2003
++++ buhg/platdok.c Tue Jan 21 21:42:51 2003
+@@ -477,7 +477,7 @@
+
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"dokum2_1.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"dokum2_1.txt");
+ prosf(strsql);
+ clear();
+ par=0;
diff --git a/ukrainian/iceb/files/patch-buhg::pld.c b/ukrainian/iceb/files/patch-buhg::pld.c
new file mode 100644
index 000000000000..45e756bbb03e
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::pld.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/pld.c work/buhg/pld.c
+--- work.old/buhg/pld.c Thu Jan 16 00:07:55 2003
++++ buhg/pld.c Tue Jan 21 21:42:51 2003
+@@ -352,7 +352,7 @@
+
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"dokum2_1_1.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"dokum2_1_1.txt");
+ prosf(strsql);
+ clear();
+ goto naz;
diff --git a/ukrainian/iceb/files/patch-buhg::poikasdok.c b/ukrainian/iceb/files/patch-buhg::poikasdok.c
new file mode 100644
index 000000000000..2e675b211dd2
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::poikasdok.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/poikasdok.c work/buhg/poikasdok.c
+--- work.old/buhg/poikasdok.c Thu Jan 16 00:07:55 2003
++++ buhg/poikasdok.c Tue Jan 21 21:42:51 2003
+@@ -45,7 +45,7 @@
+ if(i == FK1)
+ {
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"kas5.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"kas5.txt");
+ prosf(strsql);
+ clear();
+ goto naz2;
diff --git a/ukrainian/iceb/files/patch-buhg::poimatdok.c b/ukrainian/iceb/files/patch-buhg::poimatdok.c
new file mode 100644
index 000000000000..775cbc7a93ed
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::poimatdok.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/poimatdok.c work/buhg/poimatdok.c
+--- work.old/buhg/poimatdok.c Thu Jan 16 00:07:55 2003
++++ buhg/poimatdok.c Tue Jan 21 21:42:51 2003
+@@ -45,7 +45,7 @@
+ if(i == FK1)
+ {
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"matu2_2.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"matu2_2.txt");
+ prosf(strsql);
+ clear();
+ goto naz2;
diff --git a/ukrainian/iceb/files/patch-buhg::poiplatdok.c b/ukrainian/iceb/files/patch-buhg::poiplatdok.c
new file mode 100644
index 000000000000..2e828580f914
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::poiplatdok.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/poiplatdok.c work/buhg/poiplatdok.c
+--- work.old/buhg/poiplatdok.c Thu Jan 16 00:07:55 2003
++++ buhg/poiplatdok.c Tue Jan 21 21:42:51 2003
+@@ -49,7 +49,7 @@
+ if(i == FK1)
+ {
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"matu2_2.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"matu2_2.txt");
+ prosf(strsql);
+ clear();
+ goto naz2;
diff --git a/ukrainian/iceb/files/patch-buhg::poiprov.c b/ukrainian/iceb/files/patch-buhg::poiprov.c
new file mode 100644
index 000000000000..a118f521b45a
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::poiprov.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/poiprov.c work/buhg/poiprov.c
+--- work.old/buhg/poiprov.c Thu Jan 16 00:07:55 2003
++++ buhg/poiprov.c Tue Jan 21 21:42:51 2003
+@@ -130,7 +130,7 @@
+
+ case FK1:
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"buhg3_3.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"buhg3_3.txt");
+ prosf(strsql);
+ clear();
+ goto naz;
diff --git a/ukrainian/iceb/files/patch-buhg::poiusldok.c b/ukrainian/iceb/files/patch-buhg::poiusldok.c
new file mode 100644
index 000000000000..84ed82aa78d8
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::poiusldok.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/poiusldok.c work/buhg/poiusldok.c
+--- work.old/buhg/poiusldok.c Thu Jan 16 00:07:55 2003
++++ buhg/poiusldok.c Tue Jan 21 21:42:51 2003
+@@ -44,7 +44,7 @@
+ if(i == FK1)
+ {
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"usl2_2.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"usl2_2.txt");
+ prosf(strsql);
+ clear();
+ goto naz2;
diff --git a/ukrainian/iceb/files/patch-buhg::printpershek.c b/ukrainian/iceb/files/patch-buhg::printpershek.c
new file mode 100644
index 000000000000..9f47e05f2b73
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::printpershek.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/printpershek.c work/buhg/printpershek.c
+--- work.old/buhg/printpershek.c Thu Jan 16 00:07:55 2003
++++ buhg/printpershek.c Tue Jan 21 21:42:51 2003
+@@ -44,7 +44,7 @@
+ /*
+ case FK1:
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"buhg3_2.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"buhg3_2.txt");
+ prosf(strsql);
+ clear();
+ goto naz1;
diff --git a/ukrainian/iceb/files/patch-buhg::prognoz.c b/ukrainian/iceb/files/patch-buhg::prognoz.c
new file mode 100644
index 000000000000..6032fa4f6fda
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::prognoz.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/prognoz.c work/buhg/prognoz.c
+--- work.old/buhg/prognoz.c Thu Jan 16 00:07:55 2003
++++ buhg/prognoz.c Tue Jan 21 21:42:51 2003
+@@ -98,7 +98,7 @@
+
+ case FK1:
+ GDITE();
+- sprintf(bros,"%s/doc/%s",putnansi,"matu5_11.txt");
++ sprintf(bros,"%s/%s",ICEB_DOC_PATH,"matu5_11.txt");
+ prosf(bros);
+ clear();
+ goto naz;
diff --git a/ukrainian/iceb/files/patch-buhg::provtime.c b/ukrainian/iceb/files/patch-buhg::provtime.c
new file mode 100644
index 000000000000..9f7959399a8f
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::provtime.c
@@ -0,0 +1,11 @@
+--- buhg/provtime.c.orig Wed Oct 8 19:53:03 2003
++++ buhg/provtime.c Wed Oct 8 19:53:09 2003
+@@ -19,7 +19,7 @@
+ {
+ int kom1=0;
+ struct tm *bf;
+-long tmm;
++time_t tmm;
+ char bros[100];
+ short dn,mn,gn,dk,mk,gk;
+ char strsql[300];
diff --git a/ukrainian/iceb/files/patch-buhg::rasdolgi.c b/ukrainian/iceb/files/patch-buhg::rasdolgi.c
new file mode 100644
index 000000000000..afee08d6a01e
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::rasdolgi.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/rasdolgi.c work/buhg/rasdolgi.c
+--- work.old/buhg/rasdolgi.c Thu Jan 16 00:07:56 2003
++++ buhg/rasdolgi.c Tue Jan 21 21:42:51 2003
+@@ -158,7 +158,7 @@
+ {
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(bros,"%s/doc/%s",putnansi,"zarp4_3_9.txt");
++ sprintf(bros,"%s/%s",ICEB_DOC_PATH,"zarp4_3_9.txt");
+ prosf(bros);
+ goto naz;
+
diff --git a/ukrainian/iceb/files/patch-buhg::rasdolgi1.c b/ukrainian/iceb/files/patch-buhg::rasdolgi1.c
new file mode 100644
index 000000000000..73600d7712b3
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::rasdolgi1.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/rasdolgi1.c work/buhg/rasdolgi1.c
+--- work.old/buhg/rasdolgi1.c Thu Jan 16 00:07:56 2003
++++ buhg/rasdolgi1.c Tue Jan 21 21:42:51 2003
+@@ -63,7 +63,7 @@
+ {
+ case FK1:
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"zarp4_3_10.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"zarp4_3_10.txt");
+ prosf(strsql);
+ goto naz;
+
diff --git a/ukrainian/iceb/files/patch-buhg::rashod.c b/ukrainian/iceb/files/patch-buhg::rashod.c
new file mode 100644
index 000000000000..caaefd146d13
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::rashod.c
@@ -0,0 +1,15 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/rashod.c work/buhg/rashod.c
+--- work.old/buhg/rashod.c Thu Jan 16 00:07:56 2003
++++ buhg/rashod.c Tue Jan 21 21:42:51 2003
+@@ -479,9 +479,9 @@
+ attron(VV.VVOD_return_cs(iceb_CFM));
+ GDITE();
+ if(mdd == 0) /*Одинарный документ*/
+- sprintf(strsql,"%s/doc/%s",putnansi,"matu2_1_2j.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"matu2_1_2j.txt");
+ if(mdd == 1) /*Двойной документ*/
+- sprintf(strsql,"%s/doc/%s",putnansi,"matu2_1_2j1.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"matu2_1_2j1.txt");
+ prosf(strsql);
+ clear();
+ goto naz1;
diff --git a/ukrainian/iceb/files/patch-buhg::rasknig.c b/ukrainian/iceb/files/patch-buhg::rasknig.c
new file mode 100644
index 000000000000..abfa058c6831
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::rasknig.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/rasknig.c work/buhg/rasknig.c
+--- work.old/buhg/rasknig.c Thu Jan 16 00:07:56 2003
++++ buhg/rasknig.c Tue Jan 21 21:42:51 2003
+@@ -91,7 +91,7 @@
+ {
+ case FK1:
+ GDITE();
+- sprintf(bros,"%s/doc/%s",putnansi,"matu5_14.txt");
++ sprintf(bros,"%s/%s",ICEB_DOC_PATH,"matu5_14.txt");
+ prosf(bros);
+ clear();
+ goto nazz;
diff --git a/ukrainian/iceb/files/patch-buhg::rasknigpok.c b/ukrainian/iceb/files/patch-buhg::rasknigpok.c
new file mode 100644
index 000000000000..decf5727e133
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::rasknigpok.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/rasknigpok.c work/buhg/rasknigpok.c
+--- work.old/buhg/rasknigpok.c Thu Jan 16 00:07:56 2003
++++ buhg/rasknigpok.c Tue Jan 21 21:42:51 2003
+@@ -81,7 +81,7 @@
+ {
+ case FK1:
+ GDITE();
+- sprintf(bros,"%s/doc/%s",putnansi,"matu5_15.txt");
++ sprintf(bros,"%s/%s",ICEB_DOC_PATH,"matu5_15.txt");
+ prosf(bros);
+ clear();
+ goto nazz;
diff --git a/ukrainian/iceb/files/patch-buhg::rasnash.c b/ukrainian/iceb/files/patch-buhg::rasnash.c
new file mode 100644
index 000000000000..bf849d41fc92
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::rasnash.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/rasnash.c work/buhg/rasnash.c
+--- work.old/buhg/rasnash.c Thu Jan 16 00:07:56 2003
++++ buhg/rasnash.c Tue Jan 21 21:42:51 2003
+@@ -71,7 +71,7 @@
+ {
+ case FK1: /*Помощь*/
+ GDITE();
+-// sprintf(bros,"%s/doc/%s",putnansi,"zarp4_2_2.txt");
++// sprintf(bros,"%s/%s",ICEB_DOC_PATH,"zarp4_2_2.txt");
+ // prosf(bros);
+ goto naz;
+
diff --git a/ukrainian/iceb/files/patch-buhg::rasnds.c b/ukrainian/iceb/files/patch-buhg::rasnds.c
new file mode 100644
index 000000000000..548f8f090341
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::rasnds.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/rasnds.c work/buhg/rasnds.c
+--- work.old/buhg/rasnds.c Thu Jan 16 00:07:56 2003
++++ buhg/rasnds.c Tue Jan 21 21:42:51 2003
+@@ -139,7 +139,7 @@
+
+ case FK1:
+ GDITE();
+- sprintf(bros,"%s/doc/%s",putnansi,"matu5_10.txt");
++ sprintf(bros,"%s/%s",ICEB_DOC_PATH,"matu5_10.txt");
+ prosf(bros);
+ clear();
+ goto naz;
diff --git a/ukrainian/iceb/files/patch-buhg::rasoskr.c b/ukrainian/iceb/files/patch-buhg::rasoskr.c
new file mode 100644
index 000000000000..0cc08e878ee6
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::rasoskr.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/rasoskr.c work/buhg/rasoskr.c
+--- work.old/buhg/rasoskr.c Thu Jan 16 00:07:56 2003
++++ buhg/rasoskr.c Tue Jan 21 21:42:51 2003
+@@ -129,7 +129,7 @@
+ return;
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"matu5_1.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"matu5_1.txt");
+ prosf(strsql);
+ clear();
+ goto naz;
diff --git a/ukrainian/iceb/files/patch-buhg::rasprov.c b/ukrainian/iceb/files/patch-buhg::rasprov.c
new file mode 100644
index 000000000000..347f935ace96
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::rasprov.c
@@ -0,0 +1,11 @@
+--- buhg/rasprov.c.orig Wed Oct 8 19:53:24 2003
++++ buhg/rasprov.c Wed Oct 8 19:53:33 2003
+@@ -39,7 +39,7 @@
+ SQL_str row,row1;
+ char imaf[30],imafden[30],imafsvod[30];
+ FILE *ff1,*ffden,*ffsvod;
+-long tmm;
++time_t tmm;
+ struct tm *bf;
+ double dbt,krt;
+ double dbtden=0.,krtden=0.;
diff --git a/ukrainian/iceb/files/patch-buhg::rasspdok.c b/ukrainian/iceb/files/patch-buhg::rasspdok.c
new file mode 100644
index 000000000000..5b212fc25beb
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::rasspdok.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/rasspdok.c work/buhg/rasspdok.c
+--- work.old/buhg/rasspdok.c Thu Jan 16 00:07:57 2003
++++ buhg/rasspdok.c Tue Jan 21 21:42:51 2003
+@@ -127,7 +127,7 @@
+
+ case FK1:
+ GDITE();
+- sprintf(bros,"%s/doc/%s",putnansi,"matu5_8.txt");
++ sprintf(bros,"%s/%s",ICEB_DOC_PATH,"matu5_8.txt");
+ prosf(bros);
+ clear();
+ goto naz;
diff --git a/ukrainian/iceb/files/patch-buhg::rasspdoku.c b/ukrainian/iceb/files/patch-buhg::rasspdoku.c
new file mode 100644
index 000000000000..7f34cc5dae67
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::rasspdoku.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/rasspdoku.c work/buhg/rasspdoku.c
+--- work.old/buhg/rasspdoku.c Thu Jan 16 00:07:57 2003
++++ buhg/rasspdoku.c Tue Jan 21 21:42:51 2003
+@@ -120,7 +120,7 @@
+ case FK1:
+ GDITE();
+
+- sprintf(bros,"%s/doc/%s",putnansi,"usl4_2.txt");
++ sprintf(bros,"%s/%s",ICEB_DOC_PATH,"usl4_2.txt");
+ prosf(bros);
+
+ clear();
diff --git a/ukrainian/iceb/files/patch-buhg::rastab.c b/ukrainian/iceb/files/patch-buhg::rastab.c
new file mode 100644
index 000000000000..eda8b3c560d9
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::rastab.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/rastab.c work/buhg/rastab.c
+--- work.old/buhg/rastab.c Thu Jan 16 00:07:57 2003
++++ buhg/rastab.c Tue Jan 21 21:42:51 2003
+@@ -80,7 +80,7 @@
+ {
+ case FK1:
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"zarp4_3_5.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"zarp4_3_5.txt");
+ prosf(strsql);
+ clear();
+ goto naz;
diff --git a/ukrainian/iceb/files/patch-buhg::rasved.c b/ukrainian/iceb/files/patch-buhg::rasved.c
new file mode 100644
index 000000000000..68a52aec7d0b
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::rasved.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/rasved.c work/buhg/rasved.c
+--- work.old/buhg/rasved.c Thu Jan 16 00:07:57 2003
++++ buhg/rasved.c Tue Jan 21 21:42:51 2003
+@@ -171,7 +171,7 @@
+
+ case FK1:
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"zarp4_1_1.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"zarp4_1_1.txt");
+ prosf(strsql);
+ goto naz;
+
diff --git a/ukrainian/iceb/files/patch-buhg::raszall.c b/ukrainian/iceb/files/patch-buhg::raszall.c
new file mode 100644
index 000000000000..d29a2b3f664e
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::raszall.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/raszall.c work/buhg/raszall.c
+--- work.old/buhg/raszall.c Thu Jan 16 00:07:57 2003
++++ buhg/raszall.c Tue Jan 21 21:42:51 2003
+@@ -76,7 +76,7 @@
+ {
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(bros,"%s/doc/%s",putnansi,"zarp2_7.txt");
++ sprintf(bros,"%s/%s",ICEB_DOC_PATH,"zarp2_7.txt");
+ prosf(bros);
+ goto naz;
+
diff --git a/ukrainian/iceb/files/patch-buhg::raszpodr.c b/ukrainian/iceb/files/patch-buhg::raszpodr.c
new file mode 100644
index 000000000000..6b51ee101b89
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::raszpodr.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/raszpodr.c work/buhg/raszpodr.c
+--- work.old/buhg/raszpodr.c Thu Jan 16 00:07:57 2003
++++ buhg/raszpodr.c Tue Jan 21 21:42:51 2003
+@@ -75,7 +75,7 @@
+ {
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(bros,"%s/doc/%s",putnansi,"zarp4_8.txt");
++ sprintf(bros,"%s/%s",ICEB_DOC_PATH,"zarp4_8.txt");
+ prosf(bros);
+ goto naz;
+
diff --git a/ukrainian/iceb/files/patch-buhg::rlop.c b/ukrainian/iceb/files/patch-buhg::rlop.c
new file mode 100644
index 000000000000..66ae6518c9e1
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::rlop.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/rlop.c work/buhg/rlop.c
+--- work.old/buhg/rlop.c Thu Jan 16 00:07:57 2003
++++ buhg/rlop.c Tue Jan 21 21:42:52 2003
+@@ -70,7 +70,7 @@
+ {
+ case FK1: /*Помощь*/
+ GDITE();
+-// sprintf(strsql,"%s/doc/%s",putnansi,"buhg5_1.txt");
++// sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"buhg5_1.txt");
+ // prosf(strsql);
+ goto naz;
+
diff --git a/ukrainian/iceb/files/patch-buhg::rozkor.c b/ukrainian/iceb/files/patch-buhg::rozkor.c
new file mode 100644
index 000000000000..b657be0369fe
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::rozkor.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/rozkor.c work/buhg/rozkor.c
+--- work.old/buhg/rozkor.c Thu Jan 16 00:07:57 2003
++++ buhg/rozkor.c Tue Jan 21 21:42:52 2003
+@@ -108,7 +108,7 @@
+ {
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"matu2_1_2c.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"matu2_1_2c.txt");
+ prosf(strsql);
+ clear();
+ goto naz;
diff --git a/ukrainian/iceb/files/patch-buhg::rozprod.c b/ukrainian/iceb/files/patch-buhg::rozprod.c
new file mode 100644
index 000000000000..a280a56173f5
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::rozprod.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/rozprod.c work/buhg/rozprod.c
+--- work.old/buhg/rozprod.c Thu Jan 16 00:07:57 2003
++++ buhg/rozprod.c Tue Jan 21 21:42:52 2003
+@@ -359,7 +359,7 @@
+
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"rozn1.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"rozn1.txt");
+ prosf(strsql);
+ goto naz1;
+
diff --git a/ukrainian/iceb/files/patch-buhg::rppvo.c b/ukrainian/iceb/files/patch-buhg::rppvo.c
new file mode 100644
index 000000000000..69c8ad098059
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::rppvo.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/rppvo.c work/buhg/rppvo.c
+--- work.old/buhg/rppvo.c Thu Jan 16 00:07:58 2003
++++ buhg/rppvo.c Tue Jan 21 21:42:52 2003
+@@ -90,7 +90,7 @@
+
+ case FK1:
+ GDITE();
+- sprintf(bros,"%s/doc/%s",putnansi,"matu5_9.txt");
++ sprintf(bros,"%s/%s",ICEB_DOC_PATH,"matu5_9.txt");
+ prosf(bros);
+ clear();
+ goto naz;
diff --git a/ukrainian/iceb/files/patch-buhg::rppvou.c b/ukrainian/iceb/files/patch-buhg::rppvou.c
new file mode 100644
index 000000000000..c773751f6978
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::rppvou.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/rppvou.c work/buhg/rppvou.c
+--- work.old/buhg/rppvou.c Thu Jan 16 00:07:58 2003
++++ buhg/rppvou.c Tue Jan 21 21:42:52 2003
+@@ -84,7 +84,7 @@
+
+ case FK1:
+ GDITE();
+- sprintf(bros,"%s/doc/%s",putnansi,"usl4_3.txt");
++ sprintf(bros,"%s/%s",ICEB_DOC_PATH,"usl4_3.txt");
+ prosf(bros);
+ clear();
+ goto naz;
diff --git a/ukrainian/iceb/files/patch-buhg::salallk.c b/ukrainian/iceb/files/patch-buhg::salallk.c
new file mode 100644
index 000000000000..a6ca13b4d9e0
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::salallk.c
@@ -0,0 +1,31 @@
+--- buhg/salallk.c.orig Wed Sep 4 02:52:01 2002
++++ buhg/salallk.c Wed Oct 8 19:54:43 2003
+@@ -45,7 +45,7 @@
+ short dk,mk,gk;
+ int i;
+ char sh[10];
+-long tmm;
++time_t tmm;
+ struct tm *bf;
+ long kolstr;
+ SQL_str row;
+@@ -99,7 +99,7 @@
+ {
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"buhg5_3.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"buhg5_3.txt");
+ prosf(strsql);
+ clear();
+ goto naz;
+@@ -268,8 +268,8 @@
+ long kolstr,kolstr1;
+ SQL_str row,row1;
+ char strsql[300];
+-long tmm;
+-long tmmk;
++time_t tmm;
++time_t tmmk;
+ struct tm *bf;
+ short mro,mrodeb,mrokre;
+ char imaf[30],imaf1[30],imafdeb[30],imafkre[30];
diff --git a/ukrainian/iceb/files/patch-buhg::smdok.c b/ukrainian/iceb/files/patch-buhg::smdok.c
new file mode 100644
index 000000000000..91b12bbb13cb
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::smdok.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/smdok.c work/buhg/smdok.c
+--- work.old/buhg/smdok.c Thu Jan 16 00:07:58 2003
++++ buhg/smdok.c Tue Jan 21 21:42:52 2003
+@@ -376,7 +376,7 @@
+
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"matu2_3.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"matu2_3.txt");
+ prosf(strsql);
+ if(kolstr > 0)
+ goto naz;
diff --git a/ukrainian/iceb/files/patch-buhg::smdok1.c b/ukrainian/iceb/files/patch-buhg::smdok1.c
new file mode 100644
index 000000000000..a90b0cd2adac
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::smdok1.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/smdok1.c work/buhg/smdok1.c
+--- work.old/buhg/smdok1.c Thu Jan 16 00:07:58 2003
++++ buhg/smdok1.c Tue Jan 21 21:42:52 2003
+@@ -327,7 +327,7 @@
+ {
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"matu2_3.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"matu2_3.txt");
+ prosf(strsql);
+ if(kolstr > 0)
+ goto naz;
diff --git a/ukrainian/iceb/files/patch-buhg::smenakof.c b/ukrainian/iceb/files/patch-buhg::smenakof.c
new file mode 100644
index 000000000000..e7616fa769ce
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::smenakof.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/smenakof.c work/buhg/smenakof.c
+--- work.old/buhg/smenakof.c Thu Jan 16 00:07:58 2003
++++ buhg/smenakof.c Tue Jan 21 21:42:52 2003
+@@ -71,7 +71,7 @@
+ {
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"uos5_9.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"uos5_9.txt");
+ prosf(strsql);
+ goto naz;
+
diff --git a/ukrainian/iceb/files/patch-buhg::smesh.c b/ukrainian/iceb/files/patch-buhg::smesh.c
new file mode 100644
index 000000000000..0be51a2ca836
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::smesh.c
@@ -0,0 +1,11 @@
+--- buhg/smesh.c.orig Wed Oct 8 19:54:03 2003
++++ buhg/smesh.c Wed Oct 8 19:54:10 2003
+@@ -23,7 +23,7 @@
+ long kolstr;
+ SQL_str row,row1;
+ char strsql[300];
+-long vrem;
++time_t vrem;
+
+ clear(); /*Очистить экран и закрасить фоновым цветом*/
+ VVOD VVOD1(2);
diff --git a/ukrainian/iceb/files/patch-buhg::smkont.c b/ukrainian/iceb/files/patch-buhg::smkont.c
new file mode 100644
index 000000000000..2b1621f71581
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::smkont.c
@@ -0,0 +1,11 @@
+--- buhg/smkont.c.orig Wed Oct 8 19:53:46 2003
++++ buhg/smkont.c Wed Oct 8 19:53:54 2003
+@@ -22,7 +22,7 @@
+ long kolstr;
+ SQL_str row,row1;
+ char strsql[300];
+-long vrem;
++time_t vrem;
+
+ clear(); /*Очистить экран и закрасить фоновым цветом*/
+ printw(catgets(fils,41,20,"Смена одного кода контрагента на другой во всех проводках."));
diff --git a/ukrainian/iceb/files/patch-buhg::smpld.c b/ukrainian/iceb/files/patch-buhg::smpld.c
new file mode 100644
index 000000000000..5bbedbf54de5
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::smpld.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/smpld.c work/buhg/smpld.c
+--- work.old/buhg/smpld.c Thu Jan 16 00:07:58 2003
++++ buhg/smpld.c Tue Jan 21 21:42:52 2003
+@@ -360,7 +360,7 @@
+
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"dokum2_4.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"dokum2_4.txt");
+ prosf(strsql);
+ clear();
+ if(kolstr > 0)
diff --git a/ukrainian/iceb/files/patch-buhg::snublsn.c b/ukrainian/iceb/files/patch-buhg::snublsn.c
new file mode 100644
index 000000000000..53127dd44bd9
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::snublsn.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/snublsn.c work/buhg/snublsn.c
+--- work.old/buhg/snublsn.c Thu Jan 16 00:07:58 2003
++++ buhg/snublsn.c Tue Jan 21 21:42:52 2003
+@@ -77,7 +77,7 @@
+ {
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(bros,"%s/doc/%s",putnansi,"zarp4_5_2.txt");
++ sprintf(bros,"%s/%s",ICEB_DOC_PATH,"zarp4_5_2.txt");
+ prosf(bros);
+ goto naz;
+
diff --git a/ukrainian/iceb/files/patch-buhg::socstrm.c b/ukrainian/iceb/files/patch-buhg::socstrm.c
new file mode 100644
index 000000000000..4de5a8565e44
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::socstrm.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/socstrm.c work/buhg/socstrm.c
+--- work.old/buhg/socstrm.c Thu Jan 16 00:07:58 2003
++++ buhg/socstrm.c Tue Jan 21 21:42:52 2003
+@@ -78,7 +78,7 @@
+ {
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"zarp4_7_4.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"zarp4_7_4.txt");
+ prosf(strsql);
+ goto naz;
+ case ESC:
diff --git a/ukrainian/iceb/files/patch-buhg::sozsqlbaz.c b/ukrainian/iceb/files/patch-buhg::sozsqlbaz.c
new file mode 100644
index 000000000000..14d2542c9aa1
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::sozsqlbaz.c
@@ -0,0 +1,98 @@
+--- buhg/sozsqlbaz.c.orig Wed Oct 8 19:02:05 2003
++++ buhg/sozsqlbaz.c Wed Oct 8 19:03:55 2003
+@@ -363,7 +363,7 @@
+
+ printw("Создание таблицы сальдо для счетов Saldo !\n");
+ memset(strsql,'\0',sizeof(strsql));
+-strcpy(strsql,"CREATE TABLE Saldo \(
++strcpy(strsql,"CREATE TABLE Saldo \( \
+ kkk char(2) not null,\
+ gs smallint not null,\
+ ns char(20) not null references Plansh,\
+@@ -1091,7 +1091,7 @@
+ memset(strsql,'\0',sizeof(strsql));
+ strcpy(strsql,"CREATE TABLE Uder (\
+ kod smallint not null primary key,\
+-naik varchar(60) not null,
++naik varchar(60) not null,\
+ shet varchar(12) not null references Plansh (ns),\
+ ktoz smallint unsigned not null,\
+ vrem int unsigned not null,\
+@@ -1141,7 +1141,7 @@
+ memset(strsql,'\0',sizeof(strsql));
+ strcpy(strsql,"CREATE TABLE Kateg (\
+ kod smallint not null primary key,\
+-naik varchar(60) not null,
++naik varchar(60) not null,\
+ ktoz smallint unsigned not null,\
+ vrem int unsigned not null)");
+ /*
+@@ -1165,7 +1165,7 @@
+ memset(strsql,'\0',sizeof(strsql));
+ strcpy(strsql,"CREATE TABLE Zvan (\
+ kod smallint not null primary key,\
+-naik varchar(60) not null,
++naik varchar(60) not null,\
+ ktoz smallint unsigned not null,\
+ vrem int unsigned not null)");
+ /*
+@@ -1213,7 +1213,7 @@
+ memset(strsql,'\0',sizeof(strsql));
+ strcpy(strsql,"CREATE TABLE Tabel (\
+ kod smallint not null primary key,\
+-naik varchar(60) not null,
++naik varchar(60) not null,\
+ ktoz smallint unsigned not null,\
+ vrem int unsigned not null)");
+ /*
+@@ -1392,8 +1392,8 @@
+ vrem int unsigned not null,\
+ kom varchar(40) not null,\
+ podr int not null not null,\
+-unique (datz,tabn,prn,knah,godn,mesn,podr,shet,nomz),
+-index (tabn,datz),
++unique (datz,tabn,prn,knah,godn,mesn,podr,shet,nomz),\
++index (tabn,datz),\
+ index tabn1 (tabn,godn,mesn))");
+
+ /*
+@@ -1550,8 +1550,8 @@
+ datau DATE not null,\
+ lgota char(4) not null,\
+ ktoz smallint unsigned not null,\
+-vrem int unsigned not null,
+-fio varchar(60) not null,
++vrem int unsigned not null,\
++fio varchar(60) not null,\
+ unique(nomd,inn,priz,lgota))");
+
+ /*
+@@ -2455,7 +2455,7 @@
+ sherez varchar(40) not null,\
+ datop DATE not null,\
+ nds smallint not null,\
+-unique(datd,nomd),
++unique(datd,nomd),\
+ index(nomnn))");
+ /*
+ 0 datd дата документа
+@@ -2518,7 +2518,7 @@
+ bsby double(10,2) not null,\
+ izby double(10,2) not null,\
+ cena double(14,2) not null,\
+-unique(datd,nomd,innom),
++unique(datd,nomd,innom),\
+ index(innom,datd))");
+ /*
+ 0 datd дата документа
+@@ -3079,8 +3079,8 @@
+ dokum varchar(80) not null,\
+ god smallint not null,\
+ ktoi smallint unsigned not null,\
+-vrem int unsigned not null,
+-unique(nomd,kassa,tp,god),
++vrem int unsigned not null,\
++unique(nomd,kassa,tp,god),\
+ index(datd,kassa))");
+
+ /*
diff --git a/ukrainian/iceb/files/patch-buhg::spiin.c b/ukrainian/iceb/files/patch-buhg::spiin.c
new file mode 100644
index 000000000000..84446c2b706e
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::spiin.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/spiin.c work/buhg/spiin.c
+--- work.old/buhg/spiin.c Thu Jan 16 00:07:58 2003
++++ buhg/spiin.c Tue Jan 21 21:42:52 2003
+@@ -104,7 +104,7 @@
+
+ case FK1:
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"zarp4_3_3.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"zarp4_3_3.txt");
+ prosf(strsql);
+ goto naz;
+
diff --git a/ukrainian/iceb/files/patch-buhg::spininu.c b/ukrainian/iceb/files/patch-buhg::spininu.c
new file mode 100644
index 000000000000..fb106c89d15f
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::spininu.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/spininu.c work/buhg/spininu.c
+--- work.old/buhg/spininu.c Thu Jan 16 00:07:58 2003
++++ buhg/spininu.c Tue Jan 21 21:42:52 2003
+@@ -88,7 +88,7 @@
+
+ case FK1:
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"zarp4_3_4.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"zarp4_3_4.txt");
+ prosf(strsql);
+ goto naz;
+
diff --git a/ukrainian/iceb/files/patch-buhg::sprkvrt.c b/ukrainian/iceb/files/patch-buhg::sprkvrt.c
new file mode 100644
index 000000000000..0c65877e607f
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::sprkvrt.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/sprkvrt.c work/buhg/sprkvrt.c
+--- work.old/buhg/sprkvrt.c Thu Jan 16 00:07:58 2003
++++ buhg/sprkvrt.c Tue Jan 21 21:42:52 2003
+@@ -223,7 +223,7 @@
+ {
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(bros,"%s/doc/%s",putnansi,"zarp4_7_1_1.txt");
++ sprintf(bros,"%s/%s",ICEB_DOC_PATH,"zarp4_7_1_1.txt");
+ prosf(bros);
+ goto naz;
+
diff --git a/ukrainian/iceb/files/patch-buhg::sprpen1.c b/ukrainian/iceb/files/patch-buhg::sprpen1.c
new file mode 100644
index 000000000000..afe2b9e1c5e1
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::sprpen1.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/sprpen1.c work/buhg/sprpen1.c
+--- work.old/buhg/sprpen1.c Thu Jan 16 00:07:58 2003
++++ buhg/sprpen1.c Tue Jan 21 21:42:52 2003
+@@ -129,7 +129,7 @@
+ {
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(bros,"%s/doc/%s",putnansi,"zarp4_7_3.txt");
++ sprintf(bros,"%s/%s",ICEB_DOC_PATH,"zarp4_7_3.txt");
+ prosf(bros);
+ goto naz;
+ case FK2:
diff --git a/ukrainian/iceb/files/patch-buhg::sprsov.c b/ukrainian/iceb/files/patch-buhg::sprsov.c
new file mode 100644
index 000000000000..339d2620c8c4
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::sprsov.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/sprsov.c work/buhg/sprsov.c
+--- work.old/buhg/sprsov.c Thu Jan 16 00:07:59 2003
++++ buhg/sprsov.c Tue Jan 21 21:42:52 2003
+@@ -141,7 +141,7 @@
+ {
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"zarp4_3_8.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"zarp4_3_8.txt");
+ prosf(strsql);
+ goto naz;
+
diff --git a/ukrainian/iceb/files/patch-buhg::srvcen.c b/ukrainian/iceb/files/patch-buhg::srvcen.c
new file mode 100644
index 000000000000..4d159d33b147
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::srvcen.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/srvcen.c work/buhg/srvcen.c
+--- work.old/buhg/srvcen.c Thu Jan 16 00:07:59 2003
++++ buhg/srvcen.c Tue Jan 21 21:42:52 2003
+@@ -79,7 +79,7 @@
+
+ case FK1:
+ GDITE();
+- sprintf(bros,"%s/doc/%s",putnansi,"matu2_4.txt");
++ sprintf(bros,"%s/%s",ICEB_DOC_PATH,"matu2_4.txt");
+ prosf(bros);
+ clear();
+ goto naz;
diff --git a/ukrainian/iceb/files/patch-buhg::svodnu.c b/ukrainian/iceb/files/patch-buhg::svodnu.c
new file mode 100644
index 000000000000..74f6f81136da
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::svodnu.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/svodnu.c work/buhg/svodnu.c
+--- work.old/buhg/svodnu.c Thu Jan 16 00:07:59 2003
++++ buhg/svodnu.c Tue Jan 21 21:42:52 2003
+@@ -116,7 +116,7 @@
+ {
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"zarp4_3_6.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"zarp4_3_6.txt");
+ prosf(strsql);
+ clear();
+ case FK10:
diff --git a/ukrainian/iceb/files/patch-buhg::uddusl.c b/ukrainian/iceb/files/patch-buhg::uddusl.c
new file mode 100644
index 000000000000..3e08a18c2d0c
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::uddusl.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/uddusl.c work/buhg/uddusl.c
+--- work.old/buhg/uddusl.c Thu Jan 16 00:07:59 2003
++++ buhg/uddusl.c Tue Jan 21 21:42:52 2003
+@@ -41,7 +41,7 @@
+ {
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"usl2_4.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"usl2_4.txt");
+ prosf(strsql);
+ goto naz;
+
diff --git a/ukrainian/iceb/files/patch-buhg::uosdok.c b/ukrainian/iceb/files/patch-buhg::uosdok.c
new file mode 100644
index 000000000000..5fbf19ed3789
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::uosdok.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/uosdok.c work/buhg/uosdok.c
+--- work.old/buhg/uosdok.c Thu Jan 16 00:07:59 2003
++++ buhg/uosdok.c Tue Jan 21 21:42:52 2003
+@@ -455,7 +455,7 @@
+
+ case FK1: /*Получение подсказки*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"uos2_1_3.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"uos2_1_3.txt");
+ prosf(strsql);
+ clear();
+
diff --git a/ukrainian/iceb/files/patch-buhg::uosinved.c b/ukrainian/iceb/files/patch-buhg::uosinved.c
new file mode 100644
index 000000000000..0cc583c7f0a4
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::uosinved.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/uosinved.c work/buhg/uosinved.c
+--- work.old/buhg/uosinved.c Thu Jan 16 00:07:59 2003
++++ buhg/uosinved.c Tue Jan 21 21:42:52 2003
+@@ -109,7 +109,7 @@
+
+ case FK1:
+ GDITE();
+-// sprintf(bros,"%s/doc/%s",putnansi,"matu5_5.txt");
++// sprintf(bros,"%s/%s",ICEB_DOC_PATH,"matu5_5.txt");
+ // prosf(bros);
+ // clear();
+ goto naz;
diff --git a/ukrainian/iceb/files/patch-buhg::uosvdok.c b/ukrainian/iceb/files/patch-buhg::uosvdok.c
new file mode 100644
index 000000000000..e9ba4ea3d83b
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::uosvdok.c
@@ -0,0 +1,15 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/uosvdok.c work/buhg/uosvdok.c
+--- work.old/buhg/uosvdok.c Thu Jan 16 00:08:00 2003
++++ buhg/uosvdok.c Tue Jan 21 21:42:52 2003
+@@ -748,9 +748,9 @@
+ attroff(VV->VVOD_return_cs(iceb_CFS));
+ GDITE();
+ if(uos.tipz == 1)
+- sprintf(strsql,"%s/doc/%s",putnansi,"uos2_1_1.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"uos2_1_1.txt");
+ if(uos.tipz == 2)
+- sprintf(strsql,"%s/doc/%s",putnansi,"uos2_1_2.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"uos2_1_2.txt");
+ prosf(strsql);
+ clear();
+ goto nazad;
diff --git a/ukrainian/iceb/files/patch-buhg::vdnd.c b/ukrainian/iceb/files/patch-buhg::vdnd.c
new file mode 100644
index 000000000000..2034f51602f2
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::vdnd.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/vdnd.c work/buhg/vdnd.c
+--- work.old/buhg/vdnd.c Thu Jan 16 00:08:00 2003
++++ buhg/vdnd.c Tue Jan 21 21:42:52 2003
+@@ -785,7 +785,7 @@
+ attroff(VV->VVOD_return_cs(iceb_CFS));
+ attron(VV->VVOD_return_cs(iceb_CB));
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"matu2_1_1.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"matu2_1_1.txt");
+ prosf(strsql);
+ goto nazad;
+ }
diff --git a/ukrainian/iceb/files/patch-buhg::vdnu.c b/ukrainian/iceb/files/patch-buhg::vdnu.c
new file mode 100644
index 000000000000..8d7808d5d73e
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::vdnu.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/vdnu.c work/buhg/vdnu.c
+--- work.old/buhg/vdnu.c Thu Jan 16 00:08:00 2003
++++ buhg/vdnu.c Tue Jan 21 21:42:52 2003
+@@ -561,7 +561,7 @@
+ attroff(VV->VVOD_return_cs(iceb_CFS));
+ attron(VV->VVOD_return_cs(iceb_CFM));
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"usl2_1.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"usl2_1.txt");
+ prosf(strsql);
+ clear();
+ goto nazad;
diff --git a/ukrainian/iceb/files/patch-buhg::vedprz.c b/ukrainian/iceb/files/patch-buhg::vedprz.c
new file mode 100644
index 000000000000..7e303e93f9b5
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::vedprz.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/vedprz.c work/buhg/vedprz.c
+--- work.old/buhg/vedprz.c Thu Jan 16 00:08:00 2003
++++ buhg/vedprz.c Tue Jan 21 21:42:52 2003
+@@ -110,7 +110,7 @@
+ {
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"zarp4_5_1.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"zarp4_5_1.txt");
+ prosf(strsql);
+ goto naz;
+ case ESC:
diff --git a/ukrainian/iceb/files/patch-buhg::vkart.c b/ukrainian/iceb/files/patch-buhg::vkart.c
new file mode 100644
index 000000000000..feb701b845f7
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::vkart.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/vkart.c work/buhg/vkart.c
+--- work.old/buhg/vkart.c Thu Jan 16 00:08:00 2003
++++ buhg/vkart.c Tue Jan 21 21:42:52 2003
+@@ -758,7 +758,7 @@
+ case FK1: /*Помощь*/
+ attroff(VV.VVOD_return_cs(iceb_CFS));
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"zarp2_1.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"zarp2_1.txt");
+ prosf(strsql);
+ clear();
+ goto naz;
diff --git a/ukrainian/iceb/files/patch-buhg::vkart1.c b/ukrainian/iceb/files/patch-buhg::vkart1.c
new file mode 100644
index 000000000000..6dabe6e5bb30
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::vkart1.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/vkart1.c work/buhg/vkart1.c
+--- work.old/buhg/vkart1.c Thu Jan 16 00:08:00 2003
++++ buhg/vkart1.c Tue Jan 21 21:42:52 2003
+@@ -269,7 +269,7 @@
+ attroff(VV.VVOD_return_cs(iceb_CFS));
+ attron(VV.VVOD_return_cs(iceb_CFM));
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"zarp2_3.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"zarp2_3.txt");
+ prosf(strsql);
+ clear();
+ goto naz;
diff --git a/ukrainian/iceb/files/patch-buhg::vkasord.c b/ukrainian/iceb/files/patch-buhg::vkasord.c
new file mode 100644
index 000000000000..e21e1fc72532
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::vkasord.c
@@ -0,0 +1,15 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/vkasord.c work/buhg/vkasord.c
+--- work.old/buhg/vkasord.c Thu Jan 16 00:08:00 2003
++++ buhg/vkasord.c Tue Jan 21 21:42:52 2003
+@@ -438,9 +438,9 @@
+ attron(VV->VVOD_return_cs(iceb_CB));
+ GDITE();
+ if(tipz == 1)
+- sprintf(strsql,"%s/doc/%s",putnansi,"kas2_2.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"kas2_2.txt");
+ if(tipz == 2)
+- sprintf(strsql,"%s/doc/%s",putnansi,"kas2_1.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"kas2_1.txt");
+ prosf(strsql);
+ goto nazad;
+ }
diff --git a/ukrainian/iceb/files/patch-buhg::vmat.c b/ukrainian/iceb/files/patch-buhg::vmat.c
new file mode 100644
index 000000000000..9a30d82557b7
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::vmat.c
@@ -0,0 +1,38 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/vmat.c work/buhg/vmat.c
+--- work.old/buhg/vmat.c Thu Jan 16 00:08:00 2003
++++ buhg/vmat.c Tue Jan 21 21:42:52 2003
+@@ -608,7 +608,7 @@
+ if(cp == 1)
+ {
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"matu2_1_2f.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"matu2_1_2f.txt");
+ prosf(strsql);
+ clear();
+ }
+@@ -616,14 +616,14 @@
+ if(tipz == 1 && cp == 0)
+ {
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"matu2_1_2g.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"matu2_1_2g.txt");
+ prosf(strsql);
+ clear();
+ }
+ if(tipz == 2 && cp == 0)
+ {
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"matu2_1_2s.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"matu2_1_2s.txt");
+ prosf(strsql);
+ clear();
+ }
+@@ -1318,7 +1318,7 @@
+ {
+ attroff(VV.VVOD_return_cs(iceb_CFS));
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"matu2_1_2g1.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"matu2_1_2g1.txt");
+ prosf(strsql);
+ clear();
+ goto naz;
diff --git a/ukrainian/iceb/files/patch-buhg::vnu.c b/ukrainian/iceb/files/patch-buhg::vnu.c
new file mode 100644
index 000000000000..8feefa6f0536
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::vnu.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/vnu.c work/buhg/vnu.c
+--- work.old/buhg/vnu.c Thu Jan 16 00:08:00 2003
++++ buhg/vnu.c Tue Jan 21 21:42:53 2003
+@@ -127,7 +127,7 @@
+ {
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"zarp2_2.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"zarp2_2.txt");
+ prosf(strsql);
+ clear();
+ goto naz;
diff --git a/ukrainian/iceb/files/patch-buhg::vos.c b/ukrainian/iceb/files/patch-buhg::vos.c
new file mode 100644
index 000000000000..de4c6eb3d468
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::vos.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/vos.c work/buhg/vos.c
+--- work.old/buhg/vos.c Thu Jan 16 00:08:00 2003
++++ buhg/vos.c Tue Jan 21 21:42:53 2003
+@@ -427,7 +427,7 @@
+ case FK1: /*Помощь*/
+ attroff(VV->VVOD_return_cs(iceb_CFS));
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"uos3.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"uos3.txt");
+ prosf(strsql);
+ clear();
+ goto naz;
diff --git a/ukrainian/iceb/files/patch-buhg::vprov.c b/ukrainian/iceb/files/patch-buhg::vprov.c
new file mode 100644
index 000000000000..a87ec42f8159
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::vprov.c
@@ -0,0 +1,20 @@
+--- buhg/vprov.c.orig Mon Jul 29 10:28:37 2002
++++ buhg/vprov.c Wed Oct 8 19:55:04 2003
+@@ -22,7 +22,7 @@
+ {
+ char bros[100];
+ int nm=3;
+-long vrem;
++time_t vrem;
+ char nsh[20];
+ char nai[60];
+ char nai1[60];
+@@ -561,7 +561,7 @@
+ attroff(VV.VVOD_return_cs(iceb_CFS));
+ GDITE();
+
+- sprintf(strsql,"%s/doc/%s",putnansi,"buhg3_1.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"buhg3_1.txt");
+ prosf(strsql);
+
+ clear();
diff --git a/ukrainian/iceb/files/patch-buhg::vprovgr.c b/ukrainian/iceb/files/patch-buhg::vprovgr.c
new file mode 100644
index 000000000000..24a7fd358fe9
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::vprovgr.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/vprovgr.c work/buhg/vprovgr.c
+--- work.old/buhg/vprovgr.c Thu Jan 16 00:08:01 2003
++++ buhg/vprovgr.c Tue Jan 21 21:42:53 2003
+@@ -278,7 +278,7 @@
+ attroff(VV.VVOD_return_cs(iceb_CFS));
+ GDITE();
+
+- sprintf(strsql,"%s/doc/%s",putnansi,"buhg3_4.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"buhg3_4.txt");
+ prosf(strsql);
+
+ clear();
diff --git a/ukrainian/iceb/files/patch-buhg::vprovnbs.c b/ukrainian/iceb/files/patch-buhg::vprovnbs.c
new file mode 100644
index 000000000000..aff916055e40
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::vprovnbs.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/vprovnbs.c work/buhg/vprovnbs.c
+--- work.old/buhg/vprovnbs.c Thu Jan 16 00:08:01 2003
++++ buhg/vprovnbs.c Tue Jan 21 21:42:53 2003
+@@ -354,7 +354,7 @@
+ attroff(VV.VVOD_return_cs(iceb_CFS));
+ GDITE();
+
+- sprintf(strsql,"%s/doc/%s",putnansi,"buhg3_1_1.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"buhg3_1_1.txt");
+ prosf(strsql);
+
+ clear();
diff --git a/ukrainian/iceb/files/patch-buhg::vusl.c b/ukrainian/iceb/files/patch-buhg::vusl.c
new file mode 100644
index 000000000000..db97d5d61016
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::vusl.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/vusl.c work/buhg/vusl.c
+--- work.old/buhg/vusl.c Thu Jan 16 00:08:01 2003
++++ buhg/vusl.c Tue Jan 21 21:42:53 2003
+@@ -395,7 +395,7 @@
+ {
+ attroff(VV.VVOD_return_cs(iceb_CFS));
+ GDITE();
+- sprintf(bros,"%s/doc/%s",putnansi,"usl2_1_1_2.txt");
++ sprintf(bros,"%s/%s",ICEB_DOC_PATH,"usl2_1_1_2.txt");
+ prosf(bros);
+ clear();
+ goto naz;
diff --git a/ukrainian/iceb/files/patch-buhg::vvodf8dr.c b/ukrainian/iceb/files/patch-buhg::vvodf8dr.c
new file mode 100644
index 000000000000..3463ce508c37
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::vvodf8dr.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/vvodf8dr.c work/buhg/vvodf8dr.c
+--- work.old/buhg/vvodf8dr.c Thu Jan 16 00:08:01 2003
++++ buhg/vvodf8dr.c Tue Jan 21 21:42:53 2003
+@@ -164,7 +164,7 @@
+ if(K == FK1)
+ {
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"zarp4_7_1_2_1.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"zarp4_7_1_2_1.txt");
+ prosf(strsql);
+ clear();
+ goto nazad;
diff --git a/ukrainian/iceb/files/patch-buhg::vvodztab.c b/ukrainian/iceb/files/patch-buhg::vvodztab.c
new file mode 100644
index 000000000000..99a78c637971
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::vvodztab.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/vvodztab.c work/buhg/vvodztab.c
+--- work.old/buhg/vvodztab.c Thu Jan 16 00:08:01 2003
++++ buhg/vvodztab.c Tue Jan 21 21:42:53 2003
+@@ -346,7 +346,7 @@
+ if(K == FK1) /*Просмотр подсказки*/
+ {
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"zarp2_6_1.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"zarp2_6_1.txt");
+ prosf(strsql);
+ clear();
+ goto naz;
diff --git a/ukrainian/iceb/files/patch-buhg::xbu.c b/ukrainian/iceb/files/patch-buhg::xbu.c
new file mode 100644
index 000000000000..a94704418add
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::xbu.c
@@ -0,0 +1,38 @@
+--- buhg/xbu.c.orig Mon Sep 9 01:38:02 2002
++++ buhg/xbu.c Wed Oct 8 19:08:40 2003
+@@ -57,7 +57,7 @@
+ int i;
+ char bros1[200];
+ struct tm *bf;
+-long tmm;
++time_t tmm;
+ char kto[20];
+ char host[100];
+ char *parol=NULL;
+@@ -317,7 +317,7 @@
+ goto nazad;
+ case FK1:
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"buhg3_2.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"buhg3_2.txt");
+ prosf(strsql);
+ clear();
+ goto naz1;
+@@ -478,7 +478,7 @@
+ {
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(bros,"%s/doc/%s",putnansi,"buhg5_2.txt");
++ sprintf(bros,"%s/%s",ICEB_DOC_PATH,"buhg5_2.txt");
+ prosf(bros);
+ goto naz;
+
+@@ -609,7 +609,7 @@
+
+ case FK1:
+ GDITE();
+- sprintf(bros,"%s/doc/%s",putnansi,"buhg5_4.txt");
++ sprintf(bros,"%s/%s",ICEB_DOC_PATH,"buhg5_4.txt");
+ prosf(bros);
+ goto nom3;
+
diff --git a/ukrainian/iceb/files/patch-buhg::xmu.c b/ukrainian/iceb/files/patch-buhg::xmu.c
new file mode 100644
index 000000000000..06e28f900ade
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::xmu.c
@@ -0,0 +1,11 @@
+--- buhg/xmu.c.orig Wed Oct 8 19:55:16 2003
++++ buhg/xmu.c Wed Oct 8 19:55:22 2003
+@@ -53,7 +53,7 @@
+ {
+ struct passwd *ktor; /*Кто работает*/
+ struct tm *bf;
+-long tmm;
++time_t tmm;
+ SQL_str row;
+ short kom,kom1;
+ short i;
diff --git a/ukrainian/iceb/files/patch-buhg::zarkart.c b/ukrainian/iceb/files/patch-buhg::zarkart.c
new file mode 100644
index 000000000000..8db79b57e609
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::zarkart.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/zarkart.c work/buhg/zarkart.c
+--- work.old/buhg/zarkart.c Thu Jan 16 00:08:02 2003
++++ buhg/zarkart.c Tue Jan 21 21:42:54 2003
+@@ -97,7 +97,7 @@
+ {
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(bros,"%s/doc/%s",putnansi,"zarp4_3_12.txt");
++ sprintf(bros,"%s/%s",ICEB_DOC_PATH,"zarp4_3_12.txt");
+ prosf(bros);
+ goto naz;
+
diff --git a/ukrainian/iceb/files/patch-buhg::zarrasp.c b/ukrainian/iceb/files/patch-buhg::zarrasp.c
new file mode 100644
index 000000000000..0552dbad3b7a
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::zarrasp.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/zarrasp.c work/buhg/zarrasp.c
+--- work.old/buhg/zarrasp.c Thu Jan 16 00:08:02 2003
++++ buhg/zarrasp.c Tue Jan 21 21:42:54 2003
+@@ -100,7 +100,7 @@
+ case FK1: /*Помощь*/
+ GDITE();
+
+- sprintf(bros,"%s/doc/%s",putnansi,"zarp4_7_5.txt");
++ sprintf(bros,"%s/%s",ICEB_DOC_PATH,"zarp4_7_5.txt");
+ prosf(bros);
+
+ goto naz;
diff --git a/ukrainian/iceb/files/patch-buhg::zarsend.c b/ukrainian/iceb/files/patch-buhg::zarsend.c
new file mode 100644
index 000000000000..e7975ae0ae0d
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::zarsend.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/zarsend.c work/buhg/zarsend.c
+--- work.old/buhg/zarsend.c Thu Jan 16 00:08:02 2003
++++ buhg/zarsend.c Tue Jan 21 21:42:54 2003
+@@ -141,7 +141,7 @@
+
+ case FK1:
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"zarp4_1_3.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"zarp4_1_3.txt");
+ prosf(strsql);
+ goto naz;
+
diff --git a/ukrainian/iceb/files/patch-buhg::zarsocd.c b/ukrainian/iceb/files/patch-buhg::zarsocd.c
new file mode 100644
index 000000000000..9a439e161774
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::zarsocd.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/zarsocd.c work/buhg/zarsocd.c
+--- work.old/buhg/zarsocd.c Thu Jan 16 00:08:02 2003
++++ buhg/zarsocd.c Tue Jan 21 21:42:54 2003
+@@ -69,7 +69,7 @@
+ {
+ case FK1:
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"zarp4_7_8.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"zarp4_7_8.txt");
+ prosf(strsql);
+ goto naz;
+
diff --git a/ukrainian/iceb/files/patch-buhg::zarspek.c b/ukrainian/iceb/files/patch-buhg::zarspek.c
new file mode 100644
index 000000000000..b81f1fdab29d
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::zarspek.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/zarspek.c work/buhg/zarspek.c
+--- work.old/buhg/zarspek.c Thu Jan 16 00:08:02 2003
++++ buhg/zarspek.c Tue Jan 21 21:42:54 2003
+@@ -104,7 +104,7 @@
+ {
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(bros,"%s/doc/%s",putnansi,"zarp4_7_2.txt");
++ sprintf(bros,"%s/%s",ICEB_DOC_PATH,"zarp4_7_2.txt");
+ prosf(bros);
+ goto naz;
+
diff --git a/ukrainian/iceb/files/patch-buhg::zarspek1.c b/ukrainian/iceb/files/patch-buhg::zarspek1.c
new file mode 100644
index 000000000000..e51b4608038d
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::zarspek1.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/zarspek1.c work/buhg/zarspek1.c
+--- work.old/buhg/zarspek1.c Thu Jan 16 00:08:02 2003
++++ buhg/zarspek1.c Tue Jan 21 21:42:54 2003
+@@ -60,7 +60,7 @@
+ {
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(bros,"%s/doc/%s",putnansi,"zarp4_7_6.txt");
++ sprintf(bros,"%s/%s",ICEB_DOC_PATH,"zarp4_7_6.txt");
+ prosf(bros);
+ goto naz;
+
diff --git a/ukrainian/iceb/files/patch-buhg::zarspi.c b/ukrainian/iceb/files/patch-buhg::zarspi.c
new file mode 100644
index 000000000000..972fa2931960
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::zarspi.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/zarspi.c work/buhg/zarspi.c
+--- work.old/buhg/zarspi.c Thu Jan 16 00:08:02 2003
++++ buhg/zarspi.c Tue Jan 21 21:42:54 2003
+@@ -98,7 +98,7 @@
+
+ case FK1:
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"zarp4_1_2.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"zarp4_1_2.txt");
+ prosf(strsql);
+ goto naz;
+
diff --git a/ukrainian/iceb/files/patch-buhg::zarsprpr.c b/ukrainian/iceb/files/patch-buhg::zarsprpr.c
new file mode 100644
index 000000000000..6fc066d31d76
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::zarsprpr.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/zarsprpr.c work/buhg/zarsprpr.c
+--- work.old/buhg/zarsprpr.c Thu Jan 16 00:08:02 2003
++++ buhg/zarsprpr.c Tue Jan 21 21:42:54 2003
+@@ -138,7 +138,7 @@
+ {
+ case FK1:
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"zarp4_3_2.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"zarp4_3_2.txt");
+ prosf(strsql);
+ goto naz;
+
diff --git a/ukrainian/iceb/files/patch-buhg::zarsprsoc.c b/ukrainian/iceb/files/patch-buhg::zarsprsoc.c
new file mode 100644
index 000000000000..725e0d444eab
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::zarsprsoc.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/zarsprsoc.c work/buhg/zarsprsoc.c
+--- work.old/buhg/zarsprsoc.c Thu Jan 16 00:08:02 2003
++++ buhg/zarsprsoc.c Tue Jan 21 21:42:54 2003
+@@ -74,7 +74,7 @@
+ {
+ case FK1:
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"zarp4_7_7.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"zarp4_7_7.txt");
+ prosf(strsql);
+ goto naz;
+
diff --git a/ukrainian/iceb/files/patch-buhg::zarsprvmn.c b/ukrainian/iceb/files/patch-buhg::zarsprvmn.c
new file mode 100644
index 000000000000..31b56fe1db8a
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::zarsprvmn.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/zarsprvmn.c work/buhg/zarsprvmn.c
+--- work.old/buhg/zarsprvmn.c Thu Jan 16 00:08:02 2003
++++ buhg/zarsprvmn.c Tue Jan 21 21:42:54 2003
+@@ -90,7 +90,7 @@
+ {
+ case FK1:
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"zarp4_3_13.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"zarp4_3_13.txt");
+ prosf(strsql);
+ goto naz;
+
diff --git a/ukrainian/iceb/files/patch-buhg::zarsr.c b/ukrainian/iceb/files/patch-buhg::zarsr.c
new file mode 100644
index 000000000000..93f1c8877780
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::zarsr.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/zarsr.c work/buhg/zarsr.c
+--- work.old/buhg/zarsr.c Thu Jan 16 00:08:02 2003
++++ buhg/zarsr.c Tue Jan 21 21:42:54 2003
+@@ -73,7 +73,7 @@
+
+ case FK1:
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"zarp4_3_11.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"zarp4_3_11.txt");
+ prosf(strsql);
+ goto naz;
+
diff --git a/ukrainian/iceb/files/patch-buhg::zarstomn.c b/ukrainian/iceb/files/patch-buhg::zarstomn.c
new file mode 100644
index 000000000000..91ca06195245
--- /dev/null
+++ b/ukrainian/iceb/files/patch-buhg::zarstomn.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/buhg/zarstomn.c work/buhg/zarstomn.c
+--- work.old/buhg/zarstomn.c Thu Jan 16 00:08:02 2003
++++ buhg/zarstomn.c Tue Jan 21 21:42:54 2003
+@@ -71,7 +71,7 @@
+ {
+ case FK1: /*Помощь*/
+ GDITE();
+-// sprintf(bros,"%s/doc/%s",putnansi,"zarp4_2_1.txt");
++// sprintf(bros,"%s/%s",ICEB_DOC_PATH,"zarp4_2_1.txt");
+ // prosf(bros);
+ goto naz;
+
diff --git a/ukrainian/iceb/files/patch-configure b/ukrainian/iceb/files/patch-configure
new file mode 100644
index 000000000000..601cd9a17aab
--- /dev/null
+++ b/ukrainian/iceb/files/patch-configure
@@ -0,0 +1,27 @@
+--- configure.old Sun Jan 12 12:21:21 2003
++++ configure Sun Jan 12 12:22:50 2003
+@@ -5467,7 +5467,7 @@
+
+
+ # This can be used to rebuild libtool when needed
+-LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++LIBTOOL_DEPS="--disable-ltlibs /ltmain.sh"
+
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+@@ -6269,10 +6269,11 @@
+ if test -n "$ICEB_LANG_PATH" -a -d "$ICEB_LANG_PATH" ; then
+ echo "$ac_t"" $ICEB_LANG_PATH " 1>&6
+ else
+- echo "$ac_t"" no " 1>&6
+- { echo "configure: error: No such directory: $ICEB_LANG_PATH
+-You MUST use option --with-lang-path=path " 1>&2; exit 1; }
+- exit 1
++ #echo "$ac_t"" no " 1>&6
++ #{ echo "configure: error: No such directory: $ICEB_LANG_PATH
++#You MUST use option --with-lang-path=path " 1>&2; exit 1; }
++ #exit 1
++ ICEB_LANG_PATH="$ICEB_LANG_PATH"
+ fi
+ fi
+
diff --git a/ukrainian/iceb/files/patch-libbuh::Makefile.am b/ukrainian/iceb/files/patch-libbuh::Makefile.am
new file mode 100644
index 000000000000..04cf7f3b103e
--- /dev/null
+++ b/ukrainian/iceb/files/patch-libbuh::Makefile.am
@@ -0,0 +1,9 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/libbuh/Makefile.am work/libbuh/Makefile.am
+--- work.old/libbuh/Makefile.am Thu Jan 16 00:07:29 2003
++++ libbuh/Makefile.am Tue Jan 21 22:26:15 2003
+@@ -1,4 +1,5 @@
+ CC = ${CXX}
++CFLAGS += -DICEB_DOC_PATH="\""@datadir@/doc/iceb"\""
+ lib_LTLIBRARIES = libbuh.la
+
+ INCLUDES = -I$(top_srcdir)/libscr -I$(top_srcdir)/libsql @ICEB_DB_H@ \
diff --git a/ukrainian/iceb/files/patch-libbuh::dirkontr.c b/ukrainian/iceb/files/patch-libbuh::dirkontr.c
new file mode 100644
index 000000000000..3515531b3e25
--- /dev/null
+++ b/ukrainian/iceb/files/patch-libbuh::dirkontr.c
@@ -0,0 +1,29 @@
+--- libbuh/dirkontr.c.orig Mon Sep 2 08:00:29 2002
++++ libbuh/dirkontr.c Wed Oct 8 18:54:17 2003
+@@ -31,7 +31,7 @@
+ char nnn[40];
+ extern char *organ;
+ struct tm *bf;
+-long tmm;
++time_t tmm;
+ short x=0,y=2;
+ int K;
+ int kom;
+@@ -395,7 +395,7 @@
+
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"buhg4_2.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"buhg4_2.txt");
+ prosf(strsql);
+ clear();
+ if(kolstr > 0)
+@@ -925,7 +925,7 @@
+ FILE *ff;
+ char strsql[300];
+ struct tm *bf;
+-long tmm;
++time_t tmm;
+ char imatab[30];
+
+ VVOD DANET(1);
diff --git a/ukrainian/iceb/files/patch-libbuh::dirmat1.c b/ukrainian/iceb/files/patch-libbuh::dirmat1.c
new file mode 100644
index 000000000000..2ec6e928958b
--- /dev/null
+++ b/ukrainian/iceb/files/patch-libbuh::dirmat1.c
@@ -0,0 +1,20 @@
+--- libbuh/dirmat1.c.orig Mon Aug 26 03:46:09 2002
++++ libbuh/dirmat1.c Wed Oct 8 18:51:45 2003
+@@ -36,7 +36,7 @@
+ char ignor[]) //Список кодов которые игнорируются при просмотре
+ {
+ struct tm *bf;
+-long tmm;
++time_t tmm;
+ int K;
+ int prc;
+ int i=0;
+@@ -550,7 +550,7 @@
+ goto naz1;
+ }
+ }
+- sprintf(strsql,"%s/doc/%s",putnansi,imaf);
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,imaf);
+
+ /*
+ printw("strsql=%s\n",strsql);
diff --git a/ukrainian/iceb/files/patch-libbuh::dirshet.c b/ukrainian/iceb/files/patch-libbuh::dirshet.c
new file mode 100644
index 000000000000..49587e979793
--- /dev/null
+++ b/ukrainian/iceb/files/patch-libbuh::dirshet.c
@@ -0,0 +1,29 @@
+--- libbuh/dirshet.c.orig Mon Aug 26 03:46:09 2002
++++ libbuh/dirshet.c Wed Oct 8 18:54:57 2003
+@@ -30,7 +30,7 @@
+ {
+ int x=0,y=2; /*Позиция вывода списка*/
+ struct tm *bf;
+-long tmm;
++time_t tmm;
+ char na[50]; /*Наименование счета*/
+ int tipsh; /*Тип счета*/
+ int vidsh; /*Вид счета*/
+@@ -328,7 +328,7 @@
+ case FK1: /*Получить подсказку*/
+
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"buhg4_1.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"buhg4_1.txt");
+ prosf(strsql);
+ clear();
+ goto naz;
+@@ -538,7 +538,7 @@
+ short mt;
+ char shz[20];
+ short nm=3;
+-long vrem;
++time_t vrem;
+ //char ST[90];
+ char bros[100];
+ int kl,dan;
diff --git a/ukrainian/iceb/files/patch-libbuh::dirskont.c b/ukrainian/iceb/files/patch-libbuh::dirskont.c
new file mode 100644
index 000000000000..8e6bd72bcbc6
--- /dev/null
+++ b/ukrainian/iceb/files/patch-libbuh::dirskont.c
@@ -0,0 +1,40 @@
+--- libbuh/dirskont.c.orig Mon Sep 2 08:00:29 2002
++++ libbuh/dirskont.c Wed Oct 8 18:58:30 2003
+@@ -35,8 +35,8 @@
+ extern char *putnansi;
+ char bros[100];
+ short x=0,y=2; /*Позиция вывода списка*/
+-long tmm;
+-long tmmk;
++time_t tmm;
++time_t tmmk;
+ int i,i1;
+ int kom;
+ int K,kl;
+@@ -63,7 +63,7 @@
+ long pozz,pozz1;
+ SQL_str row,row1;
+ char strsql[300];
+-long vr;
++time_t vr;
+ char kodvk[30];
+ short mspz; /*метка соответствия первой записи*/
+ short metpoi;
+@@ -565,7 +565,7 @@
+
+ case FK1: /*Помощь*/
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"buhg4_3.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"buhg4_3.txt");
+ prosf(strsql);
+ clear();
+ if(kolstr > 0)
+@@ -1192,7 +1192,7 @@
+ FILE *ff;
+ char strsql[300];
+ struct tm *bf;
+-long tmm;
++time_t tmm;
+ char bros[100];
+ char imatab[30];
+
diff --git a/ukrainian/iceb/files/patch-libbuh::nomnalnak.c b/ukrainian/iceb/files/patch-libbuh::nomnalnak.c
new file mode 100644
index 000000000000..f3b0fe6edc2b
--- /dev/null
+++ b/ukrainian/iceb/files/patch-libbuh::nomnalnak.c
@@ -0,0 +1,31 @@
+--- libbuh/nomnalnak.c.orig Wed Oct 8 18:59:39 2003
++++ libbuh/nomnalnak.c Wed Oct 8 19:00:33 2003
+@@ -19,7 +19,7 @@
+ int nn;
+ int kolstr;
+
+-sprintf(strsql,"select nomnn from Dokummat where tip=%d and
++sprintf(strsql,"select nomnn from Dokummat where tip=%d and \
+ datd >= '%04d-01-01' and datd <= '%04d-12-31'",
+ 2,god);
+
+@@ -33,8 +33,8 @@
+ nomnalnak=nn;
+ }
+
+-sprintf(strsql,"select nomnn from Usldokum where tp=%d and
+-datd >= '%04d-01-01' and datd <= '%04d-12-31'",
++sprintf(strsql,"select nomnn from Usldokum where tp=%d and \
++datd >= '%04d-01-01' and datd <= '%04d-12-31'",
+ 2,god,god);
+ if((kolstr=cur.make_cursor(&bd,strsql)) < 0)
+ msql_error(&bd,catgets(fils,1,82,"Ошибка создания курсора !"),strsql);
+@@ -44,7 +44,7 @@
+ if(nn > nomnalnak)
+ nomnalnak=nn;
+ }
+-sprintf(strsql,"select datd,nomd from Uosdok where tipz=%d and
++sprintf(strsql,"select datd,nomd from Uosdok where tipz=%d and \
+ datd >= '%04d-01-01' and datd <= '%04d-12-31'",
+ 2,god,god);
+ if((kolstr=cur.make_cursor(&bd,strsql)) < 0)
diff --git a/ukrainian/iceb/files/patch-libbuh::provnomnnak.c b/ukrainian/iceb/files/patch-libbuh::provnomnnak.c
new file mode 100644
index 000000000000..d7a04cbec537
--- /dev/null
+++ b/ukrainian/iceb/files/patch-libbuh::provnomnnak.c
@@ -0,0 +1,29 @@
+--- libbuh/provnomnnak.c.orig Wed Oct 8 19:01:06 2003
++++ libbuh/provnomnnak.c Wed Oct 8 19:01:28 2003
+@@ -17,7 +17,7 @@
+ char strsql[300];
+ SQL_str row;
+
+-sprintf(strsql,"select datd,nomd from Dokummat where tip=%d and
++sprintf(strsql,"select datd,nomd from Dokummat where tip=%d and \
+ datd >= '%04d-01-01' and datd <= '%04d-12-31' and nomnn='%s'",
+ 2,god,god,nomnalnak);
+ if(sql_readkey(&bd,strsql,&row) >= 1)
+@@ -34,7 +34,7 @@
+ return(1);
+ }
+
+-sprintf(strsql,"select datd,nomd from Usldokum where tp=%d and
++sprintf(strsql,"select datd,nomd from Usldokum where tp=%d and \
+ datd >= '%04d-01-01' and datd <= '%04d-12-31' and nomnn='%s'",
+ 2,god,god,nomnalnak);
+ if(sql_readkey(&bd,strsql,&row) >= 1)
+@@ -51,7 +51,7 @@
+ return(1);
+ }
+
+-sprintf(strsql,"select datd,nomd from Uosdok where tipz=%d and
++sprintf(strsql,"select datd,nomd from Uosdok where tipz=%d and \
+ datd >= '%04d-01-01' and datd <= '%04d-12-31' and nomnn='%s'",
+ 2,god,god,nomnalnak);
+ if(sql_readkey(&bd,strsql,&row) >= 1)
diff --git a/ukrainian/iceb/files/patch-libbuh::salork.c b/ukrainian/iceb/files/patch-libbuh::salork.c
new file mode 100644
index 000000000000..377f57b66bc8
--- /dev/null
+++ b/ukrainian/iceb/files/patch-libbuh::salork.c
@@ -0,0 +1,11 @@
+--- libbuh/salork.c.orig Wed Oct 8 18:59:01 2003
++++ libbuh/salork.c Wed Oct 8 18:59:13 2003
+@@ -34,7 +34,7 @@
+ )
+ {
+ char bros[100];
+-long tmm;
++time_t tmm;
+ struct tm *bf;
+ short d,m,g;
+ char shet[10];
diff --git a/ukrainian/iceb/files/patch-libbuh::salorok.c b/ukrainian/iceb/files/patch-libbuh::salorok.c
new file mode 100644
index 000000000000..a0a4ed51ea71
--- /dev/null
+++ b/ukrainian/iceb/files/patch-libbuh::salorok.c
@@ -0,0 +1,31 @@
+--- libbuh/salorok.c.orig Wed Oct 8 18:55:27 2003
++++ libbuh/salorok.c Wed Oct 8 18:56:14 2003
+@@ -41,8 +41,8 @@
+ char sh[10];
+ FILE *ff1,*ff2,*ff3,*ff4;
+ char imaf[20],imaf1[20],imaf2[20],imaf4[30];
+-long tmm;
+-long tmmk;
++time_t tmm;
++time_t tmmk;
+ struct tm *bf;
+ double db,kr;
+ double db1,kr1;
+@@ -301,7 +301,7 @@
+ short mks, //0-все проводки 1-без взаимно кореспондирующих
+ char *masf,double *mdo)
+ {
+-long tmm;
++time_t tmm;
+ struct tm *bf;
+ double ddn,kkn;
+ short mvs;
+@@ -604,7 +604,7 @@
+ void potf(char kor[],char nai[],short dn,short mn,short gn,
+ short dk,short mk,short gk,char imaf1[],char imaf2[],char *masf,double *mdo)
+ {
+-long tmm;
++time_t tmm;
+ struct tm *bf;
+ char imaf3[20];
+ FILE *ff1,*ff2;
diff --git a/ukrainian/iceb/files/patch-libbuh::smenabaz.c b/ukrainian/iceb/files/patch-libbuh::smenabaz.c
new file mode 100644
index 000000000000..a159646ac69b
--- /dev/null
+++ b/ukrainian/iceb/files/patch-libbuh::smenabaz.c
@@ -0,0 +1,12 @@
+diff -ru --exclude *.bak --exclude Makefile --exclude Makefile.in work.old/libbuh/smenabaz.c work/libbuh/smenabaz.c
+--- work.old/libbuh/smenabaz.c Thu Jan 16 00:07:28 2003
++++ libbuh/smenabaz.c Tue Jan 21 22:24:22 2003
+@@ -42,7 +42,7 @@
+ if(i == FK1)
+ {
+ GDITE();
+- sprintf(strsql,"%s/doc/%s",putnansi,"smenabaz.txt");
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,"smenabaz.txt");
+ prosf(strsql);
+ clear();
+ goto naz;
diff --git a/ukrainian/iceb/files/patch-libbuh::vkontr.c b/ukrainian/iceb/files/patch-libbuh::vkontr.c
new file mode 100644
index 000000000000..4f30dc61b78e
--- /dev/null
+++ b/ukrainian/iceb/files/patch-libbuh::vkontr.c
@@ -0,0 +1,20 @@
+--- libbuh/vkontr.c.orig Wed Oct 8 18:56:28 2003
++++ libbuh/vkontr.c Wed Oct 8 18:56:46 2003
+@@ -21,7 +21,7 @@
+ char kodp[], //Код контрагента
+ short mz, /*0-вводим новый 1-корректируем*/
+ int kt, /*Кто записал*/
+-long vr, /*Время записи*/
++time_t vr, /*Время записи*/
+ VVOD *VV)
+ {
+ struct tm *bf;
+@@ -31,7 +31,7 @@
+ SQL_str row;
+ char imaf[100];
+ char bros[100];
+-long vrem;
++time_t vrem;
+ char kodz[20];
+ char naimz[60];
+ char strsql[500];
diff --git a/ukrainian/iceb/files/patch-libbuh::vmat1.c b/ukrainian/iceb/files/patch-libbuh::vmat1.c
new file mode 100644
index 000000000000..9be4374a1c97
--- /dev/null
+++ b/ukrainian/iceb/files/patch-libbuh::vmat1.c
@@ -0,0 +1,38 @@
+--- libbuh/vmat1.c.orig Tue Aug 13 03:58:34 2002
++++ libbuh/vmat1.c Wed Oct 8 18:54:01 2003
+@@ -27,7 +27,7 @@
+ SQL_str row;
+ char strsql[500];
+ char kodz[12];
+-long vrem;
++time_t vrem;
+ int vo;
+ char bros[100];
+ short metprov;
+@@ -43,7 +43,7 @@
+ struct passwd *ktor; /*Кто работает*/
+ struct passwd *ktoz; /*Кто записал*/
+ int kt;
+-long vr;
++time_t vr;
+ int nomkod=1;
+
+ VVOD SOOB(1);
+@@ -986,7 +986,7 @@
+ clear();
+ goto naz1;
+ }
+- sprintf(strsql,"%s/doc/%s",putnansi,imaf);
++ sprintf(strsql,"%s/%s",ICEB_DOC_PATH,imaf);
+
+ /*
+ printw("strsql=%s\n",strsql);
+@@ -1359,7 +1359,7 @@
+ naik='%s',\
+ ktoz=%d,\
+ vrem=%ld,\
+-vido=%d,
++vido=%d, \
+ sheta='%s',\
+ prov=%d \
+ where kod = '%s'",
diff --git a/ukrainian/iceb/files/patch-libbuh::vprov1.c b/ukrainian/iceb/files/patch-libbuh::vprov1.c
new file mode 100644
index 000000000000..a2cf80603ab7
--- /dev/null
+++ b/ukrainian/iceb/files/patch-libbuh::vprov1.c
@@ -0,0 +1,20 @@
+--- libbuh/vprov1.c.orig Wed Oct 8 18:57:11 2003
++++ libbuh/vprov1.c Wed Oct 8 18:57:37 2003
+@@ -24,7 +24,7 @@
+ int skk, //Код подразделения
+ int d,int m,int g, //Дата документа
+ short mt, //0-ввод 1-корректировка
+-long vremz, //Время записи корректируемой проводки
++time_t vremz, //Время записи корректируемой проводки
+ char kontr[], //Код контрагента для корректируемой проводки если он есть
+ int ktozap, //Кто записал
+ char mtsh[], //Перечень материальных счетов
+@@ -35,7 +35,7 @@
+ {
+ struct tm *bf;
+ struct passwd *ktoz; /*Кто записал*/
+-long vrem;
++time_t vrem;
+ int KLST,MDLS;
+ int dlr;
+ short i,PR,K;
diff --git a/ukrainian/iceb/files/patch-libconfig::Makefile.am b/ukrainian/iceb/files/patch-libconfig::Makefile.am
new file mode 100644
index 000000000000..923522c4a677
--- /dev/null
+++ b/ukrainian/iceb/files/patch-libconfig::Makefile.am
@@ -0,0 +1,10 @@
+diff -ru work.old/libconfig/Makefile.am work/libconfig/Makefile.am
+--- libconfig/Makefile.am Sun Jan 12 14:46:55 2003
++++ libconfig/Makefile.am Sun Jan 12 14:40:49 2003
+@@ -1,5 +1,5 @@
+ CC = ${CXX}
+-bin_PROGRAMS = test config_get config_put
++#bin_PROGRAMS = test config_get config_put
+
+ lib_LTLIBRARIES = libconfig.la
+ libconfig_la_SOURCES = config.c cread.c cwrite.c read_vars.c
diff --git a/ukrainian/iceb/files/patch-libdev::mp.c b/ukrainian/iceb/files/patch-libdev::mp.c
new file mode 100644
index 000000000000..eb8f6d949982
--- /dev/null
+++ b/ukrainian/iceb/files/patch-libdev::mp.c
@@ -0,0 +1,11 @@
+--- libdev/mp.c.orig Wed Oct 8 18:48:49 2003
++++ libdev/mp.c Wed Oct 8 18:49:55 2003
+@@ -217,7 +217,7 @@
+ switch(cp[ka_num]->type) {
+ case T_DATECS:
+ printf(devmsg(31, "установите ключ в положение \"ВИКЛ\"\
+-и нажмите клавишу 9.\n
++и нажмите клавишу 9.\n\
+ На индикаторе должно высветиться OFF-ln\n"));
+ break;
+ case T_ERA:
diff --git a/ukrainian/iceb/files/patch-libscr::init_screen.c b/ukrainian/iceb/files/patch-libscr::init_screen.c
new file mode 100644
index 000000000000..db9ba550226a
--- /dev/null
+++ b/ukrainian/iceb/files/patch-libscr::init_screen.c
@@ -0,0 +1,54 @@
+diff -ru --exclude *.in iceb-5.35.old/libscr/init_screen.c iceb-5.35/libscr/init_screen.c
+--- libscr/init_screen.c Thu Jul 25 06:12:01 2002
++++ libscr/init_screen.c Wed Dec 25 22:43:06 2002
+@@ -16,6 +16,39 @@
+ long cklav,cstr; /*Для helstr.c свет клавиши и строки*/
+ int iscolor; /*0-черно-белый монитор*/
+
++#ifdef __FreeBSD__
++static void InitFreeBSDShift() {
++
++// Если по крайней мере одна функциональная клавиша
++// уже определена (например в termcap) то
++// не переопределять их вообще
++char fkey[] = "kf ";
++for (int i=13; i<13+12; i++) {
++ sprintf(fkey+2, "%d", i);
++ if (tigetstr(fkey) != NULL)
++ return;
++}
++
++// Порядок, задаем Shift+Fn
++static char* shiftedFKeys[] = {
++ "\033[Y", // Shift+F1
++ "\033[Z",
++ "\033[a",
++ "\033[b",
++ "\033[c",
++ "\033[d",
++ "\033[e",
++ "\033[f",
++ "\033[g",
++ "\033[h",
++ "\033[i",
++ "\033[j" // Shift+F12
++ };
++for (int i=0; i<12; i++)
++ define_key(shiftedFKeys[i], KEY_F(13+i));
++}
++#endif
++
+ int init_screen()
+ {
+ unsigned short i,i1;
+@@ -58,6 +91,10 @@
+ }
+
+ mousemask(ALL_MOUSE_EVENTS,NULL);
++
++#ifdef __FreeBSD__
++InitFreeBSDShift();
++#endif
+
+ return(0);
+ }
diff --git a/ukrainian/iceb/files/patch-libutil::rsdat.c b/ukrainian/iceb/files/patch-libutil::rsdat.c
new file mode 100644
index 000000000000..19e7f7f474a8
--- /dev/null
+++ b/ukrainian/iceb/files/patch-libutil::rsdat.c
@@ -0,0 +1,11 @@
+--- libutil/rsdat.c.orig Wed Oct 8 18:50:26 2003
++++ libutil/rsdat.c Wed Oct 8 18:50:35 2003
+@@ -26,7 +26,7 @@
+ {
+ char bros[100];
+ struct tm *bf;
+-long tmm;
++time_t tmm;
+ short god,mes;
+ int i;
+
diff --git a/ukrainian/iceb/files/patch-locale::Makefile.am b/ukrainian/iceb/files/patch-locale::Makefile.am
new file mode 100644
index 000000000000..6407dc75409d
--- /dev/null
+++ b/ukrainian/iceb/files/patch-locale::Makefile.am
@@ -0,0 +1,13 @@
+diff -ru --exclude *.in iceb-5.35.old/locale/Makefile.am locale/Makefile.am
+--- locale/Makefile.am Tue Jul 30 11:44:23 2002
++++ locale/Makefile.am Tue Dec 24 00:00:27 2002
+@@ -17,7 +17,8 @@
+
+ install: all
+ @if [ "$(ICEB_LANG)" \!= "ru" ]; then \
+- $(INSTALL_DATA) -D $(LOCFIL) $(ICEB_LANG_PATH)/LC_MESSAGES/$(LOCFIL) ; \
++ $(mkinstalldirs) $(ICEB_LANG_PATH)/LC_MESSAGES/; \
++ $(INSTALL_DATA) $(LOCFIL) $(ICEB_LANG_PATH)/LC_MESSAGES/$(LOCFIL) ; \
+ fi
+
+ uninstall:
diff --git a/ukrainian/iceb/files/patch-locale::iceb.ua.msg b/ukrainian/iceb/files/patch-locale::iceb.ua.msg
new file mode 100644
index 000000000000..b803e16b51ac
--- /dev/null
+++ b/ukrainian/iceb/files/patch-locale::iceb.ua.msg
@@ -0,0 +1,13 @@
+diff -ru --exclude *.in iceb-5.35.old/locale/iceb.ua.msg locale/iceb.ua.msg
+--- locale/iceb.ua.msg Mon Sep 9 08:38:08 2002
++++ locale/iceb.ua.msg Sat Dec 21 00:10:10 2002
+@@ -5232,7 +5232,8 @@
+ 6 ^ | номер | |вип.| |К╕л.| Варт╕сть |К╕л.| Варт╕сть |\n^
+ 7 ^Разом по опису: а) порядкових номер╕в^
+ 8 ^ б) на суму^
+-9 ^Голов ком╕с╕╖ _______________________ ___________________ __________________\n\ посада пр╕звище, ╕. п. п╕дпис\n\
++9 ^Голов ком╕с╕╖ _______________________ ___________________ __________________\n\
++ посада пр╕звище, ╕. п. п╕дпис\n\
+ Члени ком╕с╕╖:_______________________ ___________________ __________________\n\
+ посада пр╕звище, ╕. п. п╕дпис\n\
+ _______________________ ___________________ __________________\n\
diff --git a/ukrainian/iceb/pkg-descr b/ukrainian/iceb/pkg-descr
new file mode 100644
index 000000000000..6bc86289b226
--- /dev/null
+++ b/ukrainian/iceb/pkg-descr
@@ -0,0 +1,16 @@
+Ukrainian accounting system with curses GUI.
+Hardware support:
+ - many cache registers
+ - bar-code scanners
+Includes:
+ - main book
+ - matheriasl accounting
+ - service accounting
+ - salary calculation
+ - payment documents
+ - cachier orders accounting
+
+WWW: http://www.iceb.vinnitsa.com/
+
+- Vadim Chekan
+vchekan@softline.kiev.ua
diff --git a/ukrainian/iceb/pkg-message b/ukrainian/iceb/pkg-message
new file mode 100644
index 000000000000..d7de3e37352b
--- /dev/null
+++ b/ukrainian/iceb/pkg-message
@@ -0,0 +1,7 @@
+1 Создайте базу при помощи sozsqlbaz,
+2 запустите dostup, дайте доступ к базе пользователям,
+3 скопируйте папку с настройками в папку с таким же именем,
+как имя созданой системы, например если имя системы bx:
+cd /usr/local/etc/iceb
+cp -r bx.sample bx
+4 запустите startxbu
diff --git a/ukrainian/iceb/pkg-plist b/ukrainian/iceb/pkg-plist
new file mode 100644
index 000000000000..ec3e11654613
--- /dev/null
+++ b/ukrainian/iceb/pkg-plist
@@ -0,0 +1,371 @@
+bin/cas
+bin/chiper
+bin/maria
+bin/mp
+bin/iceb_server
+bin/sozsqlbaz
+bin/dostup
+bin/startxbu
+bin/xbu
+bin/xmu
+bin/xdk
+bin/xzp
+bin/xuos
+bin/xusl
+bin/xkas
+bin/xpro
+bin/mariq
+bin/rozn
+bin/saldo
+bin/kassa
+bin/spec
+bin/uos23
+bin/alter
+bin/udtabl
+bin/vzsqlbaz
+bin/zagtab
+bin/klaviat
+bin/kalk
+etc/iceb/bx.sample/avtpro.alx
+etc/iceb/bx.sample/avtprodok.alx
+etc/iceb/bx.sample/avtprodokt.alx
+etc/iceb/bx.sample/avtprouslp.alx
+etc/iceb/bx.sample/avtprouslr.alx
+etc/iceb/bx.sample/banki.alx
+etc/iceb/bx.sample/blok.alx
+etc/iceb/bx.sample/blokdok.alx
+etc/iceb/bx.sample/blokmak.alx
+etc/iceb/bx.sample/bluos.alx
+etc/iceb/bx.sample/dokrozr.alx
+etc/iceb/bx.sample/gotivka1.alx
+etc/iceb/bx.sample/gotivka2.alx
+etc/iceb/bx.sample/kasblok.alx
+etc/iceb/bx.sample/kasorder.alx
+etc/iceb/bx.sample/kasorder2.alx
+etc/iceb/bx.sample/knigap1.alx
+etc/iceb/bx.sample/knigap2.alx
+etc/iceb/bx.sample/knigar1.alx
+etc/iceb/bx.sample/knigar2.alx
+etc/iceb/bx.sample/makkor.alx
+etc/iceb/bx.sample/matnast.alx
+etc/iceb/bx.sample/pp.alx
+etc/iceb/bx.sample/matzag.alx
+etc/iceb/bx.sample/nakl.alx
+etc/iceb/bx.sample/nakls.alx
+etc/iceb/bx.sample/nastdok.alx
+etc/iceb/bx.sample/nastrb.alx
+etc/iceb/bx.sample/nastsys.alx
+etc/iceb/bx.sample/platp.alx
+etc/iceb/bx.sample/platpor.alx
+etc/iceb/bx.sample/platt.alx
+etc/iceb/bx.sample/prais.alx
+etc/iceb/bx.sample/pt.alx
+etc/iceb/bx.sample/uosact.alx
+etc/iceb/bx.sample/uoskar.alx
+etc/iceb/bx.sample/uosnast.alx
+etc/iceb/bx.sample/uosrem.alx
+etc/iceb/bx.sample/uossas.alx
+etc/iceb/bx.sample/uossos.alx
+etc/iceb/bx.sample/uslkor.alx
+etc/iceb/bx.sample/uslnast.alx
+etc/iceb/bx.sample/uslugbl.alx
+etc/iceb/bx.sample/zar1-pv.alx
+etc/iceb/bx.sample/zaralim.alx
+etc/iceb/bx.sample/zarblok.alx
+etc/iceb/bx.sample/zardeti.alx
+etc/iceb/bx.sample/zardod13.alx
+etc/iceb/bx.sample/zardod15.alx
+etc/iceb/bx.sample/zardod9.alx
+etc/iceb/bx.sample/zardog.alx
+etc/iceb/bx.sample/zardolhn.alx
+etc/iceb/bx.sample/zarindex.alx
+etc/iceb/bx.sample/zarinv.alx
+etc/iceb/bx.sample/zarkalndr.alx
+etc/iceb/bx.sample/zarkredit.alx
+etc/iceb/bx.sample/zarlgot.alx
+etc/iceb/bx.sample/zarmatpm.alx
+etc/iceb/bx.sample/zarnast.alx
+etc/iceb/bx.sample/zarnpr.alx
+etc/iceb/bx.sample/zarpens.alx
+etc/iceb/bx.sample/zarperiod.alx
+etc/iceb/bx.sample/zarpodoh.alx
+etc/iceb/bx.sample/zarpodpr.alx
+etc/iceb/bx.sample/zarpodrk.alx
+etc/iceb/bx.sample/zarpodrs.alx
+etc/iceb/bx.sample/zarpodrv.alx
+etc/iceb/bx.sample/zarproc.alx
+etc/iceb/bx.sample/zarrlop.alx
+etc/iceb/bx.sample/zarshern.alx
+etc/iceb/bx.sample/zarsheta.alx
+etc/iceb/bx.sample/zarsootkn.alx
+etc/iceb/bx.sample/zarspsub.alx
+etc/iceb/bx.sample/zarveter.alx
+etc/iceb/bx.sample/zarzvanie.alx
+etc/iceb/doc//buhg.txt
+etc/iceb/doc//buhg0.txt
+etc/iceb/doc//buhg1.txt
+etc/iceb/doc//buhg2.txt
+etc/iceb/doc//buhg3.txt
+etc/iceb/doc//buhg3_1.txt
+etc/iceb/doc//buhg3_1_1.txt
+etc/iceb/doc//buhg3_2.txt
+etc/iceb/doc//buhg3_3.txt
+etc/iceb/doc//buhg3_4.txt
+etc/iceb/doc//buhg3_5.txt
+etc/iceb/doc//buhg3a.txt
+etc/iceb/doc//buhg4.txt
+etc/iceb/doc//buhg4_1.txt
+etc/iceb/doc//buhg4_2.txt
+etc/iceb/doc//buhg4_3.txt
+etc/iceb/doc//buhg4_4.txt
+etc/iceb/doc//buhg4_5.txt
+etc/iceb/doc//buhg4_6.txt
+etc/iceb/doc//buhg4_7.txt
+etc/iceb/doc//buhg5.txt
+etc/iceb/doc//buhg5_1.txt
+etc/iceb/doc//buhg5_1_1.txt
+etc/iceb/doc//buhg5_2.txt
+etc/iceb/doc//buhg5_3.txt
+etc/iceb/doc//buhg5_4.txt
+etc/iceb/doc//buhg6.txt
+etc/iceb/doc//buhg7.txt
+etc/iceb/doc//cvs.txt
+etc/iceb/doc//dokum1.txt
+etc/iceb/doc//dokum2.10.txt
+etc/iceb/doc//dokum2.txt
+etc/iceb/doc//dokum2_1.txt
+etc/iceb/doc//dokum2_11.txt
+etc/iceb/doc//dokum2_1_1.txt
+etc/iceb/doc//dokum2_1_2.txt
+etc/iceb/doc//dokum2_1_3.txt
+etc/iceb/doc//dokum2_2.txt
+etc/iceb/doc//dokum2_3.txt
+etc/iceb/doc//dokum2_4.txt
+etc/iceb/doc//dokum2_5.txt
+etc/iceb/doc//dokum2_6.txt
+etc/iceb/doc//dokum2_7.txt
+etc/iceb/doc//dokum2_8.txt
+etc/iceb/doc//dokum2_9.txt
+etc/iceb/doc//dokum4.txt
+etc/iceb/doc//epson.txt
+etc/iceb/doc//era_reset.txt
+etc/iceb/doc//indkod.txt
+etc/iceb/doc//kas.txt
+etc/iceb/doc//kas1.txt
+etc/iceb/doc//kas2.txt
+etc/iceb/doc//kas2_1.txt
+etc/iceb/doc//kas2_1_1.txt
+etc/iceb/doc//kas2_1_1_1.txt
+etc/iceb/doc//kas2_2.txt
+etc/iceb/doc//kas2_3.txt
+etc/iceb/doc//kas2_4.txt
+etc/iceb/doc//kas3.txt
+etc/iceb/doc//kas3_1.txt
+etc/iceb/doc//kas3_1_1.txt
+etc/iceb/doc//kas3_2.txt
+etc/iceb/doc//kas3_2_1.txt
+etc/iceb/doc//kas3_3.txt
+etc/iceb/doc//local.txt
+etc/iceb/doc//matu.txt
+etc/iceb/doc//matu1.txt
+etc/iceb/doc//matu2.txt
+etc/iceb/doc//matu2_1.txt
+etc/iceb/doc//matu2_1_1.txt
+etc/iceb/doc//matu2_1_2.txt
+etc/iceb/doc//matu2_1_2a.txt
+etc/iceb/doc//matu2_1_2b.txt
+etc/iceb/doc//matu2_1_2c.txt
+etc/iceb/doc//matu2_1_2d.txt
+etc/iceb/doc//matu2_1_2f.txt
+etc/iceb/doc//matu2_1_2g.txt
+etc/iceb/doc//matu2_1_2g1.txt
+etc/iceb/doc//matu2_1_2h.txt
+etc/iceb/doc//matu2_1_2j.txt
+etc/iceb/doc//matu2_1_2j1.txt
+etc/iceb/doc//matu2_1_2s.txt
+etc/iceb/doc//matu2_2.txt
+etc/iceb/doc//matu2_3.txt
+etc/iceb/doc//matu2_4.txt
+etc/iceb/doc//matu2_5.txt
+etc/iceb/doc//matu3.txt
+etc/iceb/doc//matu3_1.txt
+etc/iceb/doc//matu4.txt
+etc/iceb/doc//matu4_1.txt
+etc/iceb/doc//matu4_10.txt
+etc/iceb/doc//matu4_11.txt
+etc/iceb/doc//matu4_2.txt
+etc/iceb/doc//matu4_3.txt
+etc/iceb/doc//matu4_3_1.txt
+etc/iceb/doc//matu4_4.txt
+etc/iceb/doc//matu4_5.txt
+etc/iceb/doc//matu4_6.txt
+etc/iceb/doc//matu4_7.txt
+etc/iceb/doc//matu4_8.txt
+etc/iceb/doc//matu5.txt
+etc/iceb/doc//matu5_1.txt
+etc/iceb/doc//matu5_10.txt
+etc/iceb/doc//matu5_11.txt
+etc/iceb/doc//matu5_12.txt
+etc/iceb/doc//matu5_13.txt
+etc/iceb/doc//matu5_14.txt
+etc/iceb/doc//matu5_15.txt
+etc/iceb/doc//matu5_16.txt
+etc/iceb/doc//matu5_2.txt
+etc/iceb/doc//matu5_3.txt
+etc/iceb/doc//matu5_4.txt
+etc/iceb/doc//matu5_5.txt
+etc/iceb/doc//matu5_6.txt
+etc/iceb/doc//matu5_7.txt
+etc/iceb/doc//matu5_8.txt
+etc/iceb/doc//matu5_9.txt
+etc/iceb/doc//protkr.txt
+etc/iceb/doc//plat_new.txt
+etc/iceb/doc//rozn.txt
+etc/iceb/doc//rozn1.txt
+etc/iceb/doc//smenabaz.txt
+etc/iceb/doc//sort.txt
+etc/iceb/doc//spec.txt
+etc/iceb/doc//sqlinstall.txt
+etc/iceb/doc//start.txt
+etc/iceb/doc//uos.txt
+etc/iceb/doc//uos1.txt
+etc/iceb/doc//uos2.txt
+etc/iceb/doc//uos2_1.txt
+etc/iceb/doc//uos2_1_1.txt
+etc/iceb/doc//uos2_1_2.txt
+etc/iceb/doc//uos2_1_3.txt
+etc/iceb/doc//uos2_1_3_1.txt
+etc/iceb/doc//uos2_2.txt
+etc/iceb/doc//uos2_3.txt
+etc/iceb/doc//uos3.txt
+etc/iceb/doc//uos4.txt
+etc/iceb/doc//uos5.txt
+etc/iceb/doc//uos5_1.txt
+etc/iceb/doc//uos5_2.txt
+etc/iceb/doc//uos5_3.txt
+etc/iceb/doc//uos5_4.txt
+etc/iceb/doc//uos5_5.txt
+etc/iceb/doc//uos5_6.txt
+etc/iceb/doc//uos5_7.txt
+etc/iceb/doc//uos5_8.txt
+etc/iceb/doc//uos5_9.txt
+etc/iceb/doc//uos6.txt
+etc/iceb/doc//uos7.txt
+etc/iceb/doc//uos8.txt
+etc/iceb/doc//usl.txt
+etc/iceb/doc//usl1.txt
+etc/iceb/doc//usl2.txt
+etc/iceb/doc//usl2_1.txt
+etc/iceb/doc//usl2_1_1.txt
+etc/iceb/doc//usl2_1_1_1.txt
+etc/iceb/doc//usl2_1_1_2.txt
+etc/iceb/doc//usl2_2.txt
+etc/iceb/doc//usl2_3.txt
+etc/iceb/doc//usl2_4.txt
+etc/iceb/doc//usl3.txt
+etc/iceb/doc//usl3_1.txt
+etc/iceb/doc//usl3_2.txt
+etc/iceb/doc//usl3_3.txt
+etc/iceb/doc//usl3_4.txt
+etc/iceb/doc//usl3_5.txt
+etc/iceb/doc//usl4.txt
+etc/iceb/doc//usl4_1.txt
+etc/iceb/doc//usl4_2.txt
+etc/iceb/doc//usl4_3.txt
+etc/iceb/doc//zarp.txt
+etc/iceb/doc//zarp1.txt
+etc/iceb/doc//zarp2.txt
+etc/iceb/doc//zarp2_1.txt
+etc/iceb/doc//zarp2_1_1.txt
+etc/iceb/doc//zarp2_1_1_1.txt
+etc/iceb/doc//zarp2_2.txt
+etc/iceb/doc//zarp2_2_1.txt
+etc/iceb/doc//zarp2_3.txt
+etc/iceb/doc//zarp2_4.txt
+etc/iceb/doc//zarp2_5.txt
+etc/iceb/doc//zarp2_6.txt
+etc/iceb/doc//zarp2_6_1.txt
+etc/iceb/doc//zarp2_6_2.txt
+etc/iceb/doc//zarp2_7.txt
+etc/iceb/doc//zarp2_8.txt
+etc/iceb/doc//zarp2_8_1.txt
+etc/iceb/doc//zarp2_8_1_1.txt
+etc/iceb/doc//zarp2_8_1_2.txt
+etc/iceb/doc//zarp2_9.txt
+etc/iceb/doc//zarp2_8_1_3.txt
+etc/iceb/doc//zarp3.txt
+etc/iceb/doc//zarp3_1_1.txt
+etc/iceb/doc//zarp3_1_10.txt
+etc/iceb/doc//zarp3_1_11.txt
+etc/iceb/doc//zarp3_1_12.txt
+etc/iceb/doc//zarp3_1_13.txt
+etc/iceb/doc//zarp3_1_14.txt
+etc/iceb/doc//zarp3_1_2.txt
+etc/iceb/doc//zarp3_1_3.txt
+etc/iceb/doc//zarp3_1_4.txt
+etc/iceb/doc//zarp3_1_5.txt
+etc/iceb/doc//zarp3_1_6.txt
+etc/iceb/doc//zarp3_1_7.txt
+etc/iceb/doc//zarp3_1_8.txt
+etc/iceb/doc//zarp3_1_9.txt
+etc/iceb/doc//zarp4.txt
+etc/iceb/doc//zarp4_1.txt
+etc/iceb/doc//zarp4_1_1.txt
+etc/iceb/doc//zarp4_1_2.txt
+etc/iceb/doc//zarp4_1_3.txt
+etc/iceb/doc//zarp4_2.txt
+etc/iceb/doc//zarp4_2_1.txt
+etc/iceb/doc//zarp4_2_2.txt
+etc/iceb/doc//zarp4_2_3.txt
+etc/iceb/doc//zarp4_3.txt
+etc/iceb/doc//zarp4_3_1.txt
+etc/iceb/doc//zarp4_3_10.txt
+etc/iceb/doc//zarp4_3_11.txt
+etc/iceb/doc//zarp4_3_12.txt
+etc/iceb/doc//zarp4_3_13.txt
+etc/iceb/doc//zarp4_3_1_1.txt
+etc/iceb/doc//zarp4_3_2.txt
+etc/iceb/doc//zarp4_3_3.txt
+etc/iceb/doc//zarp4_3_4.txt
+etc/iceb/doc//zarp4_3_5.txt
+etc/iceb/doc//zarp4_3_6.txt
+etc/iceb/doc//zarp4_3_7.txt
+etc/iceb/doc//zarp4_3_8.txt
+etc/iceb/doc//zarp4_3_9.txt
+etc/iceb/doc//zarp4_4.txt
+etc/iceb/doc//zarp4_4_1.txt
+etc/iceb/doc//zarp4_5.txt
+etc/iceb/doc//zarp4_6.txt
+etc/iceb/doc//zarp4_5_1.txt
+etc/iceb/doc//zarp4_5_2.txt
+etc/iceb/doc//zarp4_7.txt
+etc/iceb/doc//zarp4_7_1.txt
+etc/iceb/doc//zarp4_7_1_1.txt
+etc/iceb/doc//zarp4_7_1_2.txt
+etc/iceb/doc//zarp4_7_1_2_1.txt
+etc/iceb/doc//zarp4_7_1_2_2.txt
+etc/iceb/doc//zarp4_7_2.txt
+etc/iceb/doc//zarp4_7_3.txt
+etc/iceb/doc//zarp4_7_4.txt
+etc/iceb/doc//zarp4_7_5.txt
+etc/iceb/doc//zarp4_7_6.txt
+etc/iceb/doc//zarp4_7_7.txt
+etc/iceb/doc//zarp4_7_8.txt
+etc/iceb/doc//zarp4_8.txt
+lib/libconfig.la
+lib/libconfig.a
+lib/libsql.la
+lib/libsql.a
+lib/libscr.la
+lib/libscr.a
+lib/libdev.la
+lib/libdev.a
+lib/libutil.la
+lib/libutil.a
+lib/libbuh.la
+lib/libbuh.a
+share/nls/uk_UA.KOI8-U/LC_MESSAGES/iceb.mo
+@dirrm etc/iceb/bx.sample
+@dirrm etc/iceb/doc
+@dirrm etc/iceb
+@dirrm share/nls/uk_UA.KOI8-U/LC_MESSAGES