Package: agg
Severity: important
Version: 2.3-3
Tags: patch


Hi,

the current version fails to build on GNU/kFreeBSD.

It needs small change to build system,
please find attached patch with tweak.

It would also be nice if you can ask upstream
to include this change.

Thanks in advance

                        Petr

diff -u agg-2.3/debian/patches/00list agg-2.3/debian/patches/00list
--- agg-2.3/debian/patches/00list
+++ agg-2.3/debian/patches/00list
@@ -3,0 +4 @@
+04_kfreebsd
only in patch2:
unchanged:
--- agg-2.3.orig/debian/patches/04_kfreebsd.dpatch
+++ agg-2.3/debian/patches/04_kfreebsd.dpatch
@@ -0,0 +1,21 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: kFreeBSD support
+
[EMAIL PROTECTED]@
+
+
+--- agg-2.3/src/Makefile       2005-02-18 03:31:10.000000000 +0100
++++ agg-2.3/src/Makefile       2006-06-22 12:12:33.000000000 +0200
+@@ -1,4 +1,10 @@
+-include ../Makefile.in.$(shell uname)
++
++PLATFORM=$(shell uname)
++ifeq (GNU/kFreeBSD,$(PLATFORM))
++      PLATFORM=Linux
++endif
++
++include ../Makefile.in.$(PLATFORM)
+ 
+ CXXFLAGS= $(AGGCXXFLAGS) -I../include -L./
+ 

Reply via email to