Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 275748 | Differences between
and this patch

Collapse All | Expand All

(-)./platforms/unix/plugins/MIDIPlugin/sqUnixMIDIALSA.inc.orig (+6 lines)
Lines 116-121 Link Here
116
116
117
#include <als./asoundlib.h>
117
#include <als./asoundlib.h>
118
118
119
#if (DEBUG)
120
# define dprintf(...) printf(__VA_ARGS__)
121
#else
122
# define dprintf(...)
123
#endif
124
119
static snd_seq_t *seq      =  0;
125
static snd_seq_t *seq      =  0;
120
static int	  queue    =  0;
126
static int	  queue    =  0;
121
static int	  in_port  = -1;
127
static int	  in_port  = -1;
(-)./platforms/unix/vm-display-fbdev/sqUnixFBDev.c.orig (-8 / +10 lines)
Lines 49-55 Link Here
49
# undef ioMSecs
49
# undef ioMSecs
50
#endif
50
#endif
51
51
52
#include <stdio.h>
52
// we need stdio.h to override glibc's dprintf function
53
// since new glibc has this function with different interface
54
#include <features.h>
55
#ifdef __USE_XOPEN2K8
56
# include <stdio.h>
57
#endif
58
53
#include <time.h>
59
#include <time.h>
54
#include <sys/time.h>
60
#include <sys/time.h>
55
#include <sys/types.h>
61
#include <sys/types.h>
Lines 68-82 Link Here
68
#endif
74
#endif
69
75
70
76
71
static void dprintf(const char *fmt, ...)
72
{
73
#if (DEBUG)
77
#if (DEBUG)
74
  va_list ap;
78
# define dprintf(...) printf(__VA_ARGS__)
75
  va_start(ap, fmt);
79
#else
76
  vprintf(fmt, ap);
80
# define dprintf(...)
77
  va_end(ap);
78
#endif
81
#endif
79
}
80
82
81
static void fatalError(const char *who)
83
static void fatalError(const char *who)
82
{
84
{
(-)./platforms/unix/vm-sound-NAS/sqUnixSoundNAS.c.orig (-4 / +3 lines)
Lines 33-45 Link Here
33
#include <audio/audiolib.h>
33
#include <audio/audiolib.h>
34
#include <assert.h>
34
#include <assert.h>
35
35
36
#ifdef DEBUG
36
#if (DEBUG)
37
# define dprintf printf
37
# define dprintf(...) printf(__VA_ARGS__)
38
#else
38
#else
39
  static void dprintf(char *fmt, ...) {}
39
# define dprintf(...)
40
#endif
40
#endif
41
41
42
43
#ifdef WORDS_BIGENDIAN
42
#ifdef WORDS_BIGENDIAN
44
# define AU_FORMAT	AuFormatLinearSigned16MSB
43
# define AU_FORMAT	AuFormatLinearSigned16MSB
45
#else
44
#else

Return to bug 275748