split multi-file patch into individual patches

This commit is contained in:
brad 1999-12-01 01:05:35 +00:00
parent b8bacae9b4
commit c43ad26ef0
4 changed files with 68 additions and 104 deletions

View File

@ -0,0 +1,37 @@
--- configure.orig Mon Jun 21 06:53:35 1999
+++ configure Tue Nov 30 19:36:14 1999
@@ -44,7 +44,7 @@
;;
HP-UX ) OSTYPE=HPUX
;;
- Linux | IRIX | IRIX64 | FreeBSD | NetBSD )
+ Linux | IRIX | IRIX64 | FreeBSD | NetBSD | OpenBSD)
;;
* ) echo "$OSTYPE not supported. Sorry."
exit
@@ -118,6 +118,15 @@
OPTIMIZE="-O4"
PROFILE="-pg"
;;
+ OpenBSD ) CC="gcc"
+ WFLAGS=$GCCWFLAGS
+ INCLUDE="-I/usr/local/include"
+ LDLIBS="-lm"
+ DEBUG="-g"
+ CHAR="-fsigned-char"
+ OPTIMIZE="-O4"
+ PROFILE="-pg"
+ ;;
NetBSD ) CC="gcc"
WFLAGS=$GCCWFLAGS
INCLUDE="-I/usr/local/include"
@@ -241,9 +250,6 @@
CHECK_FLAG=-fbounds-checking
CHECK_LIB=-lcheck
echo "Enabled bounds checking option"
- else
- DEFS="$DEFS $1"
- echo "Added $1 compile flag"
fi
shift
done

View File

@ -0,0 +1,11 @@
--- Makefile.in.orig Sun Jul 4 17:57:30 1999
+++ Makefile.in Tue Nov 30 19:36:13 1999
@@ -3,7 +3,7 @@
# This probably requires GNU make.
#
-CFLAGS = __WFLAGS__ __DEBUG__ __CHAR__ __PROFILE__ __OPTIMIZE__ __CHECK_FLAG__ __DEFS__ -D__OSTYPE__
+CFLAGS = __WFLAGS__ __DEBUG__ __CHAR__ __PROFILE__ __OPTIMIZE__ __CHECK_FLAG__ __DEFS__
INC = __INCLUDE__
CC = __CC__
AR = __AR__

View File

@ -0,0 +1,20 @@
--- config_unix.h.orig Thu Jun 10 12:15:32 1999
+++ config_unix.h Tue Nov 30 19:36:13 1999
@@ -50,7 +50,7 @@
#include <signal.h>
#include <ctype.h>
-#ifndef __FreeBSD__
+#if !defined(__FreeBSD__) && !defined(__OpenBSD__)
#include <malloc.h>
#endif
#include <stdio.h>
@@ -73,7 +73,7 @@
#include <netdb.h>
#include <arpa/inet.h>
extern int h_errno;
-#if !defined(HPUX) && !defined(Linux) && !defined(__FreeBSD__)
+#if !defined(HPUX) && !defined(Linux) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
#include <stropts.h>
#include <sys/filio.h>
#endif /* HPUX */

View File

@ -1,104 +0,0 @@
*** Makefile.in.orig Sun Jul 4 17:57:30 1999
--- Makefile.in Thu Sep 2 16:45:17 1999
***************
*** 3,9 ****
# This probably requires GNU make.
#
! CFLAGS = __WFLAGS__ __DEBUG__ __CHAR__ __PROFILE__ __OPTIMIZE__ __CHECK_FLAG__ __DEFS__ -D__OSTYPE__
INC = __INCLUDE__
CC = __CC__
AR = __AR__
--- 3,9 ----
# This probably requires GNU make.
#
! CFLAGS = __WFLAGS__ __DEBUG__ __CHAR__ __PROFILE__ __OPTIMIZE__ __CHECK_FLAG__ __DEFS__
INC = __INCLUDE__
CC = __CC__
AR = __AR__
*** config_unix.h.orig Thu Jun 10 12:15:32 1999
--- config_unix.h Thu Sep 2 16:45:17 1999
***************
*** 50,56 ****
#include <signal.h>
#include <ctype.h>
! #ifndef __FreeBSD__
#include <malloc.h>
#endif
#include <stdio.h>
--- 50,56 ----
#include <signal.h>
#include <ctype.h>
! #if !defined(__FreeBSD__) && !defined(__OpenBSD__)
#include <malloc.h>
#endif
#include <stdio.h>
***************
*** 73,79 ****
#include <netdb.h>
#include <arpa/inet.h>
extern int h_errno;
! #if !defined(HPUX) && !defined(Linux) && !defined(__FreeBSD__)
#include <stropts.h>
#include <sys/filio.h>
#endif /* HPUX */
--- 73,79 ----
#include <netdb.h>
#include <arpa/inet.h>
extern int h_errno;
! #if !defined(HPUX) && !defined(Linux) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
#include <stropts.h>
#include <sys/filio.h>
#endif /* HPUX */
*** configure.orig Mon Jun 21 06:53:35 1999
--- configure Thu Sep 2 16:45:56 1999
***************
*** 44,50 ****
;;
HP-UX ) OSTYPE=HPUX
;;
! Linux | IRIX | IRIX64 | FreeBSD | NetBSD )
;;
* ) echo "$OSTYPE not supported. Sorry."
exit
--- 44,50 ----
;;
HP-UX ) OSTYPE=HPUX
;;
! Linux | IRIX | IRIX64 | FreeBSD | NetBSD | OpenBSD)
;;
* ) echo "$OSTYPE not supported. Sorry."
exit
***************
*** 118,123 ****
--- 118,132 ----
OPTIMIZE="-O4"
PROFILE="-pg"
;;
+ OpenBSD ) CC="gcc"
+ WFLAGS=$GCCWFLAGS
+ INCLUDE="-I/usr/local/include"
+ LDLIBS="-lm"
+ DEBUG="-g"
+ CHAR="-fsigned-char"
+ OPTIMIZE="-O4"
+ PROFILE="-pg"
+ ;;
NetBSD ) CC="gcc"
WFLAGS=$GCCWFLAGS
INCLUDE="-I/usr/local/include"
***************
*** 241,249 ****
CHECK_FLAG=-fbounds-checking
CHECK_LIB=-lcheck
echo "Enabled bounds checking option"
- else
- DEFS="$DEFS $1"
- echo "Added $1 compile flag"
fi
shift
done
--- 250,255 ----