Bug 112841 - [PATCH] devel/gindent breaks with gcc42
Summary: [PATCH] devel/gindent breaks with gcc42
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: Giorgos Keramidas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-21 22:00 UTC by Giorgos Keramidas
Modified: 2007-05-25 12:00 UTC (History)
0 users

See Also:


Attachments
gindent-patch (556 bytes, text/plain)
2007-05-21 22:00 UTC, Giorgos Keramidas
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Giorgos Keramidas freebsd_committer freebsd_triage 2007-05-21 22:00:16 UTC
devel/gindent is broken with gcc42.  The build fails with:

%%%
output.c:26: error: static declaration of 'output' follows non-static declaration
indent.h:100: error: previous declaration of 'output' was here
output.c: In function 'open_output':
output.c:1149: warning: incompatible implicit declaration of built-in function 'exit'
*** Error code 1

Stop in /var/tmp/1/gindent/work/indent-2.2.9/src.
*** Error code 1
%%%

Fix: The following port-patch fixes the build.  Can be applied
in a CVS checkout with:

    % cd ports/devel/gindent
    % gpatch -p1 < patchfile
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-05-21 22:00:25 UTC
Responsible Changed
From-To: freebsd-ports-bugs->keramida

Submitter has GNATS access
Comment 2 Giorgos Keramidas freebsd_committer freebsd_triage 2007-05-21 22:45:25 UTC
Responsible Changed
From-To: keramida->freebsd-ports-bugs

Not a ports committer.  Can someone else please 
verify I didn't break anything important around 
GNU indent and commit this?
Comment 3 Pav Lucistnik freebsd_committer freebsd_triage 2007-05-21 22:57:20 UTC
Responsible Changed
From-To: freebsd-ports-bugs->keramida

Approved - you can commit it yourself.
Comment 4 dfilter service freebsd_committer freebsd_triage 2007-05-25 11:53:47 UTC
keramida    2007-05-25 10:53:42 UTC

  FreeBSD ports repository (doc committer)

  Added files:
    devel/gindent/files  patch-output.c 
  Log:
  Fix the build of GNU indent with gcc 4.2.
  
  PR:             ports/112841
  Approved by:    pav
  
  Revision  Changes    Path
  1.1       +11 -0     ports/devel/gindent/files/patch-output.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"
Comment 5 Giorgos Keramidas freebsd_committer freebsd_triage 2007-05-25 11:53:59 UTC
State Changed
From-To: open->closed

Committed; thanks Pav :)