Bug 106749 - [MAINTAINER] lang/bf2c: fix build with GCC 4.x
Summary: [MAINTAINER] lang/bf2c: fix build with GCC 4.x
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: Shaun Amott
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-15 01:40 UTC by Rene Ladan
Modified: 2006-12-15 02:20 UTC (History)
0 users

See Also:


Attachments
file.diff (613 bytes, patch)
2006-12-15 01:40 UTC, Rene Ladan
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rene Ladan 2006-12-15 01:40:16 UTC
Patch the Makefile inside the distfile to leave out the -Werror compiler option.
This 'fixes' new warnings about classes with virtual methods not having a virtual destructor.

Added files:
- files/patch-Makefile.diff

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-12-15 01:46:50 UTC
Responsible Changed
From-To: freebsd-ports-bugs->shaun

shaun@ wants to have sparc64 and 4.x PRs
Comment 2 dfilter service freebsd_committer freebsd_triage 2006-12-15 02:13:03 UTC
shaun       2006-12-15 02:12:57 UTC

  FreeBSD ports repository

  Modified files:
    lang/bf2c            Makefile 
  Log:
  - Fix build with GCC 4.x (by switching off -Werror). [1]
  - Respect CXX and CXXFLAGS.
  
  PR:             ports/106749 [1]
  Submitted by:   Rene Ladan <r.c.ladan@gmail.com> (maintainer)
  
  Revision  Changes    Path
  1.7       +4 -0      ports/lang/bf2c/Makefile
_______________________________________________
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 Shaun Amott freebsd_committer freebsd_triage 2006-12-15 02:13:28 UTC
State Changed
From-To: open->closed

I committed a slightly different fix, which also makes the port respect 
${CXX} and ${CXXFLAGS}. Thanks!