pkgsrc-Bugs archive

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

pkg/27094: OpenAL doesn't builds on GNU/Linux



>Number:         27094
>Category:       pkg
>Synopsis:       openal doesn't builds on linux
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 30 22:23:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        Linux 2.6.8.1
>Organization:
        <organization of PR author (multiple lines)>
>Environment:
        <The following information is extracted from your kernel. Please>
        <append output of "ldd", "ident" where relevant (multiple lines).>
System: Linux bare 2.6.8.1 #5 Wed Sep 29 12:02:32 VET 2004 i686 GNU/Linux
Architecture: i686
Machine: i686
>Description:
        openal doesn0t builds on Linux, because the inexistent of some files.
        <precise description of the problem (multiple lines)>
>How-To-Repeat:
        ${PKGSRC_DIR}/audio/openal/# bmake build
        <code/input/activities to reproduce the problem (multiple lines)>
>Fix:
        Apply this patch:

--- Makefile.orig       2004-09-30 02:00:12.000000000 -0400
+++ Makefile    2004-09-30 02:04:31.000000000 -0400
@@ -19,6 +19,13 @@
 USE_MAKEINFO=  YES
 INFO_FILES=    openal.info
 
+post-configure:
+       ${CP} -rf ${WRKSRC}/src/arch/bsd ${WRKSRC}/src/arch/linux
+       ${MV} ${WRKSRC}/src/arch/linux/bsd_dsp.c \
+               ${WRKSRC}/src/arch/linux/lin_dsp.c 
+       ${MV} ${WRKSRC}/src/arch/linux/bsd_dsp.h \
+               ${WRKSRC}/src/arch/linux/lin_dsp.h 
+
 post-install:
        ${INSTALL_DATA} ${WRKSRC}/doc/openal.info ${PREFIX}/info
 
        <how to correct or work around the problem, if known (multiple lines)>
>Release-Note:
>Audit-Trail:
>Unformatted:
        <Please check that the above is correct for the bug being reported,>
        <and append source date of snapshot, if applicable (one line).>



Home | Main Index | Thread Index | Old Index