FreeBSD Bugzilla – Attachment 30853 Details for
Bug 51718
[MAINTAINER UPDATE] Bugfix: audio/lopster
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.07 KB, created by
Roman Shterenzon
on 2003-05-03 15:30:13 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Roman Shterenzon
Created:
2003-05-03 15:30:13 UTC
Size:
2.07 KB
patch
obsolete
>diff -urN /usr/ports/audio/lopster/Makefile lopster/Makefile >--- /usr/ports/audio/lopster/Makefile Sat Apr 19 21:52:38 2003 >+++ lopster/Makefile Wed Apr 30 16:47:25 2003 >@@ -7,7 +7,7 @@ > > PORTNAME= lopster > PORTVERSION= 1.2.0 >-PORTREVISION= 0 >+PORTREVISION= 1 > CATEGORIES= audio > MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} > MASTER_SITE_SUBDIR= ${PORTNAME} >@@ -25,7 +25,24 @@ > CONFIGURE_ARGS= --with-pthread=yes --with-zlib=yes > CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" > >+.include <bsd.port.pre.mk> >+ >+# Make ogg optional >+.if exists(${LOCALBASE}/lib/libogg.so.4) >+WITH_LIBOGG= yes >+.endif >+ >+.if defined(WITH_LIBOGG) >+LIB_DEPENDS+= ogg.4:${PORTSDIR}/audio/libogg >+.endif >+ >+.if defined(WITH_ARTS) >+.endif >+ >+pre-everything: >+ @${ECHO_MSG} "You can specify WITH_LIBOGG to include Ogg support" >+ > post-patch: > @${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" ${WRKSRC}/configure > >-.include <bsd.port.mk> >+.include <bsd.port.post.mk> >diff -urN /usr/ports/audio/lopster/files/patch-src::transfer.c lopster/files/patch-src::transfer.c >--- /usr/ports/audio/lopster/files/patch-src::transfer.c Thu Jan 1 02:00:00 1970 >+++ lopster/files/patch-src::transfer.c Wed Apr 30 16:37:43 2003 >@@ -0,0 +1,30 @@ >+--- src/transfer.c.orig Tue Mar 4 21:08:57 2003 >++++ src/transfer.c Wed Mar 5 23:23:53 2003 >+@@ -5907,6 +5907,7 @@ >+ GtkCList *clist; >+ socket_t *socket; >+ upload_t *upload; >++ share_t *share; >+ int i1; >+ >+ if (!userinfo) return; >+@@ -5915,10 +5916,15 @@ >+ gtk_clist_freeze(clist); >+ for (i1 = 0; i1 < clist->rows; i1++) { >+ socket = gtk_clist_get_row_data(clist, i1); >+- upload = socket->data; >+- if (upload->data->user_info != userinfo) continue; >+- >+- upload_update(socket); >++ if (socket->type == S_UPLOAD) { >++ upload = socket->data; >++ if (upload->data->user_info != userinfo) continue; >++ upload_update(socket); >++ } else if (socket->type == S_SHARE) { >++ share = socket->data; >++ if (share->data->user_info != userinfo) continue; >++ share_update(socket); >++ } >+ } >+ gtk_clist_thaw(clist); >+ }
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 51718
: 30853