Bug 136971

Summary: [patch] devel/ccache mmap fix for 8.0-BETA2
Product: Ports & Packages Reporter: Aragon Gouveia <aragon>
Component: Individual Port(s)Assignee: Michael Johnson <ahze>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

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!