Bug 115796 - [PATCH] mail/mls: fix GCC 4.2 builds
Summary: [PATCH] mail/mls: fix GCC 4.2 builds
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: chinsan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-24 22:50 UTC by Hung-Yi Chen
Modified: 2007-08-25 20:42 UTC (History)
1 user (show)

See Also:


Attachments
patch-mls.h (372 bytes, text/plain)
2007-08-24 22:50 UTC, Hung-Yi Chen
no flags Details
patch-mls_text.h (417 bytes, text/plain)
2007-08-24 22:50 UTC, Hung-Yi Chen
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hung-Yi Chen 2007-08-24 22:50:01 UTC
Fix build breakage under gcc 4.2

Fix: --- mls_text.c.orig     2003-05-28 04:07:13.000000000 +0800
+++ mls_text.c  2007-08-25 05:33:42.000000000 +0800
@@ -22,9 +22,6 @@
 #include "mls_lang.h"
 #include "mls_stat.h"

-// because we must specify it when 2dimensional array is passed to function
-#define SNUMB_LEN      4
-
 extern int lang;
 extern int graph;
 extern int onlytitle;
--- patch-mls_text.c ends here ---
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-08-24 22:50:10 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback
Comment 2 Antoine Beaupre 2007-08-25 00:58:37 UTC
I approve the patch, even though I only quickly reviewed the patch.

A.

On Fri, Aug 24, 2007 at 09:50:08PM +0000, Edwin Groothuis wrote:
> Maintainer of mail/mls,
> 
> Please note that PR ports/115796 has just been submitted.
> 
> If it contains a patch for an upgrade, an enhancement or a bug fix
> you agree on, reply to this email stating that you approve the patch
> and a committer will take care of it.
> 
> The full text of the PR can be found at:
>     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/115796
> 
> -- 
> Edwin Groothuis
> edwin@FreeBSD.org
> 


-- 
Comment 3 chinsan freebsd_committer freebsd_triage 2007-08-25 19:55:07 UTC
Responsible Changed
From-To: freebsd-ports-bugs->chinsan

I'll take it.
Comment 4 dfilter service freebsd_committer freebsd_triage 2007-08-25 20:37:39 UTC
chinsan     2007-08-25 19:37:34 UTC

  FreeBSD ports repository

  Added files:
    mail/mls/files       patch-mls.h patch-mls_text.c 
                         patch-mls_text.h 
  Log:
  - Unbreak on HEAD (gcc 4.2)
  
  PR:             ports/115796
  Submitted by:   Hung-Yi Chen
  Approved by:    maintainer
  
  Revision  Changes    Path
  1.1       +12 -0     ports/mail/mls/files/patch-mls.h (new)
  1.1       +12 -0     ports/mail/mls/files/patch-mls_text.c (new)
  1.1       +11 -0     ports/mail/mls/files/patch-mls_text.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"
Comment 5 chinsan freebsd_committer freebsd_triage 2007-08-25 20:42:50 UTC
State Changed
From-To: feedback->closed

Committed.  Thanks.