copy (from rawhide) using sed to patch fun2val.hpp
This commit is contained in:
parent
abc482e50f
commit
93e9430181
1 changed files with 8 additions and 0 deletions
|
|
@ -150,6 +150,10 @@ sed -i.bak CppAD-%{version}/cppad_lib/CMakeLists.txt \
|
|||
-e "s|print_variable(soversion)|SET(soversion %{soversion} )\n&|" \
|
||||
-e "s|\${cppad_debug_which}|debug_none|"
|
||||
#
|
||||
# Bug fix to version 20240000.3 (not necessary in version 20240000.4 or higher)
|
||||
sed -z -i.bak CppAD-%{version}/include/cppad/local/val_graph/fun2val.hpp \
|
||||
-e 's|\n *break;\(\n[^\n]*}\n[^\n]*-\n[^\n]*else switch(var_op)\n\)|\1|'
|
||||
#
|
||||
# ----------------------------------------------------------------------------
|
||||
# Print machine epsilon before any other testing
|
||||
cat << EOF > temp.cpp
|
||||
|
|
@ -283,6 +287,10 @@ make %{?_smp_mflags} check
|
|||
# This enables one to check that the necessary files are installed.
|
||||
# ----------------------------------------------------------------------------
|
||||
%changelog
|
||||
* Sat Mar 01 2024 Brad Bell <bradbell at seanet dot com> - 20240000.3-2
|
||||
- This fixes a bug in fun2val.hpp. This change will not be necessary
|
||||
- once the upstream source advances to 20240000.4.
|
||||
|
||||
* Tue Feb 20 2024 Brad Bell <bradbell at seanet dot com> - 20240000.3-1
|
||||
- Use in current rawhide to replace cppad.spec as first commit.
|
||||
- Make changes needed for epel9 as second commit; See Epel9 in comments above.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue