From vanilla@MinJe.com.TW  Wed Sep  3 00:25:55 1997
Received: from MinJe.com.TW (qmailr@ns.MinJe.com.TW [210.66.86.1])
          by hub.freebsd.org (8.8.7/8.8.7) with SMTP id AAA25840
          for <FreeBSD-gnats-submit@freebsd.org>; Wed, 3 Sep 1997 00:25:49 -0700 (PDT)
Received: (qmail 3199 invoked by uid 900); 3 Sep 1997 07:20:12 -0000
Message-Id: <19970903072012.3198.qmail@MinJe.com.TW>
Date: 3 Sep 1997 07:20:12 -0000
From: vanilla@MinJe.com.TW
Reply-To: vanilla@MinJe.com.TW
To: FreeBSD-gnats-submit@freebsd.org
Subject: update amp to 0.76 
X-Send-Pr-Version: 3.2

>Number:         4457
>Category:       ports
>Synopsis:       update amp to 0.76
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep  3 00:30:01 PDT 1997
>Closed-Date:    Wed Sep 3 01:36:50 PDT 1997
>Last-Modified:  Wed Sep  3 01:37:42 PDT 1997
>Originator:     Vanill I. Shu
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
Cray running FreeBSD
>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)
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: max 
State-Changed-When: Wed Sep 3 01:36:50 PDT 1997 
State-Changed-Why:  
The submitted update is applied. 
>Unformatted:
