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
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-21 23:00 UTC by Aragon Gouveia
Modified: 2009-08-05 03:50 UTC (History)
0 users

See Also:


Attachments
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:

http://lists.freebsd.org/pipermail/freebsd-hackers/2009-July/029064.html

Mel Flynn later posted a ccache patch:

http://lists.freebsd.org/pipermail/freebsd-hackers/2009-July/029141.html

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 freebsd_triage 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 freebsd_triage 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 
  Log:
  - Fix bug with mmap() on 8.x [1]
  - Remove gcc 295, 32, 33, 40, and 40 support [2]
  - Bump PORTREVISION
  
  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
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Michael Johnson freebsd_committer freebsd_triage 2009-08-05 03:41:17 UTC
State Changed
From-To: open->closed

Committed, Thanks!