[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#385974: gcc-4.1: FTBFS on GNU/kFreeBSD (due to backport of classpath-0.92)

Package: gcc-4.1
Severity: important
Version: 4.1.1-13
Tags: patch


the current version fails to build on GNU/kFreeBSD, due to
collision between libjava-backport.dpatch and kbsd-gnu-java.dpatch.

It needs either drop lines 3929-3937 from libjava-backport.dpatch
or apply attached patch to kbsd-gnu-java.dpatch.

It should fix gcc-4.1 for us.

For gcj-4.1, unfortunately we do not yet have libxul-dev,
I will take a look later on it.

Please, could you in mean time fix gcc-4.1 for us.

Many thanks

--- debian/patches/kbsd-gnu-java.dpatch~	2006-09-04 07:37:42.000000000 +0200
+++ debian/patches/kbsd-gnu-java.dpatch	2006-09-04 07:37:42.000000000 +0200
@@ -136,7 +136,7 @@
  # endif
  /* And one for FreeBSD: */
--# if defined(__FreeBSD__)
+-# if defined(__FreeBSD__) && !defined(FREEBSD)
 +# if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
  #    define FREEBSD
  # endif

Reply to: