Update of /cvsroot/fink/experimental/shells
In directory usw-pr-cvs1:/tmp/cvs-serv1690/shells

Added Files:
        ash-20020131_1-1.info ash-20020131_1-1.patch 
Log Message:
Importing more stuff.


--- NEW FILE: ash-20020131_1-1.info ---
Package: ash
Version: 20020131_1
Revision: 1
Source: http://core.ring.gr.jp/pub/pc/gnu-win32/release/ash/%n-20020131-1-src.tar.bz2
SourceDirectory: %n-20020131-1
Patch: %f.patch
SetCC: cc
ConfigureParams: --mandir=%p/share/man
InstallScript: <<
make install DESTDIR=%d
mv %i/bin/sh %i/bin/ash
install -d -m 755 %i/share/doc/%n
head -37 ash.1 >%i/share/doc/%n/LICENSE
<<
DocFiles: ChangeLog*
Description: NetBSD /bin/sh
License: BSD
Maintainer: Masanori Sekino <[EMAIL PROTECTED]>

--- NEW FILE: ash-20020131_1-1.patch ---
diff -Naur ash-20020131-1.old/Makefile.in ash-20020131-1.new/Makefile.in
--- ash-20020131-1.old/Makefile.in      Fri Feb  1 07:26:19 2002
+++ ash-20020131-1.new/Makefile.in      Tue Apr  9 20:00:52 2002
@@ -83,7 +83,7 @@
 
 sh_new_MANS = ash.1
 
-CPPFLAGS = -DSMALL -DSHELL -Dlint -Wall -Wunused
+CPPFLAGS = -DSMALL -DSHELL -Dlint -Wall -Wunused -D__unused=
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
 CONFIG_CLEAN_FILES = 
diff -Naur ash-20020131-1.old/cd.c ash-20020131-1.new/cd.c
--- ash-20020131-1.old/cd.c     Sun Apr 15 22:51:45 2001
+++ ash-20020131-1.new/cd.c     Tue Apr  9 19:24:34 2002
@@ -48,6 +48,7 @@
 #include <string.h>
 #include <unistd.h>
 #include <errno.h>
+#include <limits.h>
 
 /*
  * The cd and pwd commands.
@@ -96,9 +97,9 @@
 char *
 getpwd()
 {
-       char buf[MAXPWD];
+       char buf[PATH_MAX];
 
-       if (!getcwd(buf, MAXPWD))
+       if (!getcwd(buf, PATH_MAX))
                return NULL;
 
        return savestr(buf);



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Caffeinated soap. No kidding.
http://thinkgeek.com/sf
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to