bugGNU gettext - Bugs: bug #33379, Patches needed for windows...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #33379: Patches needed for windows cross-compilation using mingw

Submitted by:  Maarten Bosmans <mkbosmans>
Submitted on:  Mon 23 May 2011 11:34:56 AM UTC  
 
Category:  Build Severity:  3 - Normal
Item Group:  None Status:  Works For Me
Privacy:  Public Assigned to:  Bruno Haible <haible>
Open/Closed:  Closed

Fri 05 Oct 2018 09:27:42 PM UTC, comment #1:

Thanks for the patches.

1) gettext-0.18.1-win32.patch

For tempname.c: Fixed in gnulib through https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=55201fa44fb9cd1d9b4697144a6bb7da60196f57

For write-java.c and write-csharp.c: Fixed through
https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=commitdiff;h=518c5e284df28ed4eab4847f7eb103e6e97e6ea2

2) gettext-0.18.1-win64.patch

The change regarding uintptr_t is apparently not needed any more.

The change in gettext-tools/woe32dll/export.h was added (in equivalent form) in 2013.

3) gettext-0.18.1-printf.patch

This change is apparently not needed.

4) win32-pthreads.patch

The INSTALL.windows (earlier README.windows) file specifies a build configuration that does NOT use the mingw pthread package. In other words, use of the mingw pthread package is UNSUPPORTED for gettext. Instead, gettext uses gnulib's abstraction for threads, based on native Windows threads.

Bruno Haible <haible>
Project AdministratorIn charge of this item.
Mon 23 May 2011 11:34:56 AM UTC, original submission:

Here are three patches that are needed for cross-compiling with mingw64.

Original at the mingw project of the OpenSUSE BuildService:
https://build.opensuse.org/package/files?package=mingw32-gettext&project=windows%3Amingw%3Awin32

Maarten Bosmans <mkbosmans>

 

Attached Files
file #26723:  win32-pthreads.patch added by jralls (400B - application/octet-stream - Here's another one, required because pthread_t is a struct in some flavors of Win32.)
file #23439:  gettext-0.18.1-win32.patch added by mkbosmans (1KiB - application/octet-stream)
file #23440:  gettext-0.18.1-win64.patch added by mkbosmans (2KiB - application/octet-stream)
file #23441:  gettext-0.18.1-printf.patch added by mkbosmans (2KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by haible (Updated the item)
  • -email is unavailable- added by jralls (Updated the item)
  • -email is unavailable- added by mkbosmans (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

     

     

    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-10-05 haible StatusNone => Works For Me
        Assigned toNone => haible
        Open/ClosedOpen => Closed
    2016-11-27 haible CategoryNone => Build
    2012-10-08 jralls Attached File- => Added win32-pthreads.patch, #26723
    2011-05-23 mkbosmans Attached File- => Added gettext-0.18.1-win32.patch, #23439
        Attached File- => Added gettext-0.18.1-win64.patch, #23440
        Attached File- => Added gettext-0.18.1-printf.patch, #23441

    Back to the top


    Powered by Savane 3.3