Bug 117386 - [patch] to make lang/mit-scheme compileable by GCC 4.2
Summary: [patch] to make lang/mit-scheme compileable by GCC 4.2
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: Jimmy Olgeni
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-22 01:50 UTC by Alexandre "Sunny" Kovalenko
Modified: 2007-10-23 14:50 UTC (History)
0 users

See Also:


Attachments
file.diff (410 bytes, patch)
2007-10-22 01:50 UTC, Alexandre "Sunny" Kovalenko
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre "Sunny" Kovalenko 2007-10-22 01:50:01 UTC
Placing attached (trivial) patch into files/patch-obstack.h and changing the Makefile (see the "Fix" section below) are sufficient to compile lang/mit-scheme with GCC 4.2. Resulting executable is capable of interpreting some test Scheme programs. No advanced features were tested as of yet.

Fix: --- Makefile.ORIG       2007-10-21 14:54:22.000000000 -0400
+++ Makefile    2007-10-21 20:35:29.000000000 -0400
@@ -33,8 +33,4 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} >= 700042
-BROKEN=                Does not compile with GCC 4.2
-.endif
-
 .include <bsd.port.post.mk>



Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-10-22 09:08:53 UTC
Responsible Changed
From-To: freebsd-ports-bugs->olgeni

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Jimmy Olgeni freebsd_committer freebsd_triage 2007-10-23 12:15:54 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2007-10-23 14:46:03 UTC
olgeni      2007-10-23 11:15:48 UTC

  FreeBSD ports repository

  Modified files:
    lang/mit-scheme      Makefile 
  Added files:
    lang/mit-scheme/files patch-obstack.h 
  Log:
  Unbreak for GCC 4.2.
  
  PR:             ports/117386
  Submitted by:   Alexandre "Sunny" Kovalenko <alex.kovalenko(at)verizon.net>
  
  Revision  Changes    Path
  1.41      +1 -7      ports/lang/mit-scheme/Makefile
  1.1       +14 -0     ports/lang/mit-scheme/files/patch-obstack.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"