don't override CFLAGS and don't compile with -g

add a missing header file the 3.0 needs...
Submitted by:	asami
This commit is contained in:
John-Mark Gurney 1997-06-03 09:51:20 +00:00
parent 8c2cce5bae
commit 86ffba25d4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=6696
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,21 @@
*** Makefile.orig Sun Sep 17 06:18:20 1995
--- Makefile Tue Jun 3 02:48:46 1997
***************
*** 25,32 ****
#}
! CFLAGS = $(CFLAGS_OS) $(CFLAGS_OPT) $(CFLAGS_EXT)
! CFLAGS_HIOPT_ = $(CFLAGS_OS) $(CFLAGS_HIOPT) $(CFLAGS_EXT)
LDFLAGS = $(LDFLAGS_OS) $(LDFLAGS_EXT)
LIBS = $(LIBS_EXT) $(LIBS_OS)
--- 25,32 ----
#}
! #CFLAGS = $(CFLAGS_OS) $(CFLAGS_OPT) $(CFLAGS_EXT)
! CFLAGS_HIOPT_ = $(CFLAGS) $(CFLAGS_HIOPT)
LDFLAGS = $(LDFLAGS_OS) $(LDFLAGS_EXT)
LIBS = $(LIBS_EXT) $(LIBS_OS)

View File

@ -0,0 +1,10 @@
*** nspmod.c.orig Tue Jun 3 02:45:41 1997
--- nspmod.c Tue Jun 3 02:45:52 1997
***************
*** 1,4 ****
--- 1,5 ----
#include <stdio.h> /*(perror)*/
+ #include <sys/types.h>
#include <sys/mman.h> /*PROT_READ,MAP_xxx*/
#include <fcntl.h> /*O_RDONLY*/
#include <sys/stat.h> /*stat*/