how to patch native pacakge

Kevin Kofler kevin.kofler at chello.at
Fri May 15 14:53:58 UTC 2009


Farkas Levente wrote:
> it's turn out mingw32-libjpeg can't be used since it's contains a few
> typedef (INT32, boolean) which already defined in w32api so it's works as
> a native lib but not as mingw32 lib. i'd like to make a patch for this.
> what's the recommended way for this:
> - should i apply a patch which simply remove these typedefs or
> - add an extra ifdef for these typedef (and which ifdef use for this
> purpose)?

Please see the existing discussion on this issue, somebody already wanted to
patch mingw32-libjpeg that way, but libjpeg upstream said it's wrong,
changing those typedefs breaks ABI compatibility.

        Kevin Kofler




More information about the mingw mailing list