--- dictconv-0.2.orig/debian/docs
+++ dictconv-0.2/debian/docs
@@ -0,0 +1,3 @@
+NEWS
+README
+TODO
--- dictconv-0.2.orig/debian/watch
+++ dictconv-0.2/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/ktranslator/dictconv-(.*)\.tar\.bz2
--- dictconv-0.2.orig/debian/compat
+++ dictconv-0.2/debian/compat
@@ -0,0 +1 @@
+5
--- dictconv-0.2.orig/debian/copyright
+++ dictconv-0.2/debian/copyright
@@ -0,0 +1,37 @@
+This package was debianized by Francesco Namuri <francesco@namuri.it> on
+Sat, 21 Jul 2007 17:41:30 +0200.
+
+It was downloaded from http://ktranslator.sourceforge.net/
+
+Upstream Author:
+
+    Raul Fernandes <rgfbr@yahoo.com.br>
+
+Copyright:
+
+    Copyright (C) 2007 Raul Fernandes
+    Copyright (C) 2007 Raul Fernandes and Karl Grill
+    Copyright (C) 1996-2001 Free Software Foundation, Inc.
+    Copyright (C) 1991 Massachusetts Institute of Technology
+
+License:
+
+    This package is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    This package is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this package; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
+The Debian packaging is (C) 2007, Francesco Namuri <francesco@namuri.it> and
+is licensed under the GPL, see above.
--- dictconv-0.2.orig/debian/changelog
+++ dictconv-0.2/debian/changelog
@@ -0,0 +1,62 @@
+dictconv (0.2-7.4.201403192358) ucs4-0-0-0; urgency=low
+
+  * UCS auto build. No patches were applied to the original source package
+
+ -- Univention builddaemon <buildd@univention.de>  Wed, 19 Mar 2014 23:58:10 +0100
+
+dictconv (0.2-7) unstable; urgency=low
+
+  * debian/rules: added simple-patchsys include.
+  * added debian/patches/fixes-for-gcc-4.3.patch to solve compilation problems
+    with gcc-4.3. (Closes: #486954)
+  * debian/control: added build-dep on patchutils.
+  * debian/control: Updated Standards-Version to 3.8.0, no modifications
+    needed.
+
+ -- Francesco Namuri <francesco@namuri.it>  Thu, 19 Jun 2008 15:00:42 +0200
+
+dictconv (0.2-6) unstable; urgency=low
+
+  * Fixed the original tarball (in the previous version I' ve made a wrong
+    conversion from bz2 to gz). thanks to Nelson A. de Oliveira.
+  * debian/control: fixed the long description, added recommend on dictzip.
+
+ -- Francesco Namuri <francesco@namuri.it>  Tue, 03 Jun 2008 23:52:50 +0200
+
+dictconv (0.2-5) unstable; urgency=low
+
+  * debian/control: changed priority from extra to optional.
+
+ -- Francesco Namuri <francesco@namuri.it>  Sun, 10 Feb 2008 13:01:41 +0100
+
+dictconv (0.2-4) unstable; urgency=low
+
+  * remove useless debian/dirs.
+  * debian/control: updated Standards-Version to 3.7.3.
+
+ -- Francesco Namuri <francesco@namuri.it>  Sat, 09 Feb 2008 13:50:50 +0100
+
+dictconv (0.2-3) unstable; urgency=low
+
+  * debian/copyright: added information about Karl Grill.
+  * debian/menu: removed because useless (this is a non interactive
+    application)
+
+ -- Francesco Namuri <francesco@namuri.it>  Fri, 23 Nov 2007 12:41:44 +0100
+
+dictconv (0.2-2) unstable; urgency=low
+
+  * debian/watch, debian/rules: removed uneeded blank lines.
+  * debian/control: moved "Homepage:" from description to new dpkg field,
+    fixed typos.
+  * debian/dictconv.1: fixed NAME section.
+  * debian/copyright: fixed typos.
+
+ -- Francesco Namuri <francesco@namuri.it>  Tue, 09 Oct 2007 11:11:25 +0200
+
+dictconv (0.2-1) unstable; urgency=low
+
+  * Initial release. (Closes: #435814)
+
+ -- Francesco Namuri <francesco@namuri.it>  Sat, 21 Jul 2007 17:41:30 +0200
+
--- dictconv-0.2.orig/debian/control
+++ dictconv-0.2/debian/control
@@ -0,0 +1,18 @@
+Source: dictconv
+Section: utils
+Priority: optional
+Maintainer: Francesco Namuri <francesco@namuri.it>
+Build-Depends: cdbs, debhelper (>= 5), autotools-dev, libxml2-dev, zlib1g-dev, patchutils
+Standards-Version: 3.8.0
+Homepage: http://ktranslator.sourceforge.net/
+
+Package: dictconv
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Recommends: dictzip
+Description: convert a dictionary file type in another dictionary file type
+ Dictconv is a small program to convert a dictionay file type in another
+ dictionary file type. Currently, it supports converting from Babylon
+ glossaries, Freedict dictionaries, Sdictionary dictionaries and Stardict
+ dictionaries to DICT dictionaries, plain text dictionaries and StarDict
+ dictionaries. More file types will be added in new versions.
--- dictconv-0.2.orig/debian/dictconv.1
+++ dictconv-0.2/debian/dictconv.1
@@ -0,0 +1,73 @@
+.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.36.
+.TH "DICTCONV" "1" "July 2007" "Francesco Namuri" "User Commands"
+.SH "NAME"
+DictConv: \- dictionary file converter
+.SH "SYNOPSIS"
+.B dictconv
+[\fI\-hv\fR] \fI\-o OUTPUT_FILE INPUT_FILE\fR
+.SH "DESCRIPTION"
+Convert INPUT_FILE dictionary to OUTPUT_FILE dictionary.
+The extension of file determines the dictionary type.
+.TP 
+\fB\-o\fR
+OUTPUT_FILE       path to target dictionary
+.TP 
+INPUT_FILE
+path to source dictionary
+.TP 
+\fB\-h\fR
+print help message and exit
+.TP 
+\-?
+print help message and exit
+.TP 
+\fB\-v\fR
+shows the version information and exit
+.SS "INPUT_FILE can be:"
+.IP 
+Babylon Glossary (.bgl)
+Freedict dictionary (.tei)
+Sdictionary dictionary (.dct)
+StarDict dictionary (.ifo)
+.SS "OUTPUT_FILE can be:"
+.IP 
+DICT dictionary (.index)
+PlainText dictionary (.dic)
+StarDict dictionary (.ifo)
+.PP 
+Convert INPUT_FILE dictionary to OUTPUT_FILE dictionary.
+The extension of file determines the dictionary type.
+.TP 
+\fB\-o\fR
+OUTPUT_FILE       path to target dictionary
+.TP 
+INPUT_FILE
+path to source dictionary
+.TP 
+\fB\-h\fR
+print help message and exit
+.TP 
+\-?
+print help message and exit
+.TP 
+\fB\-v\fR
+shows the version information and exit
+.SS "INPUT_FILE can be:"
+.IP 
+Babylon Glossary (.bgl)
+Freedict dictionary (.tei)
+Sdictionary dictionary (.dct)
+StarDict dictionary (.ifo)
+.SS "OUTPUT_FILE can be:"
+.IP 
+DICT dictionary (.index)
+PlainText dictionary (.dic)
+StarDict dictionary (.ifo)
+.SH "SEE ALSO"
+DictConv homepage: http://ktranslator.sourceforge.net/
+
+The GNU General Public License.
+.SH "AUTHOR"
+DictConv was written by Raul Fernandes <rgfbr@yahoo.com.br>.
+
+This manual page was written by Francesco Namuri with help2man tool.
--- dictconv-0.2.orig/debian/rules
+++ dictconv-0.2/debian/rules
@@ -0,0 +1,5 @@
+#!/usr/bin/make -f
+DEB_INSTALL_MANPAGES_dictconv := debian/dictconv.1
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
--- dictconv-0.2.orig/debian/patches/fixes-for-gcc-4.3.patch
+++ dictconv-0.2/debian/patches/fixes-for-gcc-4.3.patch
@@ -0,0 +1,98 @@
+diff -Nur -x '*.orig' -x '*~' dictconv-0.2/src/babylon.cpp dictconv-0.2.new/src/babylon.cpp
+--- dictconv-0.2/src/babylon.cpp	2007-03-02 16:43:00.000000000 +0100
++++ dictconv-0.2.new/src/babylon.cpp	2008-06-19 14:45:55.000000000 +0200
+@@ -22,6 +22,7 @@
+ 
+ #include<stdlib.h>
+ #include<stdio.h>
++#include<cstring>
+ 
+ #include <iconv.h>
+ 
+diff -Nur -x '*.orig' -x '*~' dictconv-0.2/src/dictdbuilder.cpp dictconv-0.2.new/src/dictdbuilder.cpp
+--- dictconv-0.2/src/dictdbuilder.cpp	2007-02-25 15:33:33.000000000 +0100
++++ dictconv-0.2.new/src/dictdbuilder.cpp	2008-06-19 14:47:55.000000000 +0200
+@@ -19,7 +19,7 @@
+  ***************************************************************************/
+ 
+ #include "dictdbuilder.h"
+-
++#include <cstring>
+ #include <iostream>
+ 
+ DictdBuilder::DictdBuilder( std::string filename )
+diff -Nur -x '*.orig' -x '*~' dictconv-0.2/src/dictdbuilder.h dictconv-0.2.new/src/dictdbuilder.h
+--- dictconv-0.2/src/dictdbuilder.h	2007-02-25 15:33:33.000000000 +0100
++++ dictconv-0.2.new/src/dictdbuilder.h	2008-06-19 14:51:19.000000000 +0200
+@@ -22,6 +22,8 @@
+ 
+ #include "dictbuilder.h"
+ 
++#include <sys/types.h>
++
+ #include <map>
+ #include <fstream>
+ 
+diff -Nur -x '*.orig' -x '*~' dictconv-0.2/src/plaintextdictbuilder.h dictconv-0.2.new/src/plaintextdictbuilder.h
+--- dictconv-0.2/src/plaintextdictbuilder.h	2007-02-19 18:22:48.000000000 +0100
++++ dictconv-0.2.new/src/plaintextdictbuilder.h	2008-06-19 14:51:13.000000000 +0200
+@@ -23,6 +23,8 @@
+ 
+ #include "dictbuilder.h"
+ 
++#include <sys/types.h>
++
+ #include <fstream>
+ #include <map>
+ 
+diff -Nur -x '*.orig' -x '*~' dictconv-0.2/src/sdict.h dictconv-0.2.new/src/sdict.h
+--- dictconv-0.2/src/sdict.h	2007-02-17 15:48:04.000000000 +0100
++++ dictconv-0.2.new/src/sdict.h	2008-06-19 14:52:26.000000000 +0200
+@@ -24,6 +24,8 @@
+ #include <fstream>
+ #include <vector>
+ 
++#include <sys/types.h>
++
+ using namespace std;
+ 
+ typedef unsigned char uchar;
+diff -Nur -x '*.orig' -x '*~' dictconv-0.2/src/stardictbuilder.h dictconv-0.2.new/src/stardictbuilder.h
+--- dictconv-0.2/src/stardictbuilder.h	2007-02-17 15:48:04.000000000 +0100
++++ dictconv-0.2.new/src/stardictbuilder.h	2008-06-19 14:57:33.000000000 +0200
+@@ -25,6 +25,8 @@
+ #include <map>
+ #include <fstream>
+ 
++#include <cstdlib>
++
+ class StarDictBuilder : public DictBuilder
+ {
+ 
+diff -Nur -x '*.orig' -x '*~' dictconv-0.2/src/stardict.cpp dictconv-0.2.new/src/stardict.cpp
+--- dictconv-0.2/src/stardict.cpp	2007-02-17 15:48:04.000000000 +0100
++++ dictconv-0.2.new/src/stardict.cpp	2008-06-19 14:55:59.000000000 +0200
+@@ -21,6 +21,11 @@
+ 
+ #include <zlib.h>
+ 
++#include <cstring>
++
++#include <cstdlib>
++
++
+ #define CHUNK 0xffffL
+ 
+ StarDict::StarDict( const char *filename )
+diff -Nur -x '*.orig' -x '*~' dictconv-0.2/src/stardict.h dictconv-0.2.new/src/stardict.h
+--- dictconv-0.2/src/stardict.h	2007-02-17 15:48:04.000000000 +0100
++++ dictconv-0.2.new/src/stardict.h	2008-06-19 14:53:42.000000000 +0200
+@@ -24,6 +24,8 @@
+ #include <fstream>
+ #include <vector>
+ 
++#include <sys/types.h>
++
+ using namespace std;
+ 
+ /**
