From a6a0c2194b7c75882ad2abbb3df64d71b4d539d5 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 20 Feb 2017 00:35:00 -0800 Subject: correct /usr/local/ paths in docs and shebang --- debian/patches/not-usr-local.patch | 49 ++++++++++++++++++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 50 insertions(+) create mode 100644 debian/patches/not-usr-local.patch 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 -- cgit v1.2.3