diff --git a/make-3.80-getcwd.patch b/make-3.80-getcwd.patch new file mode 100644 index 0000000..e284f42 --- /dev/null +++ b/make-3.80-getcwd.patch @@ -0,0 +1,11 @@ +--- make-3.80/make.h.jj 2002-09-11 12:55:44.000000000 -0400 ++++ make-3.80/make.h 2005-03-07 09:24:53.000000000 -0500 +@@ -474,7 +474,7 @@ extern long int lseek (); + #endif /* Not GNU C library or POSIX. */ + + #ifdef HAVE_GETCWD +-# if !defined(VMS) && !defined(__DECC) ++# if !defined(VMS) && !defined(__DECC) && !defined(getcwd) + extern char *getcwd (); + #endif + #else diff --git a/make.spec b/make.spec index f1e6828..3b462da 100644 --- a/make.spec +++ b/make.spec @@ -11,6 +11,7 @@ Patch: make-3.79.1-noclock_gettime.patch Patch2: make-3.79.1-siglist.patch Patch3: make-3.80-cvs.patch Patch4: make-3.80-j8k.patch +Patch5: make-3.80-getcwd.patch Prereq: /sbin/install-info Prefix: %{_prefix} Buildroot: %{_tmppath}/%{name}-root @@ -32,6 +33,7 @@ commonly used to simplify the process of installing programs. #%patch2 -p1 %patch3 -p0 %patch4 -p1 +%patch5 -p1 %build #autoreconf -f --install @@ -73,7 +75,7 @@ fi %{_infodir}/*.info* %changelog -* Sat Mar 5 2005 Jakub Jelinek 3.80-7 +* Mon Mar 7 2005 Jakub Jelinek 3.80-7 - rebuilt with GCC 4 * Mon Dec 13 2004 Jakub Jelinek 3.80-6