aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/patches/not-usr-local.patch49
-rw-r--r--debian/patches/series1
2 files changed, 50 insertions, 0 deletions
diff --git a/debian/patches/not-usr-local.patch b/debian/patches/not-usr-local.patch
new file mode 100644
index 0000000..371d82d
--- /dev/null
+++ b/debian/patches/not-usr-local.patch
@@ -0,0 +1,49 @@
+Index: scm/scm.info
+===================================================================
+--- scm.orig/scm.info
++++ scm/scm.info
+@@ -2583,11 +2583,11 @@ file has (different) meanings to SCM and
+ This combination of interpretatons allows SCM source files to be used as
+ POSIX shell-scripts if the first line is:
+
+- #! /usr/local/bin/scm \
++ #! /usr/bin/scm \
+
+ The following Scheme-Script prints factorial of its argument:
+
+- #! /usr/local/bin/scm \ %0 %*
++ #! /usr/bin/scm \ %0 %*
+ - !#
+
+ (define (fact.script args)
+Index: scm/scm.texi
+===================================================================
+--- scm.orig/scm.texi
++++ scm/scm.texi
+@@ -2284,14 +2284,14 @@ This combination of interpretatons allow
+ POSIX shell-scripts if the first line is:
+
+ @example
+-#! /usr/local/bin/scm \
++#! /usr/bin/scm \
+ @end example
+
+ @noindent
+ The following Scheme-Script prints factorial of its argument:
+
+ @example
+-#! /usr/local/bin/scm \ %0 %*
++#! /usr/bin/scm \ %0 %*
+ - !#
+
+ (define (fact.script args)
+Index: scm/xgen.scm
+===================================================================
+--- scm.orig/xgen.scm
++++ scm/xgen.scm
+@@ -1,4 +1,4 @@
+-#! /usr/local/bin/scm \ %0 %*
++#! /usr/bin/scm \ %0 %*
+ - !#
+ ;;;; "xgen.scm", Convert C Event structs to xevent.h and xevent.scm.
+ ;; Copyright (C) 1991-2000 Free Software Foundation, Inc.
diff --git a/debian/patches/series b/debian/patches/series
index ca72c86..18dc6bb 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
+not-usr-local.patch
kfreebsd_support.patch
texinfo5_fixes.patch