[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How can I make patch for mxe-build ? (was Re: Windows Octave compilation
From: |
Tatsuro MATSUOKA |
Subject: |
How can I make patch for mxe-build ? (was Re: Windows Octave compilation) |
Date: |
Wed, 16 Jul 2014 09:42:42 +0900 (JST) |
I have posted:
http://octave.1599824.n4.nabble.com/Re-Windows-Octave-compilation-td4665267i40.html#a4665493
>> Failed to build package pstoedit!
>> ------------------------------------------------------------
>> make[3]: *** [libpstoedit_la-dynload.lo] Error 1
>> make[3]: Leaving directory
>>
> `/e/usr/Tatsu/mingw32work/octave/mxe-octave/mxe-octave/tmp-pstoedit/pstoedit-3.62/.build/src'
>> make[2]: *** [install-recursive] Error 1
>> make[2]: Leaving directory
>>
> `/e/usr/Tatsu/mingw32work/octave/mxe-octave/mxe-octave/tmp-pstoedit/pstoedit-3.62/.build'
>> make[1]: *** [build-only-pstoedit] Error 2
>> make[1]: Leaving directory
>> `/e/usr/Tatsu/mingw32work/octave/mxe-octave/mxe-octave'
>> real 8m50.839s
>> user 0m20.291s
>> sys 1m49.394s
>> ------------------------------------------------------------
>> [log]
> /e/usr/Tatsu/mingw32work/octave/mxe-octave/mxe-octave/log/pstoedit
>>
>> The log file is attached.
>> The origin of the error, very MS-win like functions, strcpy_s, and
> strcat_s.
>> These can be replaced by strncpy and strncat, respectively.
>>
> Sorry I have mislead. MinGW-w64 (32 and 64 bit) has a definition verry MS
> like
> secure functions like (function name)_s. The definition of in pstoedit and
> MinGW-w64 seems to be inconsistent.
To overcome this issue, the patch is needed. In src directory, there are patch
files related to each dependency exist. For example, for gnuplot,
gnuplot-1-fixes.patch and gnuplot-2-win64.patch exist and applied them before
the build process. How can I make such patch for pstoedit? In the each mk
file, patch file does not refer.
Perhaps the procedure to apply is described elsewhere. How can I find this?
Regards
Tatsuro
- How can I make patch for mxe-build ? (was Re: Windows Octave compilation),
Tatsuro MATSUOKA <=