aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:35:00 -0800
committerBryan Newbold <bnewbold@robocracy.org>2017-03-03 00:39:27 -0800
commita6a0c2194b7c75882ad2abbb3df64d71b4d539d5 (patch)
tree4e8a5c4a28edb1c87ccf116270ce1395ccfacace
parenta0d7ef9ed4db23c77b5a3470d08a66f2b49f2436 (diff)
downloadscm-a6a0c2194b7c75882ad2abbb3df64d71b4d539d5.zip
scm-a6a0c2194b7c75882ad2abbb3df64d71b4d539d5.tar.gz
correct /usr/local/ paths in docs and shebang
-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