[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

libreadline & bash



The libreadline package I've compiled is out of date.  It fails w/ bash
1.14.7-2 from Davide Barbieri :-( Just forget it.
However, I didn't find libreadline 2.0.1 on your ftp site, Davide.  Moreover,
pre-depends field from your bash package isn't correctly set to check this
conflict.
So I've rebuilt bash to provide libreadline, and put them together to my ftp
site:
	ftp://lix.polytechnique.fr/pub/Linux/debian/binary-sparc/.

You can find them under:
  base/bash_1.14.7-2_sparc.deb
  base/libreadline2_2.0.1-2_sparc.deb
  devel/libreadline2-dev_2.0.1-2_sparc.deb

I don't know what change you have made to bash sources.  Mine is just on one
header file (machines.h): I've copied declarations from Linux/m68k then
customized labels to be sparc.  Apparently it works just fine for me.

Regards.

---cut here---
diff -uNr bash-1.14.7.orig/machines.h bash-1.14.7/machines.h
--- bash-1.14.7.orig/machines.h Thu Jan 30 18:12:21 1997
+++ bash-1.14.7/machines.h      Thu Jan 30 17:37:14 1997
@@ -1011,6 +1011,32 @@
 #  define HAVE_STRCASECMP
 #endif  /* mc68000 && __linux__ */
 
+/* ********************* */
+/*                       */
+/*      Linux/sparc      */
+/*                       */
+/* ********************* */
+#if defined (sparc) && (defined (__linux__) || defined (linux))
+#  define M_MACHINE "sparc"
+#  define M_OS "Linux"
+#  define SYSDEP_CFLAGS -DHAVE_GETDTABLESIZE -DHAVE_BCOPY \
+                         -DHAVE_GETPW_DECLS -DHAVE_GETHOSTNAME
+#  define REQUIRED_LIBRARIES
+#  define USE_TERMCAP_EMULATION
+#  define HAVE_GETGROUPS
+#  define HAVE_STRERROR
+#  define VOID_SIGHANDLER
+#  define HAVE_SYS_SIGLIST
+#  define HAVE_VFPRINTF
+#  define HAVE_VARARGS_H
+#  if defined (__GNUC__)
+#    define HAVE_FIXED_INCLUDES
+#  endif /* __GNUC__ */
+#  undef USE_GNU_MALLOC
+#  undef HAVE_SETLINEBUF
+#  define HAVE_STRCASECMP
+#endif  /* mc68000 && __linux__ */
+
 /* **************************************************************** */
 /*                                                                  */
 /*            Motorola Delta series running System V R3V6/7         */
---cut here---

-- 
 Eric Delaunay                 | "La guerre justifie l'existence des militaires.
 delaunay@lix.polytechnique.fr | En les supprimant." Henri Jeanson (1900-1970)


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-sparc-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: