FreeBSD Bugzilla – Attachment 146547 Details for
Bug 193154
audio/gogglesmm: Update to version 0.13.3
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
audio_gogglesmm.diff
audio_gogglesmm.diff (text/plain), 5.67 KB, created by
tkato432
on 2014-08-30 18:30:54 UTC
(
hide
)
Description:
audio_gogglesmm.diff
Filename:
MIME Type:
Creator:
tkato432
Created:
2014-08-30 18:30:54 UTC
Size:
5.67 KB
patch
obsolete
>diff -urN /usr/ports/audio/gogglesmm/Makefile audio/gogglesmm/Makefile >--- /usr/ports/audio/gogglesmm/Makefile 2014-08-28 03:48:24.000000000 +0900 >+++ audio/gogglesmm/Makefile 2014-08-31 00:00:00.000000000 +0900 >@@ -2,8 +2,9 @@ > # $FreeBSD: head/audio/gogglesmm/Makefile 366320 2014-08-27 12:53:29Z wg $ > > PORTNAME= gogglesmm >-PORTVERSION= 0.13.2 >+PORTVERSION= 0.13.3 > CATEGORIES= audio >+MASTER_SITES= GH > > MAINTAINER= ports@FreeBSD.org > COMMENT= Music collection manager and player >@@ -17,9 +18,9 @@ > > USE_GITHUB= yes > GH_ACCOUNT= ${PORTNAME} >-GH_COMMIT= ea16b55 >+GH_COMMIT= 259f253 > >-USES= compiler:nestedfct desktop-file-utils gmake pkgconfig >+USES= desktop-file-utils gmake pkgconfig > USE_SQLITE= yes > HAS_CONFIGURE= yes > CONFIGURE_ENV= LINK="${CXX}" \ >@@ -30,7 +31,6 @@ > --without-rsound --without-mpcdec > INSTALLS_ICONS= yes > >-CFLAGS+= -Wno-error=return-type > CFLAGS+= -I${LOCALBASE}/include > LDFLAGS+= -L${LOCALBASE}/lib -pthread > >@@ -85,6 +85,20 @@ > WAVPACK_LIB_DEPENDS= libwavpack.so:${PORTSDIR}/audio/wavpack > WAVPACK_CONFIGURE_OFF= --without-wavpack > >+.include <bsd.port.options.mk> >+ >+.if ${OSVERSION} < 900000 >+USES+= compiler:c++0x >+.else >+USES+= compiler >+.endif >+ >+.include <bsd.port.pre.mk> >+ >+.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 34 >+USE_GCC= yes >+.endif >+ > post-patch: > @${REINPLACE_CMD} -e \ > 's|share/man|man|' ${WRKSRC}/configure >@@ -111,4 +125,4 @@ > @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} > @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/gogglesmm/libgap_*.so > >-.include <bsd.port.mk> >+.include <bsd.port.post.mk> >diff -urN /usr/ports/audio/gogglesmm/distinfo audio/gogglesmm/distinfo >--- /usr/ports/audio/gogglesmm/distinfo 2014-08-28 03:48:24.000000000 +0900 >+++ audio/gogglesmm/distinfo 2014-08-31 00:00:00.000000000 +0900 >@@ -1,2 +1,2 @@ >-SHA256 (gogglesmm-0.13.2.tar.gz) = d6f577c06b420dcab813a56672c07434b034f30aad0cfc379b9b2a6c20d75e3f >-SIZE (gogglesmm-0.13.2.tar.gz) = 1336120 >+SHA256 (gogglesmm-0.13.3.tar.gz) = e52695d3e2d328e047ba127bdc960e3935f2f19cfeb8bf99ecc202826ca09ea8 >+SIZE (gogglesmm-0.13.3.tar.gz) = 1336269 >diff -urN /usr/ports/audio/gogglesmm/files/patch-src__gap__ap_reactor.cpp audio/gogglesmm/files/patch-src__gap__ap_reactor.cpp >--- /usr/ports/audio/gogglesmm/files/patch-src__gap__ap_reactor.cpp 2014-08-28 03:48:23.000000000 +0900 >+++ audio/gogglesmm/files/patch-src__gap__ap_reactor.cpp 1970-01-01 09:00:00.000000000 +0900 >@@ -1,30 +0,0 @@ >---- src/gap/ap_reactor.cpp.orig >-+++ src/gap/ap_reactor.cpp >-@@ -98,17 +98,27 @@ >- #ifndef WIN32 >- FXint n; >- if (timeout>=0) { >-+#ifdef _GNU_SOURCE >- struct timespec ts; >- ts.tv_sec = timeout / 1000000000; >- ts.tv_nsec = timeout % 1000000000; >-+#endif >- do { >-+#ifdef _GNU_SOURCE >- n = ppoll(pfds,nfds,&ts,NULL); >-+#else >-+ n = poll(pfds,nfds,-1); >-+#endif >- } >- while(n==-1 && errno==EINTR); >- } >- else { >- do { >-+#ifdef _GNU_SOURCE >- n = ppoll(pfds,nfds,NULL,NULL); >-+#else >-+ n = poll(pfds,nfds,0); >-+#endif >- } >- while(n==-1 && errno==EINTR); >- } >diff -urN /usr/ports/audio/gogglesmm/files/patch-src__gap__ap_socket.cpp audio/gogglesmm/files/patch-src__gap__ap_socket.cpp >--- /usr/ports/audio/gogglesmm/files/patch-src__gap__ap_socket.cpp 2014-08-28 03:48:23.000000000 +0900 >+++ audio/gogglesmm/files/patch-src__gap__ap_socket.cpp 2014-08-31 00:00:00.000000000 +0900 >@@ -1,10 +1,19 @@ > --- src/gap/ap_socket.cpp.orig > +++ src/gap/ap_socket.cpp >-@@ -18,6 +18,7 @@ >- ********************************************************************************/ >- #include "ap_defs.h" >- #include "ap_socket.h" >-+#include "ap_utils.h" >+@@ -41,14 +41,14 @@ >+ #ifndef SOCK_CLOEXEC >+ if (!ap_set_closeonexec(device)){ >+ ::close(device); >+- return BadHandle; >++ return; >+ } >+ #endif > >- >- #ifndef WIN32 >+ #ifndef SOCK_NONBLOCK >+ if (access&FXIO::NonBlocking && !ap_set_nonblocking(device)){ >+ ::close(device); >+- return BadHandle; >++ return; >+ } >+ #endif >+ } >diff -urN /usr/ports/audio/gogglesmm/files/patch-src__gap__ap_utils.cpp audio/gogglesmm/files/patch-src__gap__ap_utils.cpp >--- /usr/ports/audio/gogglesmm/files/patch-src__gap__ap_utils.cpp 2014-08-28 03:48:23.000000000 +0900 >+++ audio/gogglesmm/files/patch-src__gap__ap_utils.cpp 1970-01-01 09:00:00.000000000 +0900 >@@ -1,30 +0,0 @@ >---- src/gap/ap_utils.cpp.orig >-+++ src/gap/ap_utils.cpp >-@@ -247,17 +247,27 @@ >- nfds=2; >- } >- if (timeout) { >-+#ifdef _GNU_SOURCE >- struct timespec ts; >- ts.tv_sec = (timeout / 1000000000); >- ts.tv_nsec = (timeout % 1000000000); >-+#endif >- do { >-+#ifdef _GNU_SOURCE >- n=ppoll(fds,nfds,&ts,NULL); >-+#else >-+ n=poll(fds,nfds,-1); >-+#endif >- } >- while(n==-1 && (errno==EAGAIN || errno==EINTR)); >- } >- else { >- do { >-+#ifdef _GNU_SOURCE >- n=ppoll(fds,nfds,NULL,NULL); >-+#else >-+ n=poll(fds,nfds,0); >-+#endif >- } >- while(n==-1 && (errno==EAGAIN || errno==EINTR)); >- } >diff -urN /usr/ports/audio/gogglesmm/files/patch-src__gap__plugins__ap_oss_plugin.cpp audio/gogglesmm/files/patch-src__gap__plugins__ap_oss_plugin.cpp >--- /usr/ports/audio/gogglesmm/files/patch-src__gap__plugins__ap_oss_plugin.cpp 2014-08-28 03:48:23.000000000 +0900 >+++ audio/gogglesmm/files/patch-src__gap__plugins__ap_oss_plugin.cpp 1970-01-01 09:00:00.000000000 +0900 >@@ -1,11 +0,0 @@ >---- src/gap/plugins/ap_oss_plugin.cpp.orig >-+++ src/gap/plugins/ap_oss_plugin.cpp >-@@ -117,7 +117,7 @@ >- #ifdef SNDCTL_DSP_COOKEDMODE >- /// Turn off automatic resampling. >- FXint enabled=(config.flags&OSSConfig::DeviceNoResample) ? 0 : 1; >-- if (ioctl(fd,SNDCTL_DSP_COOKEDMODE,&enabled)==-1) >-+ if (ioctl(handle,SNDCTL_DSP_COOKEDMODE,&enabled)==-1) >- GM_DEBUG_PRINT("[oss] unable to set cooked mode\n"); >- #endif >-
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 193154
:
146547
|
146593
|
146595