- add RCS id to patches
- unified diff for patch-inc_config.h
This commit is contained in:
parent
64de49d209
commit
01acdd46bb
@ -1,5 +1,6 @@
|
|||||||
|
$OpenBSD: patch-Makefile,v 1.4 2001/07/29 19:29:48 brad Exp $
|
||||||
--- Makefile.orig Tue Jul 2 10:36:06 1996
|
--- Makefile.orig Tue Jul 2 10:36:06 1996
|
||||||
+++ Makefile Mon Feb 5 21:12:33 2001
|
+++ Makefile Sun Jul 29 15:24:46 2001
|
||||||
@@ -7,11 +7,13 @@
|
@@ -7,11 +7,13 @@
|
||||||
SASR = -DSASR
|
SASR = -DSASR
|
||||||
######### Define SASR if >> is a signed arithmetic shift (-1 >> 1 == -1)
|
######### Define SASR if >> is a signed arithmetic shift (-1 >> 1 == -1)
|
||||||
@ -16,7 +17,7 @@
|
|||||||
######### Define together with USE_FLOAT_MUL to enable the GSM library's
|
######### Define together with USE_FLOAT_MUL to enable the GSM library's
|
||||||
######### approximation option for incorrect, but good-enough results.
|
######### approximation option for incorrect, but good-enough results.
|
||||||
|
|
||||||
@@ -44,7 +46,7 @@
|
@@ -44,7 +46,7 @@ WAV49 =
|
||||||
# CCFLAGS = -c -O
|
# CCFLAGS = -c -O
|
||||||
|
|
||||||
CC = gcc -ansi -pedantic
|
CC = gcc -ansi -pedantic
|
||||||
@ -25,7 +26,7 @@
|
|||||||
|
|
||||||
LD = $(CC)
|
LD = $(CC)
|
||||||
|
|
||||||
@@ -80,7 +82,7 @@
|
@@ -80,7 +82,7 @@ INSTALL_ROOT =
|
||||||
|
|
||||||
GSM_INSTALL_ROOT = $(INSTALL_ROOT)
|
GSM_INSTALL_ROOT = $(INSTALL_ROOT)
|
||||||
GSM_INSTALL_LIB = $(GSM_INSTALL_ROOT)/lib
|
GSM_INSTALL_LIB = $(GSM_INSTALL_ROOT)/lib
|
||||||
@ -34,7 +35,7 @@
|
|||||||
GSM_INSTALL_MAN = $(GSM_INSTALL_ROOT)/man/man3
|
GSM_INSTALL_MAN = $(GSM_INSTALL_ROOT)/man/man3
|
||||||
|
|
||||||
|
|
||||||
@@ -106,6 +108,9 @@
|
@@ -106,6 +108,9 @@ COMPRESS = compress
|
||||||
COMPRESSFLAGS =
|
COMPRESSFLAGS =
|
||||||
# RANLIB = true
|
# RANLIB = true
|
||||||
RANLIB = ranlib
|
RANLIB = ranlib
|
||||||
@ -44,7 +45,7 @@
|
|||||||
|
|
||||||
#
|
#
|
||||||
# You shouldn't have to configure below this line if you're porting.
|
# You shouldn't have to configure below this line if you're porting.
|
||||||
@@ -136,11 +141,20 @@
|
@@ -136,11 +141,20 @@ CFLAGS = $(CCFLAGS) $(SASR) $(DEBUG) $(M
|
||||||
LFLAGS = $(LDFLAGS) $(LDINC)
|
LFLAGS = $(LDFLAGS) $(LDINC)
|
||||||
######### It's $(LD) $(LFLAGS)
|
######### It's $(LD) $(LFLAGS)
|
||||||
|
|
||||||
@ -65,7 +66,7 @@
|
|||||||
TOAST = $(BIN)/toast
|
TOAST = $(BIN)/toast
|
||||||
UNTOAST = $(BIN)/untoast
|
UNTOAST = $(BIN)/untoast
|
||||||
TCAT = $(BIN)/tcat
|
TCAT = $(BIN)/tcat
|
||||||
@@ -258,6 +272,7 @@
|
@@ -258,6 +272,7 @@ STUFF = ChangeLog \
|
||||||
|
|
||||||
GSM_INSTALL_TARGETS = \
|
GSM_INSTALL_TARGETS = \
|
||||||
$(GSM_INSTALL_LIB)/libgsm.a \
|
$(GSM_INSTALL_LIB)/libgsm.a \
|
||||||
@ -73,7 +74,7 @@
|
|||||||
$(GSM_INSTALL_INC)/gsm.h \
|
$(GSM_INSTALL_INC)/gsm.h \
|
||||||
$(GSM_INSTALL_MAN)/gsm.3 \
|
$(GSM_INSTALL_MAN)/gsm.3 \
|
||||||
$(GSM_INSTALL_MAN)/gsm_explode.3 \
|
$(GSM_INSTALL_MAN)/gsm_explode.3 \
|
||||||
@@ -277,9 +292,12 @@
|
@@ -277,9 +292,12 @@ TOAST_INSTALL_TARGETS = \
|
||||||
$(CC) $(CFLAGS) $?
|
$(CC) $(CFLAGS) $?
|
||||||
@-mv `$(BASENAME) $@` $@ > /dev/null 2>&1
|
@-mv `$(BASENAME) $@` $@ > /dev/null 2>&1
|
||||||
|
|
||||||
@ -87,7 +88,7 @@
|
|||||||
@-echo $(ROOT): Done.
|
@-echo $(ROOT): Done.
|
||||||
|
|
||||||
tst: $(TST)/lin2cod $(TST)/cod2lin $(TOAST) $(TST)/test-result
|
tst: $(TST)/lin2cod $(TST)/cod2lin $(TOAST) $(TST)/test-result
|
||||||
@@ -299,8 +317,11 @@
|
@@ -299,8 +317,11 @@ install: toastinstall gsminstall
|
||||||
|
|
||||||
# The basic API: libgsm
|
# The basic API: libgsm
|
||||||
|
|
||||||
@ -100,7 +101,7 @@
|
|||||||
$(AR) $(ARFLAGS) $(LIBGSM) $(GSM_OBJECTS)
|
$(AR) $(ARFLAGS) $(LIBGSM) $(GSM_OBJECTS)
|
||||||
$(RANLIB) $(LIBGSM)
|
$(RANLIB) $(LIBGSM)
|
||||||
|
|
||||||
@@ -308,14 +329,14 @@
|
@@ -308,14 +329,14 @@ $(LIBGSM): $(LIB) $(GSM_OBJECTS)
|
||||||
# Toast, Untoast and Tcat -- the compress-like frontends to gsm.
|
# Toast, Untoast and Tcat -- the compress-like frontends to gsm.
|
||||||
|
|
||||||
$(TOAST): $(BIN) $(TOAST_OBJECTS) $(LIBGSM)
|
$(TOAST): $(BIN) $(TOAST_OBJECTS) $(LIBGSM)
|
||||||
@ -118,7 +119,7 @@
|
|||||||
$(LN) $(TOAST) $(TCAT)
|
$(LN) $(TOAST) $(TCAT)
|
||||||
|
|
||||||
|
|
||||||
@@ -342,61 +363,49 @@
|
@@ -342,61 +363,49 @@ toastinstall:
|
||||||
|
|
||||||
gsmuninstall:
|
gsmuninstall:
|
||||||
-if [ x"$(GSM_INSTALL_ROOT)" != x ] ; then \
|
-if [ x"$(GSM_INSTALL_ROOT)" != x ] ; then \
|
||||||
@ -198,7 +199,7 @@
|
|||||||
|
|
||||||
|
|
||||||
# Distribution
|
# Distribution
|
||||||
@@ -416,16 +425,16 @@
|
@@ -416,16 +425,16 @@ uninstall: toastuninstall gsmuninstall
|
||||||
@-echo uninstall: Done.
|
@-echo uninstall: Done.
|
||||||
|
|
||||||
semi-clean:
|
semi-clean:
|
||||||
@ -218,7 +219,7 @@
|
|||||||
$(TOAST) $(TCAT) $(UNTOAST) \
|
$(TOAST) $(TCAT) $(UNTOAST) \
|
||||||
$(ROOT)/gsm-1.0.tar.Z
|
$(ROOT)/gsm-1.0.tar.Z
|
||||||
|
|
||||||
@@ -434,29 +443,29 @@
|
@@ -434,29 +443,29 @@ clean: semi-clean
|
||||||
# but aren't generally needed to port this.
|
# but aren't generally needed to port this.
|
||||||
|
|
||||||
$(TLS)/sweet: $(TLS)/sweet.o $(TLS)/taste.o
|
$(TLS)/sweet: $(TLS)/sweet.o $(TLS)/taste.o
|
||||||
@ -253,7 +254,7 @@
|
|||||||
|
|
||||||
|
|
||||||
# Various conversion programs between linear, text, .gsm and the code
|
# Various conversion programs between linear, text, .gsm and the code
|
||||||
@@ -474,21 +483,21 @@
|
@@ -474,21 +483,21 @@ $(TST)/test-result: $(TST)/lin2cod $(TST
|
||||||
( cd $(TST); ./run )
|
( cd $(TST); ./run )
|
||||||
|
|
||||||
$(TST)/lin2txt: $(TST)/lin2txt.o $(LIBGSM)
|
$(TST)/lin2txt: $(TST)/lin2txt.o $(LIBGSM)
|
||||||
|
@ -1,42 +1,26 @@
|
|||||||
*** inc/config.h.orig Tue Jul 2 18:32:27 1996
|
$OpenBSD: patch-inc_config.h,v 1.2 2001/07/29 19:29:48 brad Exp $
|
||||||
--- inc/config.h Fri Oct 25 17:18:49 1996
|
--- inc/config.h.orig Tue Jul 2 10:32:27 1996
|
||||||
***************
|
+++ inc/config.h Sun Jul 29 15:24:46 2001
|
||||||
*** 13,21 ****
|
@@ -13,9 +13,9 @@
|
||||||
/*efine HAS_SYSV_SIGNAL 1 /* sigs not blocked/reset? */
|
/*efine HAS_SYSV_SIGNAL 1 /* sigs not blocked/reset? */
|
||||||
|
|
||||||
#define HAS_STDLIB_H 1 /* /usr/include/stdlib.h */
|
#define HAS_STDLIB_H 1 /* /usr/include/stdlib.h */
|
||||||
! /*efine HAS_LIMITS_H 1 /* /usr/include/limits.h */
|
-/*efine HAS_LIMITS_H 1 /* /usr/include/limits.h */
|
||||||
#define HAS_FCNTL_H 1 /* /usr/include/fcntl.h */
|
+#define HAS_LIMITS_H 1 /* /usr/include/limits.h */
|
||||||
! /*efine HAS_ERRNO_DECL 1 /* errno.h declares errno */
|
#define HAS_FCNTL_H 1 /* /usr/include/fcntl.h */
|
||||||
|
-/*efine HAS_ERRNO_DECL 1 /* errno.h declares errno */
|
||||||
|
+#define HAS_ERRNO_DECL 1 /* errno.h declares errno */
|
||||||
|
|
||||||
#define HAS_FSTAT 1 /* fstat syscall */
|
#define HAS_FSTAT 1 /* fstat syscall */
|
||||||
#define HAS_FCHMOD 1 /* fchmod syscall */
|
#define HAS_FCHMOD 1 /* fchmod syscall */
|
||||||
--- 13,21 ----
|
@@ -28,8 +28,8 @@
|
||||||
/*efine HAS_SYSV_SIGNAL 1 /* sigs not blocked/reset? */
|
/*efine HAS_STRINGS_H 1 /* /usr/include/strings.h */
|
||||||
|
|
||||||
#define HAS_STDLIB_H 1 /* /usr/include/stdlib.h */
|
#define HAS_UNISTD_H 1 /* /usr/include/unistd.h */
|
||||||
! #define HAS_LIMITS_H 1 /* /usr/include/limits.h */
|
-#define HAS_UTIME 1 /* POSIX utime(path, times) */
|
||||||
#define HAS_FCNTL_H 1 /* /usr/include/fcntl.h */
|
-/*efine HAS_UTIMES 1 /* use utimes() syscall instead */
|
||||||
! #define HAS_ERRNO_DECL 1 /* errno.h declares errno */
|
+/*efine HAS_UTIME 1 /* POSIX utime(path, times) */
|
||||||
|
+#define HAS_UTIMES 1 /* use utimes() syscall instead */
|
||||||
#define HAS_FSTAT 1 /* fstat syscall */
|
#define HAS_UTIME_H 1 /* UTIME header file */
|
||||||
#define HAS_FCHMOD 1 /* fchmod syscall */
|
/*efine HAS_UTIMBUF 1 /* struct utimbuf */
|
||||||
***************
|
/*efine HAS_UTIMEUSEC 1 /* microseconds in utimbuf? */
|
||||||
*** 28,35 ****
|
|
||||||
/*efine HAS_STRINGS_H 1 /* /usr/include/strings.h */
|
|
||||||
|
|
||||||
#define HAS_UNISTD_H 1 /* /usr/include/unistd.h */
|
|
||||||
! #define HAS_UTIME 1 /* POSIX utime(path, times) */
|
|
||||||
! /*efine HAS_UTIMES 1 /* use utimes() syscall instead */
|
|
||||||
#define HAS_UTIME_H 1 /* UTIME header file */
|
|
||||||
/*efine HAS_UTIMBUF 1 /* struct utimbuf */
|
|
||||||
/*efine HAS_UTIMEUSEC 1 /* microseconds in utimbuf? */
|
|
||||||
--- 28,35 ----
|
|
||||||
/*efine HAS_STRINGS_H 1 /* /usr/include/strings.h */
|
|
||||||
|
|
||||||
#define HAS_UNISTD_H 1 /* /usr/include/unistd.h */
|
|
||||||
! /*efine HAS_UTIME 1 /* POSIX utime(path, times) */
|
|
||||||
! #define HAS_UTIMES 1 /* use utimes() syscall instead */
|
|
||||||
#define HAS_UTIME_H 1 /* UTIME header file */
|
|
||||||
/*efine HAS_UTIMBUF 1 /* struct utimbuf */
|
|
||||||
/*efine HAS_UTIMEUSEC 1 /* microseconds in utimbuf? */
|
|
||||||
|
Loading…
Reference in New Issue
Block a user