From tkato432@yahoo.com  Sun Oct 24 14:01:13 2004
Return-Path: <tkato432@yahoo.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id BB77516A4CE
	for <FreeBSD-gnats-submit@FreeBSD.org>; Sun, 24 Oct 2004 14:01:13 +0000 (GMT)
Received: from hfep08.dion.ne.jp (hfep08.dion.ne.jp [203.181.105.74])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 550CE43D3F
	for <FreeBSD-gnats-submit@FreeBSD.org>; Sun, 24 Oct 2004 14:01:12 +0000 (GMT)
	(envelope-from tkato432@yahoo.com)
Received: from localhost ([211.126.70.126]) by hfep08.dion.ne.jp with SMTP
          id <20041024140108018.IWIX@hfep08.dion.ne.jp>
          for <FreeBSD-gnats-submit@FreeBSD.org>;
          Sun, 24 Oct 2004 23:01:08 +0900
Message-Id: <20041024230016.0c7d3abc.tkato432@yahoo.com>
Date: Sun, 24 Oct 2004 23:00:16 +0900
From: KATO Tsuguru <tkato432@yahoo.com>
To: FreeBSD-gnats-submit@FreeBSD.org
Subject: Update port: graphics/libflash to 0.4.12

>Number:         73078
>Category:       ports
>Synopsis:       Update port: graphics/libflash to 0.4.12
>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:   Sun Oct 24 14:10:20 GMT 2004
>Closed-Date:    Mon Oct 25 22:48:38 GMT 2004
>Last-Modified:  Mon Oct 25 22:48:38 GMT 2004
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.10-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Update to version 0.4.12

Remove file:
files/patch-shape.cc

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/graphics/libflash/Makefile graphics/libflash/Makefile
--- /usr/ports/graphics/libflash/Makefile	Sun Aug 24 19:59:50 2003
+++ graphics/libflash/Makefile	Sat Oct 23 17:47:37 2004
@@ -6,21 +6,22 @@
 #
 
 PORTNAME=	libflash
-PORTVERSION=	0.4.10
+PORTVERSION=	0.4.12
 CATEGORIES=	graphics
-MASTER_SITES=	http://www.swift-tools.net/Flash/
-DISTNAME=	flash-${PORTVERSION}
-EXTRACT_SUFX=	.tgz
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR=	gplflash
+DISTNAME=	gplflash-${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	GPL Flash (TM) Library
 
-LIB_DEPENDS=	jpeg.9:${PORTSDIR}/graphics/jpeg
+LIB_DEPENDS=	mad.2:${PORTSDIR}/audio/libmad \
+		jpeg.9:${PORTSDIR}/graphics/jpeg
 
-WRKSRC=		${WRKDIR}/${DISTNAME}/Lib
-MAKE_ARGS=	NOPROFILE=true
+WRKSRC=		${WRKDIR}/${DISTNAME}/lib
 
-pre-build:
-	${CP} ${FILESDIR}/Makefile ${WRKSRC}/
+USE_BZIP2=	yes
+MAKEFILE=	${FILESDIR}/Makefile
+MAKE_ARGS=	NOPROFILE=true
 
 .include <bsd.port.mk>
diff -urN /usr/ports/graphics/libflash/distinfo graphics/libflash/distinfo
--- /usr/ports/graphics/libflash/distinfo	Thu Jan 29 20:26:31 2004
+++ graphics/libflash/distinfo	Sat Oct 23 17:38:53 2004
@@ -1,2 +1,2 @@
-MD5 (flash-0.4.10.tgz) = 1473f085c599d8076fa866cd91e11598
-SIZE (flash-0.4.10.tgz) = 358995
+MD5 (gplflash-0.4.12.tar.bz2) = 7d53803486b255665a80cd834ee3c463
+SIZE (gplflash-0.4.12.tar.bz2) = 378727
diff -urN /usr/ports/graphics/libflash/files/Makefile graphics/libflash/files/Makefile
--- /usr/ports/graphics/libflash/files/Makefile	Tue Sep 10 20:12:24 2002
+++ graphics/libflash/files/Makefile	Sat Oct 23 17:47:55 2004
@@ -7,7 +7,7 @@
 		-I${LOCALBASE}/include	\
 		-DCHECK_TEXT_PLAIN
 LDADD=		-lz \
-		-L${LOCALBASE}/lib -ljpeg
+		-L${LOCALBASE}/lib -ljpeg -lmad
 SRCS=		adpcm.cc bitmap.cc button.cc character.cc cxform.cc \
 		displaylist.cc flash.cc font.cc graphic.cc graphic16.cc \
 		graphic24.cc graphic32.cc matrix.cc movie.cc \
diff -urN /usr/ports/graphics/libflash/files/patch-ai graphics/libflash/files/patch-ai
--- /usr/ports/graphics/libflash/files/patch-ai	Tue Sep 10 20:12:24 2002
+++ graphics/libflash/files/patch-ai	Sat Oct 23 17:48:35 2004
@@ -1,15 +1,23 @@
---- sound.cc.orig	Thu Sep  2 00:10:03 1999
-+++ sound.cc	Wed Jul 24 06:04:56 2002
-@@ -26,7 +26,12 @@
- #include <fcntl.h>
- #include <sys/ioctl.h>
+--- sound.cc.orig	Sat Oct 16 03:16:19 2004
++++ sound.cc	Sat Oct 23 17:44:05 2004
+@@ -20,7 +20,7 @@
+ //  Author : Olivier Debon  <odebon@club-internet.fr>
+ //
+ 
+-#if ! defined(__linux__)
++#if ! defined(__linux__) && ! defined(__FreeBSD__)
+ #warning no sound support for your OS in lib/sound.cc
+ #define NOSOUND
+ #endif
+@@ -33,6 +33,11 @@
  #ifndef NOSOUND
+ #ifdef __linux__
+ #include <linux/soundcard.h>
++#else
 +#ifdef __FreeBSD__
 +#include <sys/param.h>
 +#include <sys/soundcard.h>
-+#else
- #include <linux/soundcard.h>
 +#endif
  #endif
+ #endif
  
- #ifdef RCSID
diff -urN /usr/ports/graphics/libflash/files/patch-shape.cc graphics/libflash/files/patch-shape.cc
--- /usr/ports/graphics/libflash/files/patch-shape.cc	Wed Jul 24 06:07:04 2002
+++ graphics/libflash/files/patch-shape.cc	Thu Jan  1 09:00:00 1970
@@ -1,10 +0,0 @@
---- shape.cc.orig	Fri Jul 12 07:55:33 2002
-+++ shape.cc	Fri Jul 12 07:56:13 2002
-@@ -21,6 +21,7 @@
- //
- 
- #include "swf.h"
-+#include <math.h>
- 
- #ifdef RCSID
- static char *rcsid = "$Id: shape.cc,v 1.5 1999/09/10 13:08:52 ode Exp $";
diff -urN /usr/ports/graphics/libflash/pkg-descr graphics/libflash/pkg-descr
--- /usr/ports/graphics/libflash/pkg-descr	Sun Aug 24 19:59:50 2003
+++ graphics/libflash/pkg-descr	Sun Oct 24 22:18:43 2004
@@ -5,4 +5,4 @@
 be reused in applications that need to play Flash (TM) movies.
 
 Author:	Olivier Debon <olivier@debon.net>
-WWW:	http://www.swift-tools.net/Flash/
+WWW:	http://gplflash.sourceforge.net/
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Mon Oct 25 22:48:30 GMT 2004 
State-Changed-Why:  
Committed, thanks! 

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