Bug 120058 - Update port: graphics/xaralx: Allow use of jemalloc with FreeBSD >= 7.0
Summary: Update port: graphics/xaralx: Allow use of jemalloc with FreeBSD >= 7.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Vasil Dimov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-27 21:10 UTC by Dave Grochowski
Modified: 2008-02-09 10:00 UTC (History)
0 users

See Also:


Attachments
file.diff (3.61 KB, patch)
2008-01-27 21:10 UTC, Dave Grochowski
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Grochowski 2008-01-27 21:10:00 UTC
Currently, xaralx uses dlmalloc because FreeBSD was lacking malloc_usable_size(). However, this function has been added to FreeBSD, so this library is no longer necessary in newer versions of FreeBSD. The patch provided checks for the FreeBSD version and determines whether or not dlmalloc is needed.

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-01-27 21:18:55 UTC
Responsible Changed
From-To: freebsd-ports-bugs->vd

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2008-02-09 09:52:26 UTC
vd          2008-02-09 09:52:21 UTC

  FreeBSD ports repository

  Modified files:
    graphics/xaralx      Makefile 
    graphics/xaralx-devel Makefile 
  Added files:
    graphics/xaralx/files patch-wxOil_compatdef.h 
  Log:
  graphics/xaralx, graphics/xaralx-devel:
  
  Get rid of the dlmalloc dependency on a recent FreeBSD versions (>= 700036)
  since they provide malloc_usable_size().
  
  PR:             ports/120058 (with some modifications)
  Submitted by:   Dave Grochowski <malus.x@gmail.com>
  
  Revision  Changes    Path
  1.30      +3 -2      ports/graphics/xaralx-devel/Makefile
  1.32      +17 -6     ports/graphics/xaralx/Makefile
  1.3       +15 -0     ports/graphics/xaralx/files/patch-wxOil_compatdef.h (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Vasil Dimov freebsd_committer freebsd_triage 2008-02-09 09:52:41 UTC
State Changed
From-To: open->closed

Committed with some modifications. 
Thanks!