From tkato@prontomail.com  Tue Aug 19 08:01:04 2003
Return-Path: <tkato@prontomail.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 69B4016A4BF
	for <FreeBSD-gnats-submit@FreeBSD.org>; Tue, 19 Aug 2003 08:01:04 -0700 (PDT)
Received: from hfep08.dion.ne.jp (hfep08.dion.ne.jp [203.181.105.74])
	by mx1.FreeBSD.org (Postfix) with ESMTP id AF4C743F93
	for <FreeBSD-gnats-submit@FreeBSD.org>; Tue, 19 Aug 2003 08:01:03 -0700 (PDT)
	(envelope-from tkato@prontomail.com)
Received: from localhost ([61.198.241.112]) by hfep08.dion.ne.jp with SMTP
          id <20030819150100653.NSLY@hfep08.dion.ne.jp>
          for <FreeBSD-gnats-submit@FreeBSD.org>;
          Wed, 20 Aug 2003 00:01:00 +0900
Message-Id: <20030820000013.2f021dcf.tkato@prontomail.com>
Date: Wed, 20 Aug 2003 00:00:13 +0900
From: KATO Tsuguru <tkato@prontomail.com>
To: FreeBSD-gnats-submit@FreeBSD.org
Subject: Update port: audio/ximp3 to 0.1.15

>Number:         55744
>Category:       ports
>Synopsis:       Update port: audio/ximp3 to 0.1.15
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 20 02:41:05 PDT 2003
>Closed-Date:    Wed Aug 20 03:51:59 PDT 2003
>Last-Modified:  Wed Aug 20 03:51:59 PDT 2003
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.8-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Update to version 0.1.15

New file:
files/patch-lib::L3.h

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/audio/ximp3/Makefile audio/ximp3/Makefile
--- /usr/ports/audio/ximp3/Makefile	Sat Apr 12 22:36:35 2003
+++ audio/ximp3/Makefile	Mon Aug 18 20:14:06 2003
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	ximp3
-PORTVERSION=	0.1.14
+PORTVERSION=	0.1.15
 CATEGORIES=	audio
 MASTER_SITES=	${MASTER_SITE_SUNSITE}
 MASTER_SITE_SUBDIR=	apps/sound/players/mp3
@@ -16,5 +16,11 @@
 COMMENT=	A simple console MP3 player
 
 GNU_CONFIGURE=	yes
+
+post-install:
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+.endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/audio/ximp3/distinfo audio/ximp3/distinfo
--- /usr/ports/audio/ximp3/distinfo	Thu Jan 17 15:23:37 2002
+++ audio/ximp3/distinfo	Mon Aug 18 20:01:36 2003
@@ -1 +1 @@
-MD5 (ximp3-0.1.14.tar.gz) = 2f836218fd5f5c67c4908c3414d662f6
+MD5 (ximp3-0.1.15.tar.gz) = c08eb16304286e9d6192289562f7f086
diff -urN /usr/ports/audio/ximp3/files/patch-lib::L3.h audio/ximp3/files/patch-lib::L3.h
--- /usr/ports/audio/ximp3/files/patch-lib::L3.h	Thu Jan  1 09:00:00 1970
+++ audio/ximp3/files/patch-lib::L3.h	Mon Aug 18 20:18:11 2003
@@ -0,0 +1,28 @@
+--- lib/L3.h.orig	Sat Oct 27 23:05:42 2001
++++ lib/L3.h	Mon Aug 18 20:18:00 2003
+@@ -39,6 +39,16 @@
+ #define GLOBAL_GAIN_SCALE (4*15)
+ /* #define GLOBAL_GAIN_SCALE 0 */
+ 
++#include <sys/types.h>
++
++#ifdef BYTE_ORDER
++#if BYTE_ORDER == LITTLE_ENDIAN
++#define L_ENDIAN 1
++#else
++#define L_ENDIAN 0
++#endif
++#else
++
+ #ifdef i386
+ #define L_ENDIAN 1
+ #endif
+@@ -53,6 +63,8 @@
+ 
+ #ifdef sparc
+ #define L_ENDIAN 0
++#endif
++
+ #endif
+ 
+ #ifndef L_ENDIAN
diff -urN /usr/ports/audio/ximp3/pkg-plist audio/ximp3/pkg-plist
--- /usr/ports/audio/ximp3/pkg-plist	Thu Jan 17 15:23:37 2002
+++ audio/ximp3/pkg-plist	Mon Aug 18 20:14:38 2003
@@ -1 +1,3 @@
 bin/ximp3
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed  
State-Changed-By: krion 
State-Changed-When: Wed Aug 20 03:51:44 PDT 2003 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=55744 
>Unformatted:
