Bug 117535 - [PATCH] devel/darcs: port is broken for RELENG_7
Summary: [PATCH] devel/darcs: port is broken for RELENG_7
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: freebsd-haskell (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-26 15:20 UTC by Matthieu Guegan
Modified: 2008-02-10 08:00 UTC (History)
0 users

See Also:


Attachments
darcs-1.0.9.patch (725 bytes, patch)
2007-10-26 15:20 UTC, Matthieu Guegan
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthieu Guegan 2007-10-26 15:20:01 UTC
Since the addition of _SC_PHYS_PAGES [1] into HEAD and RELENG_7, the ifdef condition into rts.c become true but FreeBSD don't have _SC_AVPHYS_PAGES.
Here is the mini-patch to avoid the broken status

Ref
[1] http://www.freebsd.org/cgi/cvsweb.cgi/src/include/unistd.h.diff?r1=1.79;r2=1.80

How-To-Repeat: Try to compile devel/darcs with ghc and FreeBSD 7 as vs@ pointed out.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-10-26 15:20:07 UTC
Responsible Changed
From-To: freebsd-ports-bugs->haskell

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Oliver Braun freebsd_committer freebsd_triage 2008-02-10 07:51:38 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2008-02-10 07:55:56 UTC
obraun      2008-02-10 07:55:51 UTC

  FreeBSD ports repository

  Added files:
    devel/darcs/files    patch-rtc.c 
  Log:
  Fix build on 7.x.
  
  PR:             ports/117535
  Submitted by:   Matthieu GUEGAN <matt.guegan@free.fr>
  
  Revision  Changes    Path
  1.1       +11 -0     ports/devel/darcs/files/patch-rtc.c (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"