ports/68720: update audio/gogo-petit to 3.13
aquatique-ports at rambler.ru
aquatique-ports at rambler.ru
Tue Jul 6 09:00:37 UTC 2004
>Number: 68720
>Category: ports
>Synopsis: update audio/gogo-petit to 3.13
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Tue Jul 06 09:00:37 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Evgueni V. Gavrilov
>Release: FreeBSD 4.10-RELEASE i386
>Organization:
http://rusunix.org
>Environment:
System: FreeBSD rusunix.org 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Thu May 27 18:47:13 OMSST 2004 root at rusunix.org:/usr/obj/usr/src/sys/NEWMONSTER i386
>Description:
update audio/gogo-petit to 3.13
>How-To-Repeat:
patch <
>Fix:
files patch-Makefile.in, patch-engine-common.h, patch-main.c should be removed at all
diff -ruN gogo-petit.OLD/Makefile gogo-petit/Makefile
--- gogo-petit.OLD/Makefile Tue Jul 6 15:02:07 2004
+++ gogo-petit/Makefile Tue Jul 6 15:51:23 2004
@@ -6,13 +6,13 @@
#
PORTNAME= gogo
-PORTVERSION= 3.11
+PORTVERSION= 3.13
PORTREVISION= 1
CATEGORIES= audio
-MASTER_SITES= http://homepage1.nifty.com/herumi/soft/petit/ \
+MASTER_SITES= http://homepage2.nifty.com/kei-i/petit/ \
ftp://rusunix.org/pub/FreeBSD/distfiles/
PKGNAMESUFFIX= petit
-DISTNAME= petit311p1
+DISTNAME= petit313
EXTRACT_SUFX= .tgz
MAINTAINER= aquatique-ports at rambler.ru
@@ -20,14 +20,15 @@
BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
-WRKSRC= ${WRKDIR}/petit
+WRKSRC= ${WRKDIR}/${DISTNAME}/FreeBSD
-USE_GMAKE= yes
-GNU_CONFIGURE= yes
+USE_REINPLACE= yes
CFLAGS+= ${PTHREAD_CFLAGS}
-CONFIGURE_ENV+= LIBS="${PTHREAD_LIBS}"
ONLY_FOR_ARCHS= i386
PLIST_FILES= bin/gogo-petit
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-lc_r|${PTHREAD_LIBS}|' ${WRKSRC}/Makefile || @${ECHO} yo
.include <bsd.port.mk>
diff -ruN gogo-petit.OLD/distinfo gogo-petit/distinfo
--- gogo-petit.OLD/distinfo Tue Jul 6 15:02:07 2004
+++ gogo-petit/distinfo Tue Jul 6 15:03:28 2004
@@ -1,2 +1,2 @@
-MD5 (petit311p1.tgz) = aaf9f56549985ef0a166213578954a90
-SIZE (petit311p1.tgz) = 380397
+MD5 (petit313.tgz) = aea10a40091b4e3aa29d700e842ccb11
+SIZE (petit313.tgz) = 389322
diff -ruN gogo-petit.OLD/files/patch-FreeBSD-Makefile gogo-petit/files/patch-FreeBSD-Makefile
--- gogo-petit.OLD/files/patch-FreeBSD-Makefile Thu Jan 1 06:00:00 1970
+++ gogo-petit/files/patch-FreeBSD-Makefile Tue Jul 6 15:28:48 2004
@@ -0,0 +1,21 @@
+--- Makefile.orig Tue Jul 6 15:16:18 2004
++++ Makefile Tue Jul 6 15:25:20 2004
+@@ -7,7 +7,7 @@
+ #
+ #######################################################
+
+-TARGET = gogo
++TARGET = gogo-petit
+
+ #######################################################
+
+@@ -150,7 +150,8 @@
+ #global.h : common.h gogo.h l3side.h
+ #l3side.h: encoder.h machine.h
+
+-../engine/i386/global.cfg : $(MAKECFG) global.h
++global.cfg : $(MAKECFG) global.h
++ gcc -pipe -I../engine ../engine/i386/makecfg.c -o $(MAKECFG)
+ ./$(MAKECFG) > ../engine/i386/global.cfg
+
+ thread.o : thread.c config.h global.h common.h gogo.h l3side.h encoder.h machine.h thread.h ../pthread/thread.c
diff -ruN gogo-petit.OLD/files/patch-Makefile.in gogo-petit/files/patch-Makefile.in
--- gogo-petit.OLD/files/patch-Makefile.in Tue Jul 6 15:02:07 2004
+++ gogo-petit/files/patch-Makefile.in Thu Jan 1 06:00:00 1970
@@ -1,15 +0,0 @@
-diff -ruN petit.orig/Makefile.in petit/Makefile.in
---- Makefile.in.orig Fri Nov 22 15:54:18 2002
-+++ Makefile.in Thu Nov 6 13:22:21 2003
-@@ -108,9 +108,8 @@
- $(CC) $(OBJS) -o $@ $(LIBS)
-
- install: $(TARGET)
-- $(INSTALL_PROGRAM) $< $(INSTDIR)/
--
--# $(STRIP) $(INSTDIR)/$(TARGET)
-+ $(INSTALL_PROGRAM) $< $(PREFIX)/bin/gogo-petit
-+ $(STRIP) $(PREFIX)/bin/gogo-petit
-
- uninstall:
- $(RM) $(INSTDIR)/$(TARGET)
diff -ruN gogo-petit.OLD/files/patch-engine-common.h gogo-petit/files/patch-engine-common.h
--- gogo-petit.OLD/files/patch-engine-common.h Tue Jul 6 15:02:07 2004
+++ gogo-petit/files/patch-engine-common.h Thu Jan 1 06:00:00 1970
@@ -1,12 +0,0 @@
-diff -ruN petit.orig/engine/common.h petit/engine/common.h
---- engine/common.h.orig Sat Mar 16 16:19:29 2002
-+++ engine/common.h Thu Nov 6 13:18:32 2003
-@@ -18,7 +18,7 @@
- #endif
-
- /* SRêÊIÅÈ¢ */
--#if defined(WIN32) || defined(__linux__) || defined(DOS) || defined(_M_IX86) || defined(__os2__) || defined(_X86_)
-+#if defined(WIN32) || defined(__linux__) || defined(DOS) || defined(_M_IX86) || defined(__os2__) || defined(_X86_) || defined(__FreeBSD__)
- #define CPU_I386
- #define MIE_LITTLE_ENDIAN
- #elif define(__MWERKS__)
diff -ruN gogo-petit.OLD/files/patch-main.c gogo-petit/files/patch-main.c
--- gogo-petit.OLD/files/patch-main.c Tue Jul 6 15:02:07 2004
+++ gogo-petit/files/patch-main.c Thu Jan 1 06:00:00 1970
@@ -1,12 +0,0 @@
-diff -ruN petit.orig/main.c petit/main.c
---- main.c.orig Sat Nov 23 19:32:22 2002
-+++ main.c Thu Nov 6 13:21:06 2003
-@@ -9,7 +9,7 @@
- #include <sys/time.h>
- #include <signal.h>
- #endif
--#if defined(__linux__) || defined(__os2__)
-+#if defined(__linux__) || defined(__os2__) || defined (__FreeBSD__)
- # define min(x,y) (((x)<(y))?(x):(y))
- # define max(x,y) (((x)>(y))?(x):(y))
- #endif
diff -ruN gogo-petit.OLD/pkg-descr gogo-petit/pkg-descr
--- gogo-petit.OLD/pkg-descr Tue Jul 6 15:02:07 2004
+++ gogo-petit/pkg-descr Tue Jul 6 15:02:42 2004
@@ -7,4 +7,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://homepage2.nifty.com/kei-i/
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list