Contributions to Free Software

Software Projects

Housegrown Software Documentation

Patches

Emacs

W3

A patch to url-file.el, accepted by William M. Perry <wmperry@aventail.com> for inclusion in w3-4.0pre23 (from ChangeLog):
1998-06-18  Stefan Hornburg  <racke@gundel.han.de>

* lisp/url-file.el (url-file): Fixed a regexp that should match drive
  letters.  This fixes a longstanding bug where efs/ange-ftp would get
  invoked instead of looking locally.
diff -r -u w3-4.0pre.21/lisp/url-file.el w3-4.0pre.21-fixed/lisp/url-file.el
--- w3-4.0pre.21/lisp/url-file.el	Mon Jun  8 17:13:58 1998
+++ w3-4.0pre.21-fixed/lisp/url-file.el	Thu Jun 18 17:02:04 1998
@@ -183,7 +183,7 @@
 		       (concat "/" (or user "anonymous") "@" site ":" file)
 		     (if (and (memq system-type
 				    '(emx ms-dos windows-nt ms-windows))
-			      (string-match "^/[a-z][A-Z]:/" file))
+			      (string-match "^/[a-zA-Z]:/" file))
 			 (substring file 1)
 		       file)))
 	 (viewer (mm-mime-info

MEL

Patch in MEL-CFG for Emacs 19.34
diff -u --recursive --new-file mel-6.10.1-orig/MEL-CFG mel-6.10.1/MEL-CFG
--- mel-6.10.1-orig/MEL-CFG	Tue May 13 16:57:21 1997
+++ mel-6.10.1/MEL-CFG	Tue Nov  4 18:15:06 1997
@@ -17,11 +17,12 @@
 (add-to-list 'load-path
 	     (expand-file-name "../../site-lisp/apel" data-directory))
 
-(when (boundp 'LISPDIR)
-  (add-to-list 'default-load-path LISPDIR)
-  (add-to-list 'load-path LISPDIR)
-  (add-to-list 'load-path (expand-file-name "apel" LISPDIR))
-  )
+(if (boundp 'LISPDIR)
+	(progn
+	  (add-to-list 'default-load-path LISPDIR)
+	  (add-to-list 'load-path LISPDIR)
+	  (add-to-list 'load-path (expand-file-name "apel" LISPDIR))
+	  ))
 
 (require 'install)
Accepted by MORIOKA Tomohiko <morioka@jaist.ac.jp> for inclusion in MEL 6.11: (from ChangeLog)
1997-11-04  Stefan Hornburg   <racke@gundel.han.de>

	* MEL-CFG: Use `if' instead of `when' for old
	Emacsen. (cf. [tm-en:1499])

Make

Use Whitespace As Separators

Some users of GNU make doesn't like that GNU make insists on tabs as separators. Try this patch if the infamous error message
*** missing separator. Stop.
upsets you:
--- make-3.76.1/read.c	Wed Aug 27 13:31:24 1997
+++ make-3.76.1-patched/read.c	Mon Nov 16 16:04:09 1998
@@ -401,8 +401,8 @@
       nlines = readline (&lb, infile, filename, lineno);
 
       /* Check for a shell command line first.
-	 If it is not one, we can stop treating tab specially.  */
-      if (lb.buffer[0] == '\t')
+	 If it is not one, we can stop treating whitespace specially.  */
+      if (lb.buffer[0] == '\t' || lb.buffer[0] == ' ')
 	{
 	  /* This line is a probably shell command.  */
 	  unsigned int len;

lftp

Makefile.am fix for lftp-981023

Building fails if regex.h found in system include directory. Alexander V. Lukyano <lav@yars.free.net> confirms that my patch is the correct solution.
--- src/Makefile.am.orig	Sun Oct 25 19:24:57 1998
+++ src/Makefile.am	Sun Oct 25 19:25:11 1998
@@ -46,6 +46,6 @@
 INCLUDES = -I$(top_srcdir)/include
 
 # These files can be linked to ../include by configure, but not always.
-OMIT_DEPENDENCIES = readline.h keymaps.h chardefs.h tilde.h history.h libintl.h
+OMIT_DEPENDENCIES = regex.h readline.h keymaps.h chardefs.h tilde.h history.h libintl.h

rpm2html

Makefile and spelling fixes

diff -u --recursive --new-file rpm2html-0.85-orig/Makefile.in rpm2html-0.85/Makefile.in
--- rpm2html-0.85-orig/Makefile.in	Sat Mar 28 20:29:47 1998
+++ rpm2html-0.85/Makefile.in	Wed Apr 22 01:40:16 1998
@@ -44,7 +44,7 @@
 	$(CC) $(CFLAGS) -o $@ compressor.o $(LIBS)
 
 dir.gif.h : dir.gif compressor
-	compressor dir.gif
+	./compressor dir.gif
 
 depends .depends: dir.gif.h
 	$(CC) $(INCL) $(CCFLAGS) -MM *.c > .depends
diff -u --recursive --new-file rpm2html-0.85-orig/PRINCIPLES rpm2html-0.85/PRINCIPLES
--- rpm2html-0.85-orig/PRINCIPLES	Fri Mar 20 23:32:25 1998
+++ rpm2html-0.85/PRINCIPLES	Wed Apr 22 02:27:30 1998
@@ -4,13 +4,13 @@
 
  The input of rpm2html are:
     1/ a list of configuration files
-    2/ [optionnal] a language message file.
+    2/ [optional] a language message file.
 
- Each configuration file is handled independantly as if
+ Each configuration file is handled independently as if
 if was a new invocation of rpm2html.
 
  A configuration file represents a list of directories
-and a ditribution as a whole. All the references between
+and a distribution as a whole. All the references between
 packages listed in the directories of a single config file
 are marked by hyperlinks in the resulting HTML files. Here
 is the process leading to the creation of the HTML pages:
diff -u --recursive --new-file rpm2html-0.85-orig/rpm2html.1 rpm2html-0.85/rpm2html.1
--- rpm2html-0.85-orig/rpm2html.1	Mon Feb 23 02:18:49 1998
+++ rpm2html-0.85/rpm2html.1	Wed Apr 22 02:55:35 1998
@@ -2,7 +2,7 @@
 .\" Copyright 1998 Daniel Veillard
 .TH rpm2html 1 "22 Feb 1998"
 .SH NAME
-rpm2html \- make an html database from rpm repertory
+rpm2html \- make an html database from rpm repository
 .SH SYNOPSIS
 .B rpm2html 
 .IR 
	
Accepted by Daniel Veillard <Daniel.veillard@w3.org> for inclusion in RPM 0.90: (from CHANGES)
 * Makefile.in (dir.gif.h): Call compressor with path.

RPM

Makefile bug in RPM 2.4.100

diff -u --recursive --new-file rpm-2.4.100-orig/Makefile.inc.in rpm-2.4.100/Makefile.inc.in
--- rpm-2.4.100-orig/Makefile.inc.in	Thu Jan 15 17:44:15 1998
+++ rpm-2.4.100/Makefile.inc.in	Tue Jan 27 03:28:15 1998
@@ -13,7 +13,8 @@
 RPMNLSPACKAGE=rpm
 CFLAGS = @CFLAGS@ @INCPATH@ $(WARNINGS) $(OPTS) -I$(topdir)  -I$(topdir)/lib -I$(topdir)/misc -Wall -Wstrict-prototypes 
-LDFLAGS = @LDFLAGS@ -L$(topdir)/lib -L$(topdir)/build -L$(topdir)/misc
+LDFLAGS = @LDFLAGS@ -L$(topdir)/lib -L$(topdir)/build -L$(topdir)/misc  +	-L$(topdir)/popt
 VERSION = 2.4.100
 CC = @CC@

Bug Reports

cgi.tcl

Missing File download.cgi in cgi.tcl 0.7.5

Acknowledged by Don Libes <libes@cme.nist.gov>.
Written by Stefan Hornburg <racke@gundel.han.de>
Translated from contrib.tcl by Info Prism's sgml2html v0.0.6
Last modified 05 January 1999