[Nix-dev] mit-scheme: fix for doc compilation

Nomen Nescio nobody at dizum.com
Thu Aug 21 05:27:50 CEST 2014


mit-scheme: fix for doc compilation
---

diff --git a/pkgs/development/compilers/mit-scheme/default.nix b/pkgs/development/compilers/mit-scheme/default.nix
index c025fc8..1e0beb1 100644
--- a/pkgs/development/compilers/mit-scheme/default.nix
+++ b/pkgs/development/compilers/mit-scheme/default.nix
@@ -29,6 +29,9 @@ stdenv.mkDerivation {
       sha256 = "0pclakzwxbqgy6wqwvs6ml62wgby8ba8xzmwzdwhx1v8wv05yw1j";
     };
 
+  # http://savannah.gnu.org/bugs/?38845
+  patches = [ ./make-doc-make.patch ];
+
   configurePhase =
     '' (cd src && ./configure)
        (cd doc && ./configure)
diff --git a/pkgs/development/compilers/mit-scheme/make-doc-make.patch b/pkgs/development/compilers/mit-scheme/make-doc-make.patch
new file mode 100644
index 0000000..bc63670
--- /dev/null
+++ b/pkgs/development/compilers/mit-scheme/make-doc-make.patch
@@ -0,0 +1,61 @@
+diff --git a/doc/ffi/ffi.texinfo b/doc/ffi/ffi.texinfo
+index da6c87e..066501a 100644
+--- a/doc/ffi/ffi.texinfo
++++ b/doc/ffi/ffi.texinfo
+@@ -6,13 +6,13 @@
+ @settitle FFI @value{VERSION}
+ @comment %**end of header
+ 
+- at macro myresult{}
+ @ifhtml
++ at macro myresult{}
+  =>
++ at end macro
+ @end ifhtml
+ @ifnothtml
+- @result{}
++ at alias myresult = result
+ @end ifnothtml
+- at end macro
+ 
+ @copying
+ This manual documents @acronym{FFI} @value{VERSION}.
+diff --git a/doc/imail/imail.texinfo b/doc/imail/imail.texinfo
+index 11088b1..1059401 100644
+--- a/doc/imail/imail.texinfo
++++ b/doc/imail/imail.texinfo
+@@ -36,7 +36,7 @@ Documentation License.''
+ @end direntry
+ 
+ @titlepage
+- at title{IMAIL User's Manual}
++ at title IMAIL User's Manual
+ @subtitle Edition @value{EDITION} for IMAIL @value{VERSION}
+ @subtitle @value{UPDATED}
+ @author by Chris Hanson
+diff --git a/doc/ref-manual/scheme.texinfo b/doc/ref-manual/scheme.texinfo
+index 864d708..ccfb7cb 100644
+--- a/doc/ref-manual/scheme.texinfo
++++ b/doc/ref-manual/scheme.texinfo
+@@ -44,7 +44,7 @@ Documentation License.''
+ @end direntry
+ 
+ @titlepage
+- at title{MIT/GNU Scheme Reference Manual}
++ at title MIT/GNU Scheme Reference Manual
+ @subtitle Edition @value{EDITION} for release @value{VERSION}
+ @subtitle @value{UPDATED}
+ @author by Chris Hanson
+diff --git a/doc/user-manual/user.texinfo b/doc/user-manual/user.texinfo
+index e6942de..4366525 100644
+--- a/doc/user-manual/user.texinfo
++++ b/doc/user-manual/user.texinfo
+@@ -44,7 +44,7 @@ Documentation License.''
+ @end direntry
+ 
+ @titlepage
+- at title{MIT/GNU Scheme User's Manual}
++ at title MIT/GNU Scheme User's Manual
+ @subtitle Edition @value{EDITION} for MIT/GNU Scheme @value{VERSION}
+ @subtitle @value{UPDATED}
+ @author by Stephen Adams



More information about the nix-dev mailing list