source: build-files/ports-overlay/emulators/open-vm-tools/files/patch-vmhgfs-Makefile @ 59d5019

9.2-releasereleng/10.0releng/10.0.1releng/10.0.2
Last change on this file since 59d5019 was 59d5019, checked in by Kris Moore <kris@…>, 10 months ago

Update some more ports to build on 10.0

  • Property mode set to 100644
File size: 1.3 KB
Line 
1*** modules/freebsd/vmhgfs/Makefile.orig        Wed Apr 17 17:12:22 2013
2--- modules/freebsd/vmhgfs/Makefile     Thu Jul 11 01:14:46 2013
3***************
4*** 47,53 ****
5  .endif
6 
7  COMMON_HGFS_SRCS := debug.c
8! COMMON_HGFS_SRCS := bdhandler.c
9  COMMON_HGFS_SRCS += request.c
10  COMMON_HGFS_SRCS += worker.c
11  COMMON_HGFS_SRCS += fsutil.c
12--- 47,53 ----
13  .endif
14 
15  COMMON_HGFS_SRCS := debug.c
16! COMMON_HGFS_SRCS += bdhandler.c
17  COMMON_HGFS_SRCS += request.c
18  COMMON_HGFS_SRCS += worker.c
19  COMMON_HGFS_SRCS += fsutil.c
20***************
21*** 93,114 ****
22     CFLAGS += -Ishared
23  .endif
24 
25- #
26- # FreeBSD's kernel module build system defines a bunch of additional warning
27- # flags for the compiler in addition to -Wall -Werror.  However, some of these,
28- # like -Wredundant-decls, are overkill.  To get around this, I copied their list
29- # of warning flags, but explicitly disabled a few.
30- #
31- CWARNFLAGS := -Wall
32- CWARNFLAGS += -Werror
33- CWARNFLAGS += -Wno-redundant-decls
34- CWARNFLAGS += -Wnested-externs
35- CWARNFLAGS += -Wstrict-prototypes
36- CWARNFLAGS += -Wno-missing-prototypes
37- CWARNFLAGS += -Wpointer-arith
38- CWARNFLAGS += -Winline
39- CWARNFLAGS += -Wcast-qual
40-
41  EXPORT_SYMS = NO
42 
43  .include <bsd.kmod.mk>
44--- 93,99 ----
45     CFLAGS += -Ishared
46  .endif
47 
48  EXPORT_SYMS = NO
49 
50+ .include <bsd.own.mk>
51  .include <bsd.kmod.mk>
Note: See TracBrowser for help on using the repository browser.