--- eancheck-1.0.orig/eancheck.cpp
+++ eancheck-1.0/eancheck.cpp
@@ -24,10 +24,12 @@
 check digits and another to generate them for a given EAN.
 */
 
-#include <iostream.h>
+#include <iostream>
 #include <stdlib.h>
 #include <string.h>
 
+using namespace std;
+
 int main(int argc, char *argv[]) {
  
  if (argc == 1)
--- eancheck-1.0.orig/debian/copyright
+++ eancheck-1.0/debian/copyright
@@ -0,0 +1,15 @@
+This package was debianized by Joe Baldwin <joe@joe-baldwin.net> on
+Sun, 07 Jan 2007 19:16:14 +0000.
+
+It was downloaded from: http://joe-baldwin.net/eancheck
+
+Upstream author: Joe Baldwin <joe@joe-baldwin.net>
+
+This software is copyright (c) 2006-7 by Joe Baldwin
+
+LICENSE INFORMATION: I don't give a flying f*ck what you do with this
+program or its code. Really. I don't care. Not one bit. Use it in
+a program, change the code, redistribute the code (changed or not
+changed...whatever). You're allowed to do anything and everything
+with it. Maybe Windows Vista will include a "Check EAN
+check digit" function, based on this. I very much doubt it.
--- eancheck-1.0.orig/debian/changelog
+++ eancheck-1.0/debian/changelog
@@ -0,0 +1,18 @@
+eancheck (1.0-1.1.4.201403210448) ucs4-0-0-0; urgency=low
+
+  * UCS auto build. No patches were applied to the original source package
+
+ -- Univention builddaemon <buildd@univention.de>  Fri, 21 Mar 2014 04:48:27 +0100
+
+eancheck (1.0-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with GCC 4.3 (Closes: #461702).
+
+ -- Luk Claes <luk@debian.org>  Sun, 09 Mar 2008 18:36:38 +0000
+
+eancheck (1.0-1) unstable; urgency=low
+
+  * Initial release.
+
+ -- Joe Baldwin <joe@joe-baldwin.net>  Sun,  7 Jan 2007 19:39:07 +0000
--- eancheck-1.0.orig/debian/control
+++ eancheck-1.0/debian/control
@@ -0,0 +1,14 @@
+Source: eancheck
+Section: misc
+Priority: optional
+Maintainer: Joe Baldwin <joe@joe-baldwin.net>
+Standards-Version: 3.7.2
+Build-Depends: debhelper (>= 5)
+
+Package: eancheck
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Check digit validator for EAN/PLU/UPC barcode numbers
+ Eancheck is a simple program for checking EAN, PLU and UPC check
+ digits. It also includes a header file for incorporating such
+ functions into your own programs.
--- eancheck-1.0.orig/debian/rules
+++ eancheck-1.0/debian/rules
@@ -0,0 +1,61 @@
+#!/usr/bin/make -f
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+#This is the debhelper compatibility version to use.
+export DH_COMPAT=5
+
+CFLAGS = -g
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+CFLAGS += -O0
+else
+CFLAGS += -O2
+endif
+
+build: build-stamp
+
+build-stamp:
+	dh_testdir
+	
+	$(MAKE)
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+
+	-$(MAKE) clean
+
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	$(MAKE) install PREFIX=$(CURDIR)/debian/eancheck/usr
+
+binary-indep: build install
+
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs
+	dh_installchangelogs
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
