[jira] [Commented] (XERCESC-2155) fix build without pthread

2018-10-12 Thread Fabrice Fontaine (JIRA)


[ 
https://issues.apache.org/jira/browse/XERCESC-2155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16647814#comment-16647814
 ] 

Fabrice Fontaine commented on XERCESC-2155:
---

Dear Roger,

Your alternative patch works, thanks for your quick answer.

I will update the patch sent to buildroot with yours.

Best Regards,

Fabrice

> fix build without pthread
> -
>
> Key: XERCESC-2155
> URL: https://issues.apache.org/jira/browse/XERCESC-2155
> Project: Xerces-C++
>  Issue Type: Bug
>  Components: Build
>Affects Versions: 3.2.2
>Reporter: Fabrice Fontaine
>Priority: Minor
> Attachments: 
> 0001-cmake-XercesMutexMgrSelection-Allow-nothreads-as-a-d.patch, 
> 0001-fix-build-without-pthread.patch
>
>
> If threads is set to OFF, do not fail when pthreads is not available (see 
> attached patch)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: c-dev-h...@xerces.apache.org



[jira] [Commented] (XERCESC-2155) fix build without pthread

2018-10-12 Thread Roger Leigh (JIRA)


[ 
https://issues.apache.org/jira/browse/XERCESC-2155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16647728#comment-16647728
 ] 

Roger Leigh commented on XERCESC-2155:
--

Dear Fabrice,

Thanks for the bug report and patch.  Please could you try the alternative 
patch I've attached here, which is a bit simpler (it allows FindThreads to 
fail, and adjusts the threads option default accordingly).

Thanks,
Roger

> fix build without pthread
> -
>
> Key: XERCESC-2155
> URL: https://issues.apache.org/jira/browse/XERCESC-2155
> Project: Xerces-C++
>  Issue Type: Bug
>  Components: Build
>Affects Versions: 3.2.2
>Reporter: Fabrice Fontaine
>Priority: Minor
> Attachments: 
> 0001-cmake-XercesMutexMgrSelection-Allow-nothreads-as-a-d.patch, 
> 0001-fix-build-without-pthread.patch
>
>
> If threads is set to OFF, do not fail when pthreads is not available (see 
> attached patch)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: c-dev-h...@xerces.apache.org



[jira] [Commented] (XERCESC-2155) fix build without pthread

2018-10-11 Thread Fabrice Fontaine (JIRA)


[ 
https://issues.apache.org/jira/browse/XERCESC-2155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16646997#comment-16646997
 ] 

Fabrice Fontaine commented on XERCESC-2155:
---

Fixes:
 - 
http://autobuild.buildroot.org/results/63cc4d3d69db19d0c639437d6996f881888a926b

> fix build without pthread
> -
>
> Key: XERCESC-2155
> URL: https://issues.apache.org/jira/browse/XERCESC-2155
> Project: Xerces-C++
>  Issue Type: Bug
>  Components: Build
>Affects Versions: 3.2.2
>Reporter: Fabrice Fontaine
>Priority: Minor
> Attachments: 0001-fix-build-without-pthread.patch
>
>
> If threads is set to OFF, do not fail when pthreads is not available (see 
> attached patch)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: c-dev-h...@xerces.apache.org