Fails to build against recent versions of glib2.0

Bug #1277864 reported by Andreas Moog
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gimmix
Fix Released
Undecided
priyank

Bug Description

It appears that recent versions of glib2.0 include /usr/include/dirent.h in their gdir.h header file, which declares:

typedef struct __dirstream DIR;

This clashes with gimmix' declaration in src/gimmix-playlist.c:

typedef enum {
        SONG = 1,
        DIR,
        PLAYLIST
} GimmixFileType;

A simple solution would be to rename DIR to GIMMIX_DIR to seperate namespaces, see attached patch.

Tags: patch
Revision history for this message
Andreas Moog (ampelbein) wrote :
Revision history for this message
priyank (priyankmg) wrote :

Committed. A new release (0.5.7.2) should be out soon.

Thanks.

Changed in gimmix:
status: New → Fix Committed
assignee: nobody → priyank (priyankmg)
Revision history for this message
priyank (priyankmg) wrote :
Changed in gimmix:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.