Bug 136971 - [patch] devel/ccache mmap fix for 8.0-BETA2
Summary: [patch] devel/ccache mmap fix for 8.0-BETA2
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: Michael Johnson
Depends on:
Reported: 2009-07-21 23:00 UTC by Aragon Gouveia
Modified: 2009-08-05 03:50 UTC (History)
0 users

See Also:

file.diff (1.28 KB, patch)
2009-07-21 23:00 UTC, Aragon Gouveia
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aragon Gouveia 2009-07-21 23:00:16 UTC
devel/ccache has a bug in its use of mmap() that reveals itself since a recent change in 8-CURRENT discussed here:


Mel Flynn later posted a ccache patch:


I've tested Mel's fix and can confirm it fixes ccache for me.  I've repackaged his work as a diff against files/patch-md4 and it's attached.

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer 2009-07-21 23:00:26 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ahze

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2009-08-05 03:40:58 UTC
ahze        2009-08-05 02:40:48 UTC

  FreeBSD ports repository

  Modified files:
    devel/ccache         Makefile 
    devel/ccache/files   patch-md4 
  - Fix bug with mmap() on 8.x [1]
  - Remove gcc 295, 32, 33, 40, and 40 support [2]
  PR:             ports/136971 [1]
                  ports/136679 [2]
  Submitted by:   Aragon Gouveia <aragon@phat.za.net> [1]
                  Ulrich Spoerlein <uqs@spoerlein.net> [2]
                  gerald [2]
  Revision  Changes    Path
  1.45      +2 -5      ports/devel/ccache/Makefile
  1.3       +13 -9     ports/devel/ccache/files/patch-md4
cvs-all@freebsd.org mailing list
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Michael Johnson freebsd_committer 2009-08-05 03:41:17 UTC
State Changed
From-To: open->closed

Committed, Thanks!