After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 565439 - Make pcapparse compile with (mingw32) gcc
Make pcapparse compile with (mingw32) gcc
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Windows
: Normal trivial
: 0.10.10
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-12-23 10:33 UTC by Damien Lespiau
Modified: 2008-12-29 15:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
mingw32 compilation fix for pcapparse (1.04 KB, patch)
2008-12-23 10:33 UTC, Damien Lespiau
committed Details | Review

Description Damien Lespiau 2008-12-23 10:33:20 UTC
Hi !

I have a trivial patch to make gstpcapparse compile with mingw32 gcc:

    * use G_OS_WIN32, not _MSC_VER, to protect windows specific code
    * link with -lws2_32 as we need the _inet_addr@4 and _inet_ntoa@4 symbols

Ole André, I've added you in the CC list as your are the original committer of the code, if I should not have, please tell me so.
Comment 1 Damien Lespiau 2008-12-23 10:33:56 UTC
Created attachment 125188 [details] [review]
mingw32 compilation fix for pcapparse
Comment 2 Wim Taymans 2008-12-29 15:55:18 UTC
        Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>

        * gst/pcapparse/Makefile.am:
        * gst/pcapparse/gstpcapparse.c:
        Patch to make gstpcapparse compile with mingw32 gcc. Fixes #565439.