FreeBSD Bugzilla – Attachment 106171 Details for
Bug 146720
[PATCH] net/rdesktop: add LIBAO and LIBSAMPLERATE options
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
rdesktop-1.6.0_1.patch
rdesktop-1.6.0_1.patch (text/plain), 1.30 KB, created by
Yuri Pankov
on 2010-05-19 04:40:02 UTC
(
hide
)
Description:
rdesktop-1.6.0_1.patch
Filename:
MIME Type:
Creator:
Yuri Pankov
Created:
2010-05-19 04:40:02 UTC
Size:
1.30 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /home/ncvs/ports/net/rdesktop/Makefile,v >retrieving revision 1.47 >diff -u -r1.47 Makefile >--- Makefile 22 Aug 2009 00:31:42 -0000 1.47 >+++ Makefile 19 May 2010 03:16:18 -0000 >@@ -7,7 +7,7 @@ > > PORTNAME= rdesktop > PORTVERSION= 1.6.0 >-PORTREVISION?= 0 >+PORTREVISION?= 1 > CATEGORIES= net comms ipv6 > MASTER_SITES= SF > >@@ -30,6 +30,14 @@ > CONFIGURE_ARGS+= --with-libiconv-prefix=${LOCALBASE} > .endif > >+.if defined(WITH_LIBAO) >+LIB_DEPENDS+= ao.3:${PORTSDIR}/audio/libao >+.endif >+ >+.if defined(WITH_LIBSAMPLERATE) >+LIB_DEPENDS+= samplerate.1:${PORTSDIR}/audio/libsamplerate >+.endif >+ > .if defined(WITH_RDESKTOP_DEBUG) > CONFIGURE_ARGS+= --with-debug\ > --with-debug-kbd\ >@@ -38,10 +46,20 @@ > --with-debug-sound\ > --with-debug-channel\ > --with-debug-seamless >+.endif > > post-configure: >+.if defined(WITH_RDESKTOP_DEBUG) > ${ECHO} "#define WITH_DEBUG_SERIAL 1" >> ${WRKSRC}/rdesktop.h > .endif >+.if !defined(WITH_LIBAO) >+ @${REINPLACE_CMD} -e 's|-DRDPSND_LIBAO=1||;s|rdpsnd_libao.o||;s|-lao||' \ >+ ${WRKSRC}/Makefile >+.endif >+.if !defined(WITH_LIBSAMPLERATE) >+ @${REINPLACE_CMD} -e 's|-DHAVE_LIBSAMPLERATE=1||;s|-lsamplerate||' \ >+ ${WRKSRC}/Makefile >+.endif > > do-install: > ${INSTALL_PROGRAM} ${WRKSRC}/rdesktop ${PREFIX}/bin
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 146720
: 106171