[PATCH 1/1] add t1lib patch

QIAO YANG yangqiao0505 at me.com
Wed Aug 12 14:05:39 UTC 2015


On Aug 12, 2015, at 03:01 AM, Joel Sherrill <joel.sherrill at oarcorp.com> wrote:


>
>
> On 8/12/2015 8:18 AM, QIAO YANG wrote:
>> Hi,
>>
>> So here I patch the configure.in file instead of its output. If this one is good to go, I'll send you the two other patches for microwindows-bset and t1lib-bset , with its' correct patch urls.
>
> The patch has to include the source (configure.in) and generated
> file (configure). Once the patch is applied, the configure script
> should match what would be generated but the end user is not expected
> to be able to generate the configure script.
>
> Include both files and ensure the configure is actually generated
> from the latest configure.in.
 
I've added the generation in the build process. After the configure.in is patched, I regenerate the configure script. Is that ok?

>
>
>> Best wishes
>>
>>
>> On Aug 12, 2015, at 02:16 AM, YANG QIAO <yangqiao0505 at me.com> wrote:
>>
>>> From: YANG Qiao <yangqiao0505 at me.com <mailto:yangqiao0505 at me.com>>
>>>
>>> ---
>>> tools/4.11/t1lib/t1lib-5.1.2.diff | 58 +++++++++++++++++++++++++++++++++++++++
>>> 1 file changed, 58 insertions(+)
>>> create mode 100644 tools/4.11/t1lib/t1lib-5.1.2.diff
>>>
>>> diff --git a/tools/4.11/t1lib/t1lib-5.1.2.diff b/tools/4.11/t1lib/t1lib-5.1.2.diff
>>> new file mode 100644
>>> index 0000000..1c59e2b
>>> --- /dev/null
>>> +++ b/tools/4.11/t1lib/t1lib-5.1.2.diff
>>> @@ -0,0 +1,58 @@
>>> +--- t1lib-5.1.2.orig/configure.in 2015-08-12 14:35:01.064674452 +0200
>>> ++++ t1lib-5.1.2/configure.in 2015-08-12 14:35:05.148674279 +0200
>>> +@@ -225,14 +225,52 @@
>>> +
>>> + dnl **** Check which ANSI integer type is 64 bit
>>> +
>>> +-AC_CACHE_CHECK( "which ANSI integer type is 64 bit", ac_64bit_type,
>>> +- AC_TRY_RUN([
>>> ++echo $ECHO_N "checking \"which ANSI integer type is 64 bit\"... $ECHO_C" >&6
>>> ++if test "${ac_64bit_type+set}" = set; then
>>> ++ echo $ECHO_N "(cached) $ECHO_C" >&6
>>> ++else
>>> ++ if test "$cross_compiling" = yes; then
>>> ++ ac_64bit_type="<none>"
>>> ++else
>>> ++ cat >conftest.$ac_ext <<_ACEOF
>>> ++/* confdefs.h. */
>>> ++_ACEOF
>>> ++cat confdefs.h >>conftest.$ac_ext
>>> ++cat >>conftest.$ac_ext <<_ACEOF
>>> ++/* end confdefs.h. */
>>> ++
>>> + int main(void) {
>>> + if (sizeof(long)==8)
>>> + return(0);
>>> + else
>>> + return(1);
>>> +-}], ac_64bit_type="long", ac_64bit_type="<none>"))
>>> ++}
>>> ++_ACEOF
>>> ++rm -f conftest$ac_exeext
>>> ++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
>>> ++ (eval $ac_link) 2>&5
>>> ++ ac_status=$?
>>> ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
>>> ++ (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
>>> ++ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
>>> ++ (eval $ac_try) 2>&5
>>> ++ ac_status=$?
>>> ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
>>> ++ (exit $ac_status); }; }; then
>>> ++ ac_64bit_type="long"
>>> ++else
>>> ++ echo "$as_me: program exited with status $ac_status" >&5
>>> ++echo "$as_me: failed program was:" >&5
>>> ++sed 's/^/| /' conftest.$ac_ext >&5
>>> ++
>>> ++( exit $ac_status )
>>> ++ac_64bit_type="<none>"
>>> ++fi
>>> ++rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
>>> ++fi
>>> ++fi
>>> ++echo "$as_me:$LINENO: result: $ac_64bit_type" >&5
>>> ++echo "${ECHO_T}$ac_64bit_type" >&6
>>> + if test "$ac_64bit_type" = "long"
>>> + then
>>> + T1_AA_TYPE64="-DT1_AA_TYPE64=long"
>>> --
>>> 2.1.0
>>>
>
> -- 
> Joel Sherrill, Ph.D. Director of Research & Development
> joel.sherrill at OARcorp.com On-Line Applications Research
> Ask me about RTEMS: a free RTOS Huntsville AL 35805
> Support Available (256) 722-9985
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20150812/f4e83e4c/attachment-0002.html>


More information about the devel mailing list