helpGnuTLS - Support: sr #108150, Fix for the build using mingw64...


sr #108150: Fix for the build using mingw64 with winphreads library

Submitted by:  Alexey Pavlov <alexpux>
Submitted on:  Wed Oct 3 09:32:01 2012  
Category: NonePriority: 5 - Normal
Severity: 3 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: ClosedOperating System: Microsoft Windows

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Wed Oct 3 10:39:12 2012, comment #2:

I rebuild gnutls and correct the patch.

(file #26685)

Alexey Pavlov <alexpux>
Wed Oct 3 09:56:43 2012, comment #1:

Thank you. Since this also affects the gnulib library, would you like to report it also to upstream? (if not I'll forward your report to them, but I'd prefer not to be the middle man if they have any questions)


Wed Oct 3 09:32:01 2012, original submission:

strtok_r in winpthread is declared as a macro. Therefore, it is necessary to check whether the macro __WINPTHREADS_VERSION is declared. If so, it is necessary to undefine the strtok_r macro.

Alexey Pavlov <alexpux>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files
file #26685:  gnutls-3.1.2-winpthreads-strtok_r.patch added by alexpux (468B - application/octet-stream - Corrected patch)
file #26683:  gnutls-3.1.2-winpthreads-strtok_r.patch added by alexpux (478B - application/octet-stream - patch)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by nmav (Updated the item)
  • -unavailable- added by alexpux (Submitted the item)
  • -unavailable- added by alexpux

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu Feb 6 09:56:00 2014nmavOpen/ClosedOpen=>Closed
    Wed Oct 3 10:39:12 2012alexpuxAttached File-=>Added gnutls-3.1.2-winpthreads-strtok_r.patch, #26685
    Wed Oct 3 09:32:01 2012alexpuxAttached File-=>Added gnutls-3.1.2-winpthreads-strtok_r.patch, #26683
      Carbon-Copy-=>Added alexpux

    Back to the top

    Powered by Savane 3.1-cleanup1