comparison src/of-optim-1-fixes.patch @ 4654:b9e4ebcad82f

disable doc extraction for optim package Disable the rules for extracting doc strings because they don't work when cross compiling. Our patches to the source files don't touch the doc strings, so there is no need to update them anyway.
author John W. Eaton <jwe@octave.org>
date Tue, 10 Apr 2018 07:50:10 -0400
parents 00e61c4a5657
children
comparison
equal deleted inserted replaced
4653:00e61c4a5657 4654:b9e4ebcad82f
125 - catch (octave_execution_exception&) \ 125 - catch (octave_execution_exception&) \
126 + catch (octave::execution_exception&) \ 126 + catch (octave::execution_exception&) \
127 { \ 127 { \
128 err = true; \ 128 err = true; \
129 } 129 }
130 diff -uNr a/src/Makefile.in b/src/Makefile.in
131 --- a/src/Makefile.in 2016-09-18 13:31:55.000000000 -0400
132 +++ b/src/Makefile.in 2018-04-10 07:45:13.400473175 -0400
133 @@ -102,8 +102,8 @@
134 # Docstrings defined as C strings are obtained from a compiled C
135 # program. This should be the cleanest way to correctly get all
136 # special characters defined in these strings.
137 -%.cc.docstrings: %.bin
138 - (echo "### This file is generated automatically from the"; echo "### corresponding .cc file by a Makefile rule."; echo ""; ./$<) > $@
139 +#%.cc.docstrings: %.bin
140 +# (echo "### This file is generated automatically from the"; echo "### corresponding .cc file by a Makefile rule."; echo ""; ./$<) > $@
141 # Explanation of the command after the checks: Macro names are changed
142 # by `sed' so that a different definition can be given to them on the
143 # `cpp' commandline. After running the `cpp' command, one can be sure