tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/audio/pulseaudio



Robert Elz wrote:
    Date:        Mon, 22 Dec 2008 16:34:44 -0500
    From:        "Jared D. McNeill" <jmcneill%netbsd.org@localhost>
    Message-ID:  
<41d6f0b90812221334l1347441u82565ae9da703e42%mail.gmail.com@localhost>

  | Can you try the following patch to the patch;

Sure, further, but not all the way ...

 cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I/pkg_comp/obj/pkgsrc/audio/pulseaudio/4x/.buildlink/include -I/pkg_comp/obj/pkgsrc/audio/pulseaudio/4x/.buildlink/include/freetype2 
-I../src -I../src/modules -I../src/modules/rtp -I../src/modules/gconf -I../src/modules/bluetooth -pthread -D_POSIX_PTHREAD_SEMANTICS 
-DPA_DLSEARCHPATH=\"/usr/pkg/lib/pulse-0.9/modules/\" -DPA_DEFAULT_CONFIG_DIR=\"/usr/pkg/etc/pulse\" -DPA_BINARY=\"/usr/pkg/bin/pulseaudio\" 
-DPA_SYSTEM_RUNTIME_PATH=\"/var/run/pulse\" -DPA_SYSTEM_CONFIG_PATH=\"/var/lib/pulse\" -DPA_SYSTEM_STATE_PATH=\"/var/lib/pulse\" -DAO_REQUIRE_CAS 
-DPULSE_LOCALEDIR=\"/usr/pkg/share/locale\" -DPA_MACHINE_ID=\"/var/lib/dbus/machine-id\" "-DDEBUG_TRAP=__asm__(\"int \$3\")" -O2 -Wall -W 
-Wextra -pedantic -pipe -Wno-long-long -Wconversion -Wundef -Wformat -Wpacked -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition 
-Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstri
c!
 t-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels 
-Wpointer-arith -Wcast-align -Wwrite-strings -Wno-unused-parameter -ffast-math 
-MT libpulsedsp_la-padsp.lo -MD -MP -MF .deps/libpulsedsp_la-padsp.Tpo -c 
utils/padsp.c  -fPIC -DPIC -o .libs/libpulsedsp_la-padsp.o
utils/padsp.c: In function 'sndstat_open':
utils/padsp.c:1450: warning: passing argument 2 of 'lseek' with different width 
due to prototype
utils/padsp.c: In function 'dsp_ioctl':
utils/padsp.c:2062: error: 'SNDCTL_DSP_GETODELAY' undeclared (first use in this 
function)
utils/padsp.c:2062: error: (Each undeclared identifier is reported only once
utils/padsp.c:2062: error: for each function it appears in.)

Try adding around line 62:

#if !defined(SNDCTL_DSP_GETODELAY)
#define SNDCTL_DSP_GETODELAY    _IOR ('P', 23, int)
#endif

Cheers,
Jared


Home | Main Index | Thread Index | Old Index