Apache OpenOffice (AOO) Bugzilla – Issue 10701
stlport/win32_sdk.sh uses wrong patchfile.
Last modified: 2003-03-06 10:49:51 UTC
The following patchfile is needed to fix a cut-n-paste error. This only affects w32/tcsh builds.
Created attachment 4316 [details] patch for stlport/win32_sdk.sh
Committed as obvious fix.
Added merge_pending.
Don't use --binary! The win32_sdk.diff file is (mostly) DOS style, _threads.h is UNIX style. Applied: --- stlport/win32_sdk.sh 16 Jan 2003 08:15:34 -0000 1.1.2.1 +++ stlport/win32_sdk.sh 17 Jan 2003 08:07:02 -0000 @@ -5,5 +5,5 @@ cd $1 -cat $2/STLport-4.0_SDK.patch | patch --binary -b -p2 +cat $2/STLport-4.0_SDK.patch | patch -b -p2
Don't ask, this works. -cat $2/STLport-4.0_SDK.patch | patch -b -p2 +patch -i $2/STLport-4.0_SDK.patch -b -p2 Now it uses the same syntax as win32_sdk.bat
Approval for OO643C. Wait for tree to open for patches, approved for OO_STABLE_1 as well. I am curious why we really need another script for the cd and patch however.
stlport/win32_custom.sh needs the same syntax as win32_custom.bat -cat $2/dos_lineends.patch | patch --binary -b -p2 +patch -i %2\dos_lineends.patch -b -p2 Approved and committed as w32/tcsh only patch.
closing as it seems to be fixed for a while now...