Bug 152283 - [PATCH] Build error: emulators/open-vm-tools
[PATCH] Build error: emulators/open-vm-tools
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: Normal Affects Only Me
Assigned To: mbr
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-11-16 05:40 UTC by fumifumi
Modified: 2010-11-16 07:50 UTC (History)
0 users

See Also:


Attachments
file.diff (3.19 KB, patch)
2010-11-16 05:40 UTC, fumifumi
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description fumifumi 2010-11-16 05:40:07 UTC
Hello,

CFLAGS, -Werror -Wredundant-decls -Wno-missing-prototypes,
cause errors on making a module of FreeBSD vmhgfs.

-----
cc1: warnings being treated as errors
In file included from kernelStubsBSD.c:33:
kernelStubs.h:135: warning: redundant redeclaration of 'Panic'
/usr/ports/emulators/open-vm-tools/work/open-vm-tools-2010.10.18-313025/lib/include/vm_assert.h:108: warning: previous declaration of 'Panic' was here

cc1: warnings being treated as errors
vnopscommon.c:53: warning: redundant redeclaration of 'HgfsReadlinkInt'
vnopscommon.h:78: warning: previous declaration of 'HgfsReadlinkInt' was here

cc1: warnings being treated as errors
state.c:1289: warning: no previous prototype for 'HgfsMarkFileMmapped'
------

Fix: A patch fixing problems(manners) is attached.

Thank you,


Patch attached with submission follows:
How-To-Repeat: Type make on emulators/open-vm-tools.
Comment 1 Edwin Groothuis freebsd_committer 2010-11-16 05:40:12 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mbr

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter freebsd_committer 2010-11-16 07:42:49 UTC
mbr         2010-11-16 07:42:44 UTC

  FreeBSD ports repository

  Modified files:
    emulators/open-vm-tools/files patch-vmhgfs-state.c 
  Added files:
    emulators/open-vm-tools/files patch-vmhgfs-kernelStubs.h 
                                  patch-vmhgfs-vnopscommon.c 
  Log:
  Fix build errors (redundant declarations)
  
  PR:                     152283
  Submitted by:           fumifumi@abacustech.jp
  
  Revision  Changes    Path
  1.1       +11 -0     ports/emulators/open-vm-tools/files/patch-vmhgfs-kernelStubs.h (new)
  1.2       +18 -2     ports/emulators/open-vm-tools/files/patch-vmhgfs-state.c
  1.1       +11 -0     ports/emulators/open-vm-tools/files/patch-vmhgfs-vnopscommon.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 3 mbr freebsd_committer 2010-11-16 07:43:02 UTC
State Changed
From-To: open->closed

Fixed, thanks !