Bug 122449 - [maintainer update] irc/epic4 breaks with system default CFLAGS
Summary: [maintainer update] irc/epic4 breaks with system default CFLAGS
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: Beech Rintoul
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-04 17:20 UTC by Josh Paetzel <josh@tcbug.org>
Modified: 2008-04-04 22:40 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Josh Paetzel <josh@tcbug.org> 2008-04-04 17:20:03 UTC
epic4 breaks in strange ways with -O2, the FreeBSD default.

Fix: 

PORTNAME=      epic4
 PORTVERSION=   2.10
+PORTREVISION=  1
 CATEGORIES=    irc ipv6
 MASTER_SITES=  http://ftp.epicsol.org/pub/epic/EPIC4-PRODUCTION/ \
                http://tehran.lain.pl/epic-mirror/EPIC4-PRODUCTION/ \
@@ -28,6 +29,7 @@
 SUB_FILES=     pkg-message
 PLIST_SUB+=    PORTVERSION=${PORTVERSION}
 USE_BZIP2=     yes
+CFLAGS:=       ${CFLAGS:C/-O2/-g -O/g}

 OPTIONS=       IPV6    "IPv6 support"          on \
                TCL     "TCL support"           on \--xgeU6eLhOyImvKqHCiYY4qBfpRkji5llWZXaW4x6dZdYNKEP
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- Makefile.old        2008-04-04 11:05:17.000000000 -0500
+++ Makefile    2008-04-04 11:07:10.000000000 -0500
@@ -7,6 +7,7 @@
How-To-Repeat: compile epic from ports, note strange buggy behavior, /exec can cause segfaults on amd64 among other things
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-04-04 17:20:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->beech

beech@ wants this category PRs (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2008-04-04 22:31:09 UTC
beech       2008-04-04 21:31:00 UTC

  FreeBSD ports repository

  Modified files:
    irc/epic4            Makefile 
  Log:
  - Fix issue, breaks with system default CFLAGS
  - Bump portrevision
  
  PR:             ports/122449
  Submitted by:   Josh Paetzel <josh@tcbug.org> (maintainer)
  
  Revision  Changes    Path
  1.63      +2 -0      ports/irc/epic4/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 Beech Rintoul freebsd_committer freebsd_triage 2008-04-04 22:31:14 UTC
State Changed
From-To: open->closed

Committed, Thanks!