[gstreamer-bugs] [Bug 162276] New: gstregistrery.h and gstxmlregistrery.c don't build with mingw
bugzilla-daemon at bugzilla.gnome.org
bugzilla-daemon at bugzilla.gnome.org
Sun Dec 26 11:56:27 PST 2004
http://bugzilla.gnome.org/show_bug.cgi?id=162276
GStreamer | gstreamer (core) | Ver: HEAD CVS
Summary: gstregistrery.h and gstxmlregistrery.c don't build with
mingw
Product: GStreamer
Version: HEAD CVS
Platform: Other
OS/Version: Windows
Status: UNCONFIRMED
Severity: blocker
Priority: Normal
Component: gstreamer (core)
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: torri at iecn.u-nancy.fr
QAContact: gstreamer-bugs at lists.sourceforge.net
When built with mingw, these files ask for S_IRGRP, S_IXGRP, S_IROTH and
S_IXOTH, which are not defined in mingw
in gstxmlregistry.c, line 322, it suffices to replace
#ifdef _MSC_VER
by
#ifdef _WIN32
and in gstregistrery.h, line 39, replace
#define REGISTRY_DIR_PERMS (S_ISGID | \
S_IRUSR | S_IWUSR | S_IXUSR | \
S_IRGRP | S_IXGRP | \
S_IROTH | S_IXOTH)
by
#if defined(_WIN32) && defined(__MINGW32__)
#define REGISTRY_DIR_PERMS (S_ISGID | \
S_IRUSR | S_IWUSR | S_IXUSR)
#else
#define REGISTRY_DIR_PERMS (S_ISGID | \
S_IRUSR | S_IWUSR | S_IXUSR | \
S_IRGRP | S_IXGRP | \
S_IROTH | S_IXOTH)
#endif
the same fix has to be done for REGISTRY_FILE_PERMS (line 44)
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.
More information about the Gstreamer-bugs
mailing list