actual/packages/node-libofx/OpenSP-1.5.2/sunfix.sh
2022-04-28 22:44:38 -04:00

10 lines
248 B
Bash

#!/bin/sh
# Sun C++ 4.0.1 gets confused by the macros in include/NCVector.h.
cd include
mv NCVector.h NCVector.h.dist
sed -f NCVector.sed Vector.h >NCVector.h
chmod -w NCVector.h
sed -f NCVector.sed Vector.cxx >NCVector.cxx
chmod -w NCVector.cxx