summaryrefslogtreecommitdiff
path: root/pc
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2009-03-12 15:17:49 +0100
committerAndreas Gruenbacher <agruen@suse.de>2009-03-12 15:17:49 +0100
commit79159942f17994878f48c5437effff94db5bf910 (patch)
treeb5524e1ef1acba50f342aa16265f7b31c8079dfb /pc
parent957f7b6423cc7a1f87e7e6a4cb4b41c46821d804 (diff)
downloadpatch-79159942f17994878f48c5437effff94db5bf910.tar.gz
Import of patch-2.5.4.tar.gzv2.5.4
Diffstat (limited to 'pc')
-rw-r--r--pc/djgpp/README2
-rw-r--r--pc/djgpp/config.sed5
-rw-r--r--pc/djgpp/configure.sed3
3 files changed, 7 insertions, 3 deletions
diff --git a/pc/djgpp/README b/pc/djgpp/README
index ef1cba7..063480e 100644
--- a/pc/djgpp/README
+++ b/pc/djgpp/README
@@ -7,7 +7,7 @@ To configure `patch' for DJGPP, issue these commands from the
To build `patch' in a directory other than where the sources are,
add a parameter that specifies the source directory, e.g.:
- e:\gnu\patch-2.3\pc\djgpp\configure e:/gnu/patch-2.3
+ e:\src\patch\pc\djgpp\configure e:/src/patch
You MUST use forward slashes to specify the source directory.
diff --git a/pc/djgpp/config.sed b/pc/djgpp/config.sed
index f97d210..70589c0 100644
--- a/pc/djgpp/config.sed
+++ b/pc/djgpp/config.sed
@@ -7,15 +7,18 @@
symbols that <sys/config.h> doesn't define correctly. */\
#include <sys/config.h>
+s/#undef HAVE_DONE_WORKING_MALLOC_CHECK/#define HAVE_DONE_WORKING_MALLOC_CHECK 1/
+s/#undef HAVE_DONE_WORKING_REALLOC_CHECK/#define HAVE_DONE_WORKING_REALLOC_CHECK 1/
s/#undef HAVE_LONG_FILE_NAMES/#define HAVE_LONG_FILE_NAMES 1/
s/#undef HAVE_MEMCMP/#define HAVE_MEMCMP 1/
s/#undef HAVE_MKTEMP/#define HAVE_MKTEMP 1/
s/#undef HAVE_PATHCONF/#define HAVE_PATHCONF 1/
s/#undef HAVE_RAISE/#define HAVE_RAISE 1/
s/#undef HAVE_SIGPROCMASK/#define HAVE_SIGPROCMASK 1/
-s/#undef HAVE_UTIME_H/#define HAVE_UTIME_H 1/
s/#undef HAVE_STRUCT_UTIMBUF/#define HAVE_STRUCT_UTIMBUF 1/
+s/#undef HAVE_UTIME_H/#define HAVE_UTIME_H 1/
s/#undef HAVE_VPRINTF/#define HAVE_VPRINTF 1/
+s/#undef PROTOTYPES/#define PROTOTYPES 1/
s,#undef.*,/* & */,
diff --git a/pc/djgpp/configure.sed b/pc/djgpp/configure.sed
index 6f14c38..f5025da 100644
--- a/pc/djgpp/configure.sed
+++ b/pc/djgpp/configure.sed
@@ -1,5 +1,5 @@
# Edit Makefile.in to produce Makefile for DJGPP v2
-# $Id: configure.sed,v 1.8 1997/06/18 06:26:43 eggert Exp $
+# $Id: configure.sed,v 1.9 1998/03/22 20:16:29 eggert Exp $
1i\
# Makefile generated by "configure.bat" for DJGPP v2\
@@ -20,6 +20,7 @@ s|@LDFLAGS@||g
s|@LIBOBJS@|getopt1.o getopt.o chdirsaf.o|g
s|@LIBS@||g
s|@PACKAGE@|patch|g
+s|@U@||g
/@VERSION@/d
s|@prefix@|${DJDIR}|g