Package: sabre Severity: serious Tags: patch Justification: no longer builds from source
Hi, This package fails to build with gcc-4.0. Please find a patch to fix that. The patch also include an auto-update of config.{guess,sub} to be able to build the package on GNU/kFreeBSD. Bye, Aurelien -- System Information: Debian Release: testing/unstable Architecture: kfreebsd-i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: GNU/kFreeBSD 5.3-17 Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
diff -u sabre-0.2.4b/debian/control sabre-0.2.4b/debian/control --- sabre-0.2.4b/debian/control +++ sabre-0.2.4b/debian/control @@ -2,7 +2,7 @@ Section: games Priority: optional Maintainer: Sam Hocevar (Debian packages) <[EMAIL PROTECTED]> -Build-Depends: debhelper, libncurses-dev, libsdl1.2-dev (>= 1.2.2-3.1), svgalibg1-dev [i386] +Build-Depends: debhelper, autotools-dev, libncurses-dev, libsdl1.2-dev (>= 1.2.2-3.1), svgalibg1-dev [i386] Standards-Version: 3.6.1.1 Package: sabre-common diff -u sabre-0.2.4b/debian/rules sabre-0.2.4b/debian/rules --- sabre-0.2.4b/debian/rules +++ sabre-0.2.4b/debian/rules @@ -18,6 +18,7 @@ stamp-configure: dh_testdir + cp -f /usr/share/misc/config.{guess,sub} . touch configure.in touch aclocal.m4 touch configure @@ -49,6 +50,7 @@ -rm -f joystick/linux_joy.C -make distclean find . -name Makefile | xargs -r rm -f + -rm -f config.{guess,sub} dh_clean binary-indep: build only in patch2: unchanged: --- sabre-0.2.4b.orig/src/rendpoly.h +++ sabre-0.2.4b/src/rendpoly.h @@ -24,6 +24,7 @@ #include "grafix.h" #include "clip.h" #include "convpoly.h" +#include "port_3d.h" int rendpoly(R_3DPoint *poly, int n, int color, Port_3D &port, int zclip = 1); int project_poly(R_3DPoint *poly, int n, int color,