Skip site navigation (1)Skip section navigation (2)
Date:      3 Sep 1997 07:20:12 -0000
From:      vanilla@MinJe.com.TW
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/4457: update amp to 0.76 
Message-ID:  <19970903072012.3198.qmail@MinJe.com.TW>
Resent-Message-ID: <199709030730.AAA26036@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         4457
>Category:       ports
>Synopsis:       update amp to 0.76
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep  3 00:30:01 PDT 1997
>Last-Modified:
>Originator:     Vanill I. Shu
>Organization:
Cray running FreeBSD
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:

	Update amp to current version,

>Description:


>How-To-Repeat:


>Fix:
	
diff -bcrNp amp.orig/Makefile amp/Makefile
*** amp.orig/Makefile	Mon Sep  1 06:19:54 1997
--- amp/Makefile	Mon Sep  1 19:00:22 1997
***************
*** 1,12 ****
  # New ports collection makefile for:	amp
! # Version required:	0.7.3
  # Date created:		Jun 23 1997
  # Whom:			Vanilla I. Shu <vanilla@MinJe.com.TW>
  #
  # $Id: Makefile,v 1.1.1.1 1997/08/31 22:19:54 max Exp $
  #
  
! DISTNAME=	amp-0.7.3
  CATEGORIES=	audio
  MASTER_SITES=	ftp://ftp.rasip.fer.hr/pub/mpeg/
  EXTRACT_SUFX=	.tgz
--- 1,12 ----
  # New ports collection makefile for:	amp
! # Version required:	0.7.6
  # Date created:		Jun 23 1997
  # Whom:			Vanilla I. Shu <vanilla@MinJe.com.TW>
  #
  # $Id: Makefile,v 1.1.1.1 1997/08/31 22:19:54 max Exp $
  #
  
! DISTNAME=	amp-0.7.6
  CATEGORIES=	audio
  MASTER_SITES=	ftp://ftp.rasip.fer.hr/pub/mpeg/
  EXTRACT_SUFX=	.tgz
diff -bcrNp amp.orig/files/md5 amp/files/md5
*** amp.orig/files/md5	Mon Sep  1 06:19:55 1997
--- amp/files/md5	Mon Sep  1 19:00:00 1997
***************
*** 1 ****
! MD5 (amp-0.7.3.tgz) = 48029668ed9b74a3425727763caa12d0
--- 1 ----
! MD5 (amp-0.7.6.tgz) = c12a27ac84b417bdac3330c3aa366122
diff -bcrNp amp.orig/patches/patch-aa amp/patches/patch-aa
*** amp.orig/patches/patch-aa	Mon Sep  1 06:19:56 1997
--- amp/patches/patch-aa	Mon Sep  1 19:13:09 1997
***************
*** 1,22 ****
! *** configure.orig	Mon Jun 23 13:49:07 1997
! --- configure	Mon Jun 23 13:51:27 1997
  *************** case "$OS_TYPE" in
! *** 1281,1288 ****
!       fi
        if test "$OS_TYPE" = "FreeBSD" ; then
          OS_TYPE="BSD"
        fi
! !     CFLAGS="-DOS_${OS_TYPE} -DARCH_${ARCH_TYPE} -Wall -O6 -ffast-math -DNO_BYTE_SWAPPING ${CFLAGS_ARCH}"
        ;;
    
!     SunOS)
! --- 1281,1289 ----
!       fi
        if test "$OS_TYPE" = "FreeBSD" ; then
          OS_TYPE="BSD"
- +       SOUNDCARD="HAVE_MACHINE_SOUNDCARD_H"
        fi
! !     CFLAGS="-DOS_${OS_TYPE} -DARCH_${ARCH_TYPE} -Wall -O2 -m486 -pipe -ffast-math -DNO_BYTE_SWAPPING -D${SOUNDCARD} ${CFLAGS_ARCH}"
        ;;
    
-     SunOS)
--- 1,19 ----
! *** configure.orig	Mon Sep  1 19:01:06 1997
! --- configure	Mon Sep  1 19:12:55 1997
  *************** case "$OS_TYPE" in
! *** 1409,1415 ****
        if test "$OS_TYPE" = "FreeBSD" ; then
          OS_TYPE="BSD"
        fi
! !     CFLAGS="-O6 -ffast-math -fomit-frame-pointer ${CFLAGS_ARCH}"
!       DEFINES="-DNO_BYTE_SWAPPING -DOS_$OS_TYPE -DARCH_$ARCH_TYPE" 
        ;;
    
! --- 1409,1415 ----
        if test "$OS_TYPE" = "FreeBSD" ; then
          OS_TYPE="BSD"
        fi
! !     CFLAGS="-O2 -m486 -pipe -ffast-math -fomit-frame-pointer ${CFLAGS_ARCH}"
!       DEFINES="-DNO_BYTE_SWAPPING -DOS_$OS_TYPE -DARCH_$ARCH_TYPE" 
        ;;
    
diff -bcrNp amp.orig/patches/patch-ab amp/patches/patch-ab
*** amp.orig/patches/patch-ab	Thu Jan  1 08:00:00 1970
--- amp/patches/patch-ab	Mon Sep  1 19:34:15 1997
***************
*** 0 ****
--- 1,39 ----
+ *** audioIO_Linux.c.orig	Mon Sep  1 19:29:08 1997
+ --- audioIO_Linux.c	Mon Sep  1 19:33:25 1997
+ ***************
+ *** 26,32 ****
+   
+   /* optimal fragment size */
+   
+ ! int AUSIZ = 0;
+   
+   /* declare these static to effectively isolate the audio device */
+   
+ --- 26,32 ----
+   
+   /* optimal fragment size */
+   
+ ! int AUSIZ = 32768;
+   
+   /* declare these static to effectively isolate the audio device */
+   
+ *** audioIO.h.orig	Mon Sep  1 19:33:43 1997
+ --- audioIO.h	Mon Sep  1 19:34:04 1997
+ *************** extern int AUSIZ;
+ *** 12,18 ****
+   #endif
+   
+   #ifdef OS_BSD
+ !   #define AUSIZ 32768
+   #endif
+   
+   #if defined(OS_IRIX) || defined(OS_IRIX64)
+ --- 12,19 ----
+   #endif
+   
+   #ifdef OS_BSD
+ ! /*  #define AUSIZ 32768 */
+ ! extern int AUSIZ;
+   #endif
+   
+   #if defined(OS_IRIX) || defined(OS_IRIX64)
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970903072012.3198.qmail>