FreeBSD Bugzilla – Attachment 117337 Details for
Bug 159422
Update port: audio/gogo to 3.13
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 7.72 KB, created by
tkato432
on 2011-08-03 19:40:13 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
tkato432
Created:
2011-08-03 19:40:13 UTC
Size:
7.72 KB
patch
obsolete
>diff -urN /usr/ports/audio/gogo/Makefile audio/gogo/Makefile >--- /usr/ports/audio/gogo/Makefile 2008-08-23 15:26:06.000000000 +0900 >+++ audio/gogo/Makefile 2011-08-02 22:03:15.000000000 +0900 >@@ -6,57 +6,51 @@ > # > > PORTNAME= gogo >-PORTVERSION= 2.39b >-PORTREVISION= 1 >+PORTVERSION= 3.13 > CATEGORIES= audio >-MASTER_SITES= ftp://ftp.csie.ncu.edu.tw/FreeBSD/ports/distfiles/ \ >- ftp://ftp.thu.edu.tw/FreeBSD/ports/distfiles/ \ >- ftp://ftp.42.org/pub/FreeBSD/distfiles/ >- >-DISTNAME= gogo239b >+MASTER_SITES= http://homepage2.nifty.com/kei-i/petit/ >+DISTNAME= petit313 > EXTRACT_SUFX= .tgz > > MAINTAINER= ports@FreeBSD.org > COMMENT= Very fast MP3 encoder using recent x86 processors' features > >-OPTIONS= THREADS "Use linuxthreads for increased SMP performance" off >+LICENSE= LGPL20 >+LICENSE_FILE= ${WRKSRC}/COPYING > > # More than version 0.98 > BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm > >-USE_GMAKE= yes >-ALL_TARGET= gogo >-MAKE_ARGS= CC="${CC}" LD="${CC}" >- > RESTRICTED= Condition is not clear > ONLY_FOR_ARCHS= i386 > >-PLIST_FILES= bin/cdda2mp3.gogo bin/gogo >+USE_GMAKE= yes >+GNU_CONFIGURE= yes >+ >+CFLAGS+= -fomit-frame-pointer -ffast-math -funroll-loops >+ > PORTDOCS= cdda2mp3.gogo.en cdda2mp3.gogo.ja >+PLIST_FILES= bin/cdda2mp3.gogo bin/gogo > >-# A sample of heavily optimized CFLAGS(typically used with pgcc). >-# Recommended ONLY for benchmarks. >-# CFLAGS=-march=pentiumpro -O6 -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -foptimize-register-move -ffast-math -fdefer-pop -mfancy-math-387 >- >-.include <bsd.port.pre.mk> >- >-.if defined(WITHOUT_THREADS) >-MAKE_ARGS+= "USE_MT=no" >-.else >-MAKE_ARGS+= "USE_MT=yes" >-LIB_DEPENDS= lthread.3:${PORTSDIR}/devel/linuxthreads >-.endif >+post-extract: >+ @${TOUCH} ${WRKSRC}/readme.txt >+ >+post-patch: >+ @${REINPLACE_CMD} -e \ >+ 's|-lpthread|${PTHREAD_LIBS}|g ; \ >+ s| -pipe| $${CFLAGS}|g ; \ >+ s|^CFLAGS|#CFLAGS|g' ${WRKSRC}/configure > > do-install: > ${INSTALL_PROGRAM} ${WRKSRC}/gogo ${PREFIX}/bin >- ${INSTALL_SCRIPT} ${WRKSRC}/contrib/cdda2mp3.bsd \ >+ ${INSTALL_SCRIPT} ${WRKSRC}/contrib/cdda2mp3/cdda2mp3.bsd \ > ${PREFIX}/bin/cdda2mp3.gogo > .if !defined(NOPORTDOCS) >- ${MKDIR} ${PREFIX}/share/doc/gogo >- ${INSTALL_DATA} ${WRKSRC}/contrib/cdda2mp3.txt \ >- ${PREFIX}/share/doc/gogo/cdda2mp3.gogo.en >- ${INSTALL_DATA} ${WRKSRC}/contrib/cdda2mp3.euc \ >- ${PREFIX}/share/doc/gogo/cdda2mp3.gogo.ja >+ @${MKDIR} ${DOCSDIR} >+ ${INSTALL_DATA} ${WRKSRC}/contrib/cdda2mp3/cdda2mp3.txt \ >+ ${DOCSDIR}/cdda2mp3.gogo.en >+ ${INSTALL_DATA} ${WRKSRC}/contrib/cdda2mp3/cdda2mp3.euc \ >+ ${DOCSDIR}/cdda2mp3.gogo.ja > .endif > >-.include <bsd.port.post.mk> >+.include <bsd.port.mk> >diff -urN /usr/ports/audio/gogo/distinfo audio/gogo/distinfo >--- /usr/ports/audio/gogo/distinfo 2011-03-20 02:13:45.000000000 +0900 >+++ audio/gogo/distinfo 2011-08-02 21:25:17.000000000 +0900 >@@ -1,2 +1,2 @@ >-SHA256 (gogo239b.tgz) = 4e6e5e78d9f33b4baad5107ef506d978d99891b0fee9df83ac1dfb7ba49c359d >-SIZE (gogo239b.tgz) = 293494 >+SHA256 (petit313.tgz) = 8dfb28f0af57c3b442cf9ceafdab903358e27a7a1aa905b5cebd66df804c71f1 >+SIZE (petit313.tgz) = 389322 >diff -urN /usr/ports/audio/gogo/files/patch-ac audio/gogo/files/patch-ac >--- /usr/ports/audio/gogo/files/patch-ac 2005-04-19 22:55:25.000000000 +0900 >+++ audio/gogo/files/patch-ac 1970-01-01 09:00:00.000000000 +0900 >@@ -1,32 +0,0 @@ >---- Makefile.orig Sat Jan 6 22:36:06 2001 >-+++ Makefile Sun Jan 7 06:15:55 2001 >-@@ -12,8 +12,8 @@ >- # This option is available for gcc-2.8.x >- #CC=gcc -c -mcpu=pentiumpro -malign-double -O6 -fstrength-reduce -fexpensive-optimizations -finline-functions -fomit-frame-pointer -funroll-loops >- # This option is available for gcc-2.95.1, gcc-2.95.2, gcc-2.95.3,... on P6 or later >- #CC=gcc -c -mcpu=pentiumpro -march=pentiumpro -O9 -fstrength-reduce -fexpensive-optimizations -finline-functions -fomit-frame-pointer -funroll-loops -ffast-math -foptimize-register-move -fdefer-pop -mfancy-math-387 >--CFLAGS=-Wall $(PROF) -DNDEBUG $(E3DN) $(VBR) -DRAW_INPUT >-+CFLAGS+=-Wall $(PROF) -DNDEBUG $(E3DN) $(VBR) -DRAW_INPUT >- >- >- # OS specific definition >-@@ -62,8 +62,8 @@ >- ifeq ($(OS),FreeBSD) >- CFLAGS+= -DDISPLAY_REALTIME >- ifeq ($(USE_MT),yes) >-- LIBS+= -L/usr/local/lib -llthread -llgcc_r >-- CFLAGS+= -DUSE_PTHREAD -D_THREAD_SAFE -I/usr/local/include/pthread/linuxthreads >-+ LIBS+= -L${LOCALBASE}/lib -llthread -llgcc_r >-+ CFLAGS+= -DUSE_PTHREAD -D_THREAD_SAFE -I${LOCALBASE}/include/pthread/linuxthreads >- endif >- endif >- ifeq ($(OS),OpenBSD) >-@@ -110,7 +110,7 @@ >- # $(AS) $(ASFLAGS) $< -o $@ >- >- .c.o: >-- $(CC) $(CFLAGS) $< >-+ $(CC) -c $(CFLAGS) $< >- >- >- clean: >diff -urN /usr/ports/audio/gogo/files/patch-engine__i386__cpu.c audio/gogo/files/patch-engine__i386__cpu.c >--- /usr/ports/audio/gogo/files/patch-engine__i386__cpu.c 1970-01-01 09:00:00.000000000 +0900 >+++ audio/gogo/files/patch-engine__i386__cpu.c 2011-08-02 21:41:51.000000000 +0900 >@@ -0,0 +1,10 @@ >+--- engine/i386/cpu.c.orig 2003-10-05 09:50:36.000000000 +0900 >++++ engine/i386/cpu.c 2011-08-02 21:40:31.000000000 +0900 >+@@ -12,6 +12,7 @@ >+ #include <pthread.h> >+ #include <semaphore.h> >+ #if defined(__FreeBSD__) >++ #include <sys/types.h> >+ #include <sys/sysctl.h> >+ #endif >+ #endif >diff -urN /usr/ports/audio/gogo/files/patch-engine__i386__fftsse.nas audio/gogo/files/patch-engine__i386__fftsse.nas >--- /usr/ports/audio/gogo/files/patch-engine__i386__fftsse.nas 1970-01-01 09:00:00.000000000 +0900 >+++ audio/gogo/files/patch-engine__i386__fftsse.nas 2011-08-02 21:49:33.000000000 +0900 >@@ -0,0 +1,25 @@ >+--- engine/i386/fftsse.nas.orig 2003-10-05 09:50:37.000000000 +0900 >++++ engine/i386/fftsse.nas 2011-08-02 21:49:00.000000000 +0900 >+@@ -23,14 +23,14 @@ >+ Q_SQRT2 dd 1.41421356237, 1.41421356237, 1.41421356237, 1.41421356237 >+ >+ Q_1 dd 1.0, 1.0, 1.0, 1.0 >+-costab dd 9.238795325112867e-01F, 9.238795325112867e-01F, 9.238795325112867e-01F, 9.238795325112867e-01F >+- dd 3.826834323650898e-01F, 3.826834323650898e-01F, 3.826834323650898e-01F, 3.826834323650898e-01F >+- dd 9.951847266721969e-01F, 9.951847266721969e-01F, 9.951847266721969e-01F, 9.951847266721969e-01F >+- dd 9.801714032956060e-02F, 9.801714032956060e-02F, 9.801714032956060e-02F, 9.801714032956060e-02F >+- dd 9.996988186962042e-01F, 9.996988186962042e-01F, 9.996988186962042e-01F, 9.996988186962042e-01F >+- dd 2.454122852291229e-02F, 2.454122852291229e-02F, 2.454122852291229e-02F, 2.454122852291229e-02F >+- dd 9.999811752826011e-01F, 9.999811752826011e-01F, 9.999811752826011e-01F, 9.999811752826011e-01F >+- dd 6.135884649154475e-03F, 6.135884649154475e-03F, 6.135884649154475e-03F, 6.135884649154475e-03F >++costab dd 9.238795325112867e-01, 9.238795325112867e-01, 9.238795325112867e-01, 9.238795325112867e-01 >++ dd 3.826834323650898e-01, 3.826834323650898e-01, 3.826834323650898e-01, 3.826834323650898e-01 >++ dd 9.951847266721969e-01, 9.951847266721969e-01, 9.951847266721969e-01, 9.951847266721969e-01 >++ dd 9.801714032956060e-02, 9.801714032956060e-02, 9.801714032956060e-02, 9.801714032956060e-02 >++ dd 9.996988186962042e-01, 9.996988186962042e-01, 9.996988186962042e-01, 9.996988186962042e-01 >++ dd 2.454122852291229e-02, 2.454122852291229e-02, 2.454122852291229e-02, 2.454122852291229e-02 >++ dd 9.999811752826011e-01, 9.999811752826011e-01, 9.999811752826011e-01, 9.999811752826011e-01 >++ dd 6.135884649154475e-03, 6.135884649154475e-03, 6.135884649154475e-03, 6.135884649154475e-03 >+ >+ align 32 >+ revLongInit db 0x00, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80 >diff -urN /usr/ports/audio/gogo/pkg-descr audio/gogo/pkg-descr >--- /usr/ports/audio/gogo/pkg-descr 2000-06-05 19:19:39.000000000 +0900 >+++ audio/gogo/pkg-descr 2011-08-02 21:22:18.000000000 +0900 >@@ -9,4 +9,4 @@ > Overclocking may cause serious internal errors and crazy results. > Or you need gigantic heatsink and extra-noisy fans. :-) > >-WWW: http://homepage1.nifty.com/herumi/gogo_e.html >+WWW: http://www.marinecat.net/free/windows/mct_free.htm
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 159422
: 117337