Fix patch makefile and unfuzzy some early patches.

This commit is contained in:
Andrius Štikonas 2024-05-05 10:09:59 +01:00
parent c22e3dac66
commit 6ade9e0e8a
5 changed files with 8 additions and 7 deletions

View file

@ -17,3 +17,4 @@ diff --color -ru shell.c
-
#ifdef __CYGWIN__
_cygwin32_check_tmp ();
#endif /* __CYGWIN__ */

View file

@ -19,9 +19,9 @@ diff -r -N -U3 Makefile Makefile
# Where you want it installed when you do 'make install'
PREFIX=/usr/local
@@ -44,11 +44,6 @@
@@ -46,11 +46,6 @@
libbz2.a: $(OBJS)
rm -f libbz2.a
$(AR) cq libbz2.a $(OBJS)
- @if ( test -f $(RANLIB) -o -f /usr/bin/ranlib -o \
- -f /bin/ranlib -o -f /usr/ccs/bin/ranlib ) ; then \
@ -31,7 +31,7 @@ diff -r -N -U3 Makefile Makefile
check: test
test: bzip2
@@ -114,7 +108,6 @@
@@ -114,7 +109,6 @@
sample1.tst sample2.tst sample3.tst
blocksort.o: blocksort.c

View file

@ -10,7 +10,7 @@ diff --git scan.l scan.l
index 18d0de8..c251a5e 100644
--- scan.l
+++ scan.l
@@ -334,8 +335,8 @@ LEXOPT [aceknopr]
@@ -335,8 +335,8 @@ LEXOPT [aceknopr]
<SECT2PROLOG>{
@ -21,7 +21,7 @@ index 18d0de8..c251a5e 100644
^{WS}.* ACTION_ECHO; /* indented code in prolog */
@@ -480,11 +481,11 @@ LEXOPT [aceknopr]
@@ -481,11 +481,11 @@ LEXOPT [aceknopr]
}
}

View file

@ -5,7 +5,7 @@
CC = tcc
CFLAGS = -I .
CPPFLAGS = -DHAVE_DECL_GETENV -DHAVE_DECL_MALLOC -DHAVE_DIRENT_H -DHAVE_LIMITS_H -DHAVE_GETEUID -DHAVE_MKTEMP -DPACKAGE_BUGREPORT= -Ded_PROGRAM=\"/nullop\" -Dmbstate_t=void -DRETSIGTYPE=int -DHAVE_MKDIR -DHAVE_RMDIR -DHAVE_FCNTL_H -DPACKAGE_NAME=\"patch\" -DPACKAGE_VERSION=\"2.5.9\" -DHAVE_MALLOC -DHAVE_REALLOC -DSTDC_HEADERS -DHAVE_STRING_H -DHAVE_STDLIB_H
CPPFLAGS = -DHAVE_DECL_GETENV -DHAVE_DECL_MALLOC -DHAVE_DIRENT_H -DHAVE_LIMITS_H -DHAVE_GETEUID -DHAVE_MKTEMP -DPACKAGE_BUGREPORT= -Ded_PROGRAM=\"/nullop\" -Dmbstate_t=void\* -DRETSIGTYPE=int -DHAVE_MKDIR -DHAVE_RMDIR -DHAVE_FCNTL_H -DPACKAGE_NAME=\"patch\" -DPACKAGE_VERSION=\"2.5.9\" -DHAVE_MALLOC -DHAVE_REALLOC -DSTDC_HEADERS -DHAVE_STRING_H -DHAVE_STDLIB_H
LDFLAGS = -static
.PHONY: all

View file

@ -1 +1 @@
728596bca1f67ec8386f312d8738eeb398203505851faad91406c29a299bc748 /usr/bin/patch
b14c139752c048cf2569f9724f2480f242b55e89bd0bb4f3970ff6c4a9390954 /usr/bin/patch