--- zeroc-icee-translators-1.2.0.orig/debian/changelog +++ zeroc-icee-translators-1.2.0/debian/changelog @@ -0,0 +1,103 @@ +zeroc-icee-translators (1.2.0-6) unstable; urgency=low + + * Added patch from Petr Salinger to fix FTBFS on GNU/kFreeBSD (Closes: + #497885). + * Added Replaces/Conflicts with icecpp for easier transition. + + -- Francisco Moya Thu, 28 Aug 2008 15:42:37 +0200 + +zeroc-icee-translators (1.2.0-5) unstable; urgency=low + + * Reorganization of binary packages to reduce overhead. Now icecpp is + also included in icee-translators since Ice 3.3 no longer uses it. + + -- Francisco Moya Thu, 07 Aug 2008 21:57:02 +0200 + +zeroc-icee-translators (1.2.0-4) unstable; urgency=low + + * Added missing includes to fix FTBFS with gcc4.3 (Closes: #455185) + + -- Francisco Moya Thu, 13 Dec 2007 12:57:29 +0100 + +zeroc-icee-translators (1.2.0-3) unstable; urgency=low + + * Honor previous DEB_BUILD_OPTIONS contents (Closes: #438365) + * Fix hyphen/minus issues in manpages (lintian) + + -- Francisco Moya Thu, 16 Aug 2007 16:34:38 +0200 + +zeroc-icee-translators (1.2.0-2) unstable; urgency=low + + * A patch was missing causing FTBS bug (Closes: #424473) + * Fixed FTBS if built twice in a row (Closes: #424082) + + -- Francisco Moya Wed, 16 May 2007 11:11:21 +0200 + +zeroc-icee-translators (1.2.0-1) unstable; urgency=low + + * New upstream release + + -- Francisco.Moya Sat, 12 May 2007 23:51:22 +0200 + +zeroc-icee-translators (1.1.0-6) unstable; urgency=low + + * Fixed FTBFS bug with gcc 4.3 by Martin Michlmayr (Closes: #417790) + + -- Francisco Moya Sun, 8 Apr 2007 20:51:51 +0200 + +zeroc-icee-translators (1.1.0-5) unstable; urgency=low + + * Fixed missing common compiler flags. + + -- Francisco Moya Thu, 22 Mar 2007 19:31:45 +0100 + +zeroc-icee-translators (1.1.0-4) unstable; urgency=low + + * Closes #414221: FTBFS on GNU/kFreeBSD: needed OS detection. + * Trying similar hack to build on Debian GNU/Hurd. + + -- Francisco Moya Mon, 12 Mar 2007 11:59:30 +0100 + +zeroc-icee-translators (1.1.0-3) unstable; urgency=low + + * Updated standards compliance. + * Packaging improvements (watch file). + + -- Francisco Moya Mon, 25 Sep 2006 05:45:56 +0200 + +zeroc-icee-translators (1.1.0-2) unstable; urgency=low + + * Patch by LaMont Jones to support all linux/glibc + architectures (Closes: #361394). + + -- Francisco Moya Thu, 13 Apr 2006 12:40:34 +0200 + +zeroc-icee-translators (1.1.0-1) unstable; urgency=low + + * Patch from Martin Michlmayr to support MIPS (Closes: #357890). + * Changed man pages to reflect that user manual is distributed as a + non-free package. + * New upstream release (Closes: #357891). + + -- Francisco Moya Mon, 20 Mar 2006 11:49:39 +0100 + +zeroc-icee-translators (1.0.0-3) unstable; urgency=low + + * Corrected some Debian policy violations. + + -- Francisco Moya Mon, 9 Jan 2006 19:44:06 +0100 + +zeroc-icee-translators (1.0.0-2) unstable; urgency=low + + * Added man pages for all binaries. + + * Upload sponsored by Jose M. Moya (closes #343827) + + -- Francisco Moya Fri, 16 Dec 2005 22:36:52 +0100 + +zeroc-icee-translators (1.0.0-1) unstable; urgency=low + + * Initial release. + + -- Francisco Moya Sat, 19 Nov 2005 23:18:58 +0100 + --- zeroc-icee-translators-1.2.0.orig/debian/compat +++ zeroc-icee-translators-1.2.0/debian/compat @@ -0,0 +1 @@ +4 --- zeroc-icee-translators-1.2.0.orig/debian/copyright +++ zeroc-icee-translators-1.2.0/debian/copyright @@ -0,0 +1,118 @@ +This package was debianized by Paco Moya on Sat, 6 +Aug 2005 10:49:04 +0200. + +It was downloaded from http://www.zeroc.com/ + +ZeroC IceE package is distributed as a whole under the GPL version 2 +with a special exception to allow linking against OpenSSL. + +Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. + + This copy of Ice is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License version + 2 as published by the Free Software Foundation. + + Ice 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. + + The GNU General Public License is often shipped with GNU software, + and is generally kept in a file called COPYING or LICENSE. If you do + not have a copy of the license, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 + USA. + + In addition, as a special exception, ZeroC, Inc. gives permission to + link Ice with the OpenSSL library (or with modified versions of + OpenSSL that use the same license as OpenSSL), and distribute linked + combinations including the two. You must obey the GNU General Public + License version 2 in all respects for all of the code used other + than OpenSSL. If you modify this copy of Ice, you may extend this + exception to your version of Ice, but you are not obligated to do + so. If you do not wish to do so, delete this exception statement + from your version. + +On Debian systems, the complete text of the GNU General +Public License can be found in /usr/share/common-licenses/GPL-2. + +The copyright owners of some files in the source distribution differ +and in some cases special distribution terms are allowed. To the best +of our knowledge these terms are compatible with the distribution of +ICE under the GPL as a derived product. All these exceptions are +detailed below. + +* src/icecpp/ + +These files are just a slightly modified version of the GNU C preprocessor. +The precise copyright terms follows: + + C Compatible Compiler Preprocessor (CCCP) + Copyright (C) 1986, 87, 89, 92-97, 1998 Free Software Foundation, Inc. + Written by Paul Rubin, June 1986 + Adapted to ANSI C, Richard Stallman, Jan 1987 + + This program 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, or (at your option) any + later version. + + This program 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 program; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 + USA. + +Note that there is no conflict with the OpenSSL linking clause since +icecpp is a standalone application that is not linked against OpenSSL. + +* Bison parsers + +The following files in the source distribution are YACC compatible +grammar specifications. Upstream authors also distribute the GNU Bison +output for each of these files in order to optionally reduce build +dependencies. + +src/Slice/Grammar.y +src/icecpp/cexp.y + +GNU Bison output is unrestricted since version 1.24. The precise terms +follows: + + As a special exception, when this file is copied by Bison into a + Bison output file, you may use that output file without restriction. + This special exception was added by the Free Software Foundation + in version 1.24 of Bison. + +* src/IceUtil/MD5I.{h,cpp} + +These files implement MD5 algorithm as defined in RFC 1321. They are +covered by the following terms (BSD-like without advertising clause). + + Copyright (C) 1999, 2002 Aladdin Enterprises. All rights reserved. + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + + L. Peter Deutsch + ghost@aladdin.com + +To the best of our knowledge these terms are entirely compatible with +the distribution of the whole ICE package under the GPL. --- zeroc-icee-translators-1.2.0.orig/debian/slice2cppe.1 +++ zeroc-icee-translators-1.2.0/debian/slice2cppe.1 @@ -0,0 +1,30 @@ +.\" slice2cppe.1 -- +.\" Created: Thu, 15 Dec 2005 22:09:31 +0100 +.\" +.TH "SLICE2CPPE" "1" "2008-08-07" "Francisco Moya" "ZeroC IceE 1.2" +.SH "NAME" +slice2cppe \- translate Slice to IceE for C++ (embedded edition) +.SH "SYNOPSIS" +.B slice2cppe [OPTIONS]... FILES... +.SH "DESCRIPTION" +.PP +Slice to C++ compiler for the embedded edition of ZeroC Ice middleware. +.PP +This tool is similar to slice2cpp. Full documentation of slice2cpp is available online at +.I http://www.zeroc.com/doc/Ice\-3.3.0/manual/Cpp.7.15.html +.PP +Alternatively you may find the same information in the non\-free package zeroc\-ice\-manual. +.SH "COPYRIGHT" +This man page is Copyright (C) 2008 Francisco Moya. License GPLv3+: GNU GPL version 3 or later +.PP +This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. +.PP +The text of GPLv3 is also available in /usr/share/common\-licenses/GPL\-3 +.SH "SEE ALSO" +.PP +Please, for further information refer to +.I Distributed Programming with Ice +by Michi Henning, Mark Spruiell, et al. available as a PDF file in the non\-free package +.B zeroc\-ice\-manual +or browse it online at +.I http://www.zeroc.com/doc/Ice\-3.3.0/manual/ --- zeroc-icee-translators-1.2.0.orig/debian/slice2javae.1 +++ zeroc-icee-translators-1.2.0/debian/slice2javae.1 @@ -0,0 +1,30 @@ +.\" slice2javae.1 -- +.\" Created: Thu, 15 Dec 2005 22:09:31 +0100 +.\" +.TH "SLICE2JAVAE" "1" "2008-08-07" "Francisco Moya" "ZeroC IceE 1.2" +.SH "NAME" +slice2javae \- translate Slice to IceE for Java (embedded edition) +.SH "SYNOPSIS" +.B slice2javae [OPTIONS]... FILES... +.SH "DESCRIPTION" +.PP +Slice to Java compiler for the embedded edition of ZeroC Ice middleware. +.PP +This tool is similar to slice2java. Full documentation of slice2java is available online at +.I http://www.zeroc.com/doc/Ice\-3.3.0/manual/Java.11.16.html +.PP +Alternatively you may find the same information in the non\-free package zeroc\-ice\-manual. +.SH "COPYRIGHT" +This man page is Copyright (C) 2008 Francisco Moya. License GPLv3+: GNU GPL version 3 or later +.PP +This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. +.PP +The text of GPLv3 is also available in /usr/share/common\-licenses/GPL\-3 +.SH "SEE ALSO" +.PP +Please, for further information refer to +.I Distributed Programming with Ice +by Michi Henning, Mark Spruiell, et al. available as a PDF file in the non\-free package +.B zeroc\-ice\-manual +or browse it online at +.I http://www.zeroc.com/doc/Ice\-3.3.0/manual/ --- zeroc-icee-translators-1.2.0.orig/debian/watch +++ zeroc-icee-translators-1.2.0/debian/watch @@ -0,0 +1,3 @@ +# watch file for uscan +version=2 +http://www.zeroc.com/icee/download.html#src (?:.*/)?IceE-trans-?_?([\w+\d+\.]+|\d+)(?:\.tar|\.tgz)(?:\.gz|\.bz2|) debian uupdate --- zeroc-icee-translators-1.2.0.orig/debian/icee-translators.install +++ zeroc-icee-translators-1.2.0/debian/icee-translators.install @@ -0,0 +1,3 @@ +usr/bin/slice2cppe +usr/bin/slice2javae +usr/bin/icecpp --- zeroc-icee-translators-1.2.0.orig/debian/icee-translators.manpages +++ zeroc-icee-translators-1.2.0/debian/icee-translators.manpages @@ -0,0 +1,3 @@ +debian/slice2cppe.1 +debian/slice2javae.1 +debian/icecpp.1 --- zeroc-icee-translators-1.2.0.orig/debian/icecpp.1 +++ zeroc-icee-translators-1.2.0/debian/icecpp.1 @@ -0,0 +1,28 @@ +.\" icecpp.1 -- +.\" Created: Thu, 15 Dec 2005 22:09:31 +0100 +.\" +.TH "ICECPP" "1" "2008-08-07" "Francisco Moya" "ZeroC IceE 1.2" +.SH "NAME" +icecpp \- Slice preprocessor +.SH "SYNOPSIS" +.B icecpp [OPTIONS] +.SH "DESCRIPTION" +Slice preprocessor derived from GNU GCC preprocessor used implicitly by the Slice +translators released before Ice 3.3. Current Slice translators use +.B mcpp. +Only a small subset of GNU preprocessing directives are officially supported +in Slice. +.SH "OPTIONS" +Currently +.B icecpp +is a renamed GNU GCC preprocessor. Therefore it accepts all of the command\-line +arguments of the GNU GCC preprocessor. Refer to cpp(1) for further information. + +.SH "COPYRIGHT" +This man page is Copyright (C) 2008 Francisco Moya. License GPLv3+: GNU GPL version 3 or later +.PP +This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. +.PP +The text of GPLv3 is also available in /usr/share/common\-licenses/GPL\-3 +.SH "SEE ALSO" +cpp(1), slice2cppe(1), slice2javae(1). --- zeroc-icee-translators-1.2.0.orig/debian/rules +++ zeroc-icee-translators-1.2.0/debian/rules @@ -0,0 +1,27 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +DEB_MAKE_CLEAN_TARGET := clean +DEB_MAKE_BUILD_TARGET := all prefix=/usr +DEB_MAKE_INSTALL_TARGET := install prefix=$(CURDIR)/debian/tmp/usr +DEB_MAKE_CHECK_TARGET := +DEB_BUILD_OPTIONS += nocheck +DEB_DH_INSTALL_SOURCEDIR := debian/tmp + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk +include /usr/share/cdbs/1/class/makefile.mk + +DEB_MAKE_INVOKE := $(DEB_MAKE_ENVVARS) make OPTIMIZE=yes LDPLATFORMFLAGS= UNAME=$(shell uname | tr '/' '_') + +# Debian GNU/kFreeBSD seems to build OK using the Linux rules +# Debian GNU/Hurd should also build OK using the Linux rules +pre-build:: + -mkdir -p debian/tmp/usr lib bin + ln -sf Make.rules.Linux config/Make.rules.GNU_kFreeBSD + ln -sf Make.rules.Linux config/Make.rules.GNU + +clean:: + $(RM) config/Make.rules.GNU + $(RM) config/Make.rules.GNU_kFreeBSD + --- zeroc-icee-translators-1.2.0.orig/debian/control +++ zeroc-icee-translators-1.2.0/debian/control @@ -0,0 +1,20 @@ +Source: zeroc-icee-translators +Section: devel +Priority: optional +Maintainer: Francisco Moya +Build-Depends: cdbs (>= 0.4.43), debhelper (>= 4.2.0) +Standards-Version: 3.8.0 +Homepage: http://www.zeroc.com/ + +Package: icee-translators +Architecture: any +Section: devel +Replaces: slice2cppe (<< 1.2.0-5), slice2javae (<< 1.2.0-5), + icecpp +Conflicts: slice2cppe (<< 1.2.0-5), slice2javae (<< 1.2.0-5), + icecpp +Depends: ${shlibs:Depends} +Description: ZeroC IceE Slice translators for C++ and Java + ZeroC Ice is a CORBA-like middleware solution. Slice is the IDL used + in Ice. IceE is a subset of Ice used in embedded systems. This + package installs all of the available translators for IceE. --- zeroc-icee-translators-1.2.0.orig/debian/patches/10-add-common-flags.patch +++ zeroc-icee-translators-1.2.0/debian/patches/10-add-common-flags.patch @@ -0,0 +1,36 @@ +diff -Nur zeroc-icee-translators-1.2.0/config/Make.rules.GNU zeroc-icee-translators-1.2.0.new/config/Make.rules.GNU +--- zeroc-icee-translators-1.2.0/config/Make.rules.GNU 2007-01-15 16:49:09.000000000 +0100 ++++ zeroc-icee-translators-1.2.0.new/config/Make.rules.GNU 2007-05-16 11:07:44.000000000 +0200 +@@ -83,7 +83,7 @@ + lp64suffix = 64 + endif + +- CXXFLAGS = $(CXXARCHFLAGS) -ftemplate-depth-128 -Wall -D_REENTRANT ++ CXXFLAGS = $(CXXARCHFLAGS) -ftemplate-depth-128 -Wall -D_REENTRANT -DHAVE_ENDIAN_H -DHAVE_LIMITS_H + + ifeq ($(STATICLIBS),) + CXXFLAGS += -fPIC +diff -Nur zeroc-icee-translators-1.2.0/config/Make.rules.GNU_kFreeBSD zeroc-icee-translators-1.2.0.new/config/Make.rules.GNU_kFreeBSD +--- zeroc-icee-translators-1.2.0/config/Make.rules.GNU_kFreeBSD 2007-01-15 16:49:09.000000000 +0100 ++++ zeroc-icee-translators-1.2.0.new/config/Make.rules.GNU_kFreeBSD 2007-05-16 11:07:44.000000000 +0200 +@@ -83,7 +83,7 @@ + lp64suffix = 64 + endif + +- CXXFLAGS = $(CXXARCHFLAGS) -ftemplate-depth-128 -Wall -D_REENTRANT ++ CXXFLAGS = $(CXXARCHFLAGS) -ftemplate-depth-128 -Wall -D_REENTRANT -DHAVE_ENDIAN_H -DHAVE_LIMITS_H + + ifeq ($(STATICLIBS),) + CXXFLAGS += -fPIC +diff -Nur zeroc-icee-translators-1.2.0/config/Make.rules.Linux zeroc-icee-translators-1.2.0.new/config/Make.rules.Linux +--- zeroc-icee-translators-1.2.0/config/Make.rules.Linux 2007-01-15 16:49:09.000000000 +0100 ++++ zeroc-icee-translators-1.2.0.new/config/Make.rules.Linux 2007-05-16 11:07:44.000000000 +0200 +@@ -83,7 +83,7 @@ + lp64suffix = 64 + endif + +- CXXFLAGS = $(CXXARCHFLAGS) -ftemplate-depth-128 -Wall -D_REENTRANT ++ CXXFLAGS = $(CXXARCHFLAGS) -ftemplate-depth-128 -Wall -D_REENTRANT -DHAVE_ENDIAN_H -DHAVE_LIMITS_H + + ifeq ($(STATICLIBS),) + CXXFLAGS += -fPIC --- zeroc-icee-translators-1.2.0.orig/debian/patches/10-endian-limits.patch +++ zeroc-icee-translators-1.2.0/debian/patches/10-endian-limits.patch @@ -0,0 +1,37 @@ +diff -Nur zeroc-icee-translators-1.2.0/include/IceUtil/Config.h zeroc-icee-translators-1.2.0.new/include/IceUtil/Config.h +--- zeroc-icee-translators-1.2.0/include/IceUtil/Config.h 2007-05-10 17:35:20.000000000 +0200 ++++ zeroc-icee-translators-1.2.0.new/include/IceUtil/Config.h 2007-05-12 23:58:50.000000000 +0200 +@@ -16,7 +16,16 @@ + // Most CPUs support only one endianness, with the notable exceptions + // of Itanium (IA64) and MIPS. + // +-#if defined(__i386) || defined(_M_IX86) || defined(__x86_64) || \ ++#if defined(HAVE_ENDIAN_H) ++# include ++# if __BYTE_ORDER==__LITTLE_ENDIAN ++# define ICE_LITTLE_ENDIAN ++# elif __BYTE_ORDER==__BIG_ENDIAN ++# define ICE_BIG_ENDIAN ++# else ++# error "Unknown endian type" ++# endif ++#elif defined(__i386) || defined(_M_IX86) || defined(__x86_64) || \ + defined(_M_X64) || defined(_M_IA64) || defined(__alpha__) || \ + defined(__MIPSEL__) + # define ICE_LITTLE_ENDIAN +@@ -31,7 +40,14 @@ + // + // 32 or 64 bit mode? + // +-#if defined(__linux) && defined(__sparc__) ++#if defined(HAVE_LIMITS_H) ++# include ++# if __WORDSIZE == 64 ++# define ICE_64 ++# else ++# define ICE_32 ++# endif ++#elif defined(__linux) && defined(__sparc__) + // + // We are a linux sparc, which forces 32 bit usr land, no matter + // the architecture --- zeroc-icee-translators-1.2.0.orig/debian/patches/10-gcc4.3-compilation.patch +++ zeroc-icee-translators-1.2.0/debian/patches/10-gcc4.3-compilation.patch @@ -0,0 +1,144 @@ +diff --git a/src/IceUtil/ArgVector.cpp b/src/IceUtil/ArgVector.cpp +index 7e236a5..4fee8a3 100644 +--- a/src/IceUtil/ArgVector.cpp ++++ b/src/IceUtil/ArgVector.cpp +@@ -9,6 +9,7 @@ + + #include + #include ++#include + + IceUtil::ArgVector::ArgVector(int argc, char *argv[]) + { +diff --git a/src/IceUtil/MD5.cpp b/src/IceUtil/MD5.cpp +index f7e818b..dd80a19 100644 +--- a/src/IceUtil/MD5.cpp ++++ b/src/IceUtil/MD5.cpp +@@ -9,6 +9,7 @@ + + #include + #include ++#include + + using namespace std; + +diff --git a/src/IceUtil/OutputUtil.cpp b/src/IceUtil/OutputUtil.cpp +index e3ef63d..e5a7380 100644 +--- a/src/IceUtil/OutputUtil.cpp ++++ b/src/IceUtil/OutputUtil.cpp +@@ -8,6 +8,7 @@ + // ********************************************************************** + + #include ++#include + + using namespace std; + using namespace IceUtil; +diff --git a/src/IceUtil/Random.cpp b/src/IceUtil/Random.cpp +index bbe8b52..d78341c 100644 +--- a/src/IceUtil/Random.cpp ++++ b/src/IceUtil/Random.cpp +@@ -9,6 +9,7 @@ + + #include + #include ++#include + + #ifdef _WIN32 + # include +diff --git a/src/IceUtil/ThreadException.cpp b/src/IceUtil/ThreadException.cpp +index 4f47472..5d08456 100644 +--- a/src/IceUtil/ThreadException.cpp ++++ b/src/IceUtil/ThreadException.cpp +@@ -8,6 +8,7 @@ + // ********************************************************************** + + #include ++#include + + using namespace std; + +diff --git a/src/Slice/CPlusPlusUtil.cpp b/src/Slice/CPlusPlusUtil.cpp +index 5624801..088cd4d 100644 +--- a/src/Slice/CPlusPlusUtil.cpp ++++ b/src/Slice/CPlusPlusUtil.cpp +@@ -8,6 +8,7 @@ + // ********************************************************************** + + #include ++#include + + using namespace std; + using namespace Slice; +diff --git a/src/Slice/DotNetNames.cpp b/src/Slice/DotNetNames.cpp +index f55f647..a4889d3 100755 +--- a/src/Slice/DotNetNames.cpp ++++ b/src/Slice/DotNetNames.cpp +@@ -9,6 +9,7 @@ + + #include + #include ++#include + + using namespace std; + +diff --git a/src/Slice/Grammar.cpp b/src/Slice/Grammar.cpp +index 7640e27..e55d2da 100644 +--- a/src/Slice/Grammar.cpp ++++ b/src/Slice/Grammar.cpp +@@ -165,6 +165,7 @@ + + #include + #include ++#include + + #ifdef _MSC_VER + // I get these warnings from some bison versions: +diff --git a/src/Slice/Grammar.y b/src/Slice/Grammar.y +index 42733a7..4f537ad 100644 +--- a/src/Slice/Grammar.y ++++ b/src/Slice/Grammar.y +@@ -11,6 +11,7 @@ + + #include + #include ++#include + + #ifdef _MSC_VER + // I get these warnings from some bison versions: +diff --git a/src/Slice/Parser.cpp b/src/Slice/Parser.cpp +index 45ae163..74a4802 100644 +--- a/src/Slice/Parser.cpp ++++ b/src/Slice/Parser.cpp +@@ -10,6 +10,7 @@ + #include + #include + #include ++#include + #ifdef __BCPLUSPLUS__ + # include + #endif +diff --git a/src/Slice/Preprocessor.cpp b/src/Slice/Preprocessor.cpp +index ead6a4b..6ad2cc3 100644 +--- a/src/Slice/Preprocessor.cpp ++++ b/src/Slice/Preprocessor.cpp +@@ -13,6 +13,7 @@ + #include + #include + #include ++#include + + #ifndef _WIN32 + +diff --git a/src/slice2javae/Gen.cpp b/src/slice2javae/Gen.cpp +index ff8dcfc..77c8522 100644 +--- a/src/slice2javae/Gen.cpp ++++ b/src/slice2javae/Gen.cpp +@@ -14,6 +14,7 @@ + #include + + #include ++#include + + using namespace std; + using namespace Slice; --- zeroc-icee-translators-1.2.0.orig/debian/patches/20-kfreebsd-config.patch +++ zeroc-icee-translators-1.2.0/debian/patches/20-kfreebsd-config.patch @@ -0,0 +1,43 @@ +Bug#497885: zeroc-icee-translators: FTBFS on GNU/kFreeBSD + +Package: zeroc-icee-translators +Severity: important +Version: 1.2.0-5 +Tags: patch +User: glibc-bsd-devel@lists.alioth.debian.org +Usertags: kfreebsd + +Hi, + +the current version fails to build on GNU/kFreeBSD. + +It needs small tweak, see bellow. + +It would also be nice if you can ask upstream +to include this changes. + +Thanks in advance + + Petr + +diff -Nur -x '*.orig' -x '*~' zeroc-icee-translators/src/icecpp/config.h zeroc-icee-translators.new/src/icecpp/config.h +--- zeroc-icee-translators/src/icecpp/config.h 2008-08-07 16:39:53.890332000 +0200 ++++ zeroc-icee-translators.new/src/icecpp/config.h 2008-09-05 10:05:54.472653830 +0200 +@@ -12,7 +12,7 @@ + // configure script from the gcc-2.8.1 distribution. + // + +-#if defined(__linux) || defined(__FreeBSD__) \ ++#if defined(__linux) || defined(__GLIBC__) || defined(__FreeBSD__) \ + || defined(__sun) || defined(__hpux) || defined(__APPLE__) \ + || defined(_AIX) || defined(__osf1__) + # define TIME_WITH_SYS_TIME 1 +@@ -42,7 +42,7 @@ + # endif + #endif + +-#if defined(__linux) || defined(__FreeBSD__) || defined(__sun) || \ ++#if defined(__linux) || defined(__GLIBC__) || defined(__FreeBSD__) || defined(__sun) || \ + defined(__hpux) || defined(__APPLE__) || defined(_AIX) + # define HAVE_INTTYPES_H 1 + #endif