Bug 154109

Summary: [PATCH] devel/jansson: Fix compiler warnings when using library header files
Product: Ports & Packages Reporter: darth <darth>
Component: Individual Port(s)Assignee: Vanilla I. Shu <vanilla>
Status: Closed FIXED    
Severity: Affects Only Me CC: vanilla
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
jansson-1.3_1.patch none

Description darth 2011-01-18 12:10:15 UTC
Fix compiler warnings when including the libraries header file(s), 'index' has
been used as variable name and thus generates a shadowed global declaration
warning with 'gcc' flag -Wshadow.

Patch does the following;
Renamed variable: index -> my_index

Added file(s):
- files/patch-fix_index_variable

Port maintainer (vanilla@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99

How-To-Repeat: 
make WARNS >= 4 (FreeBSD 8.1) and including jansson.h in source
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-01-18 12:12:43 UTC
Responsible Changed
From-To: freebsd-ports-bugs->vanilla

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2011-02-18 06:07:06 UTC
vanilla     2011-02-18 06:06:59 UTC

  FreeBSD ports repository

  Modified files:
    devel/jansson        Makefile 
  Log:
  Fix compiler warning.
  
  PR:             ports/154109
  Submitted by:   darth at vader.dk
  Feature safe:   yes
  
  Revision  Changes    Path
  1.4       +1 -0      ports/devel/jansson/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 Vanilla I. Shu freebsd_committer freebsd_triage 2011-02-18 06:07:26 UTC
State Changed
From-To: open->closed

Committed, thanks.