Opened 9 years ago

Closed 9 years ago

#3869 closed defect (fixed)

[PATCH] iproute2 build fix on FreeBSD

Reported by: rizzo@… Owned by: developers
Priority: normal Milestone:
Component: base system Version:
Keywords: Cc:


package iproute2 has problems building on recent *BSD versions, because the code for some programs to be run on the host uses malloc.h in an incompatible way.

package/iproute2/patches/004-darwin_fixes.patch already has a fix to this problem but it is specific for Darwin; the patch attached extends the fix to FreeBSD as well.

I think a similar approach should work for other BSD-derived platforms, replacing the

#ifndef APPLE


#if !defined(APPLE) && !defined(FreeBSD) && !defined(...)

or perhaps even with just

#ifdef linux

if the set of platforms where malloc.h is ok is small or restricted
to just linux

Attachments (1)

004-darwin_fixes.patch.diff (1.0 KB) - added by rizzo@… 9 years ago.

Download all attachments as: .zip

Change History (2)

Changed 9 years ago by rizzo@…

comment:1 Changed 9 years ago by florian

  • Resolution set to fixed
  • Status changed from new to closed

Applied in [11249], thanks !

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.