Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Mar 2004 01:14:19 -0800 (PST)
From:      michael johnson <ahze@ahze.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/64093: [Patch] multimedia/avifile -- add missing files for {ARCH} alpha
Message-ID:  <200403110914.i2B9EJXJ054114@www.freebsd.org>
Resent-Message-ID: <200403110920.i2B9KEub057574@freefall.freebsd.org>

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

>Number:         64093
>Category:       ports
>Synopsis:       [Patch] multimedia/avifile -- add missing files for {ARCH} alpha
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 11 01:20:13 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     michael johnson
>Release:        
>Organization:
>Environment:
>Description:
I can not verify if this fixes the total build on avifile for the ARCH alpha but it does add 4 missing files that are not included in the distfile that are needed for building on alpha

this should fix at least what is on bento
http://bento.freebsd.org/errorlogs/alpha-5-latest/avifile-0.7.38_2,2.log
>How-To-Repeat:
      
>Fix:
diff -ruN multimedia/avifile.orig/Makefile multimedia/avifile/Makefile
--- multimedia/avifile.orig/Makefile	Thu Mar 11 03:41:59 2004
+++ multimedia/avifile/Makefile	Thu Mar 11 04:04:50 2004
@@ -10,9 +10,11 @@
 PORTREVISION=	2
 PORTEPOCH=	2
 CATEGORIES=	multimedia
-MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
+		http://cvs.sourceforge.net/viewcvs.py/avifile/avifile-0.6/ffmpeg/libavcodec/alpha/:alpha
 MASTER_SITE_SUBDIR=	${PORTNAME}
 DISTNAME=	${PORTNAME}-0.7-${PORTVERSION}
+EXTRACT_ONLY=	${PORTNAME}-0.7-${PORTVERSION}${EXTRACT_SUFX}
 
 MAINTAINER=	holger@e-gitt.net
 COMMENT=	AVI player/converter with numerous codecs, including MPEG-4(DivX ;-))
@@ -66,6 +68,16 @@
 
 .include <bsd.port.pre.mk>
 
+.if ${ARCH} == "alpha"
+DISTFILES=	${PORTNAME}-0.7-${PORTVERSION}${EXTRACT_SUFX} \
+		dsputil_alpha.c?rev=1.16:alpha \
+		motion_est_alpha.c?rev=1.3:alpha \
+		mpegvideo_alpha.c?rev=1.8:alpha \
+		simple_idct_alpha.c?rev=1.3:alpha
+NO_SIZE=	yes
+MD5_FILE?=	${MASTERDIR}/distinfo.${MACHINE_ARCH}
+.endif
+
 .if ${ARCH} != "i386"
 WITHOUT_A52=yes
 WITHOUT_XVID=yes
@@ -201,6 +213,16 @@
 # grab does not work outside Linux for now
 	@${RM} -f ${WRKSRC}/ffmpeg/libavformat/grab.c
 	@${TOUCH} ${WRKSRC}/ffmpeg/libavformat/grab.c
+.if ${ARCH} == "alpha"
+	@${CP} ${DISTDIR}/dsputil_alpha.c?rev=1.16 \
+		${WRKSRC}/ffmpeg/libavcodec/alpha/dsputil_alpha.c
+	@${CP} ${DISTDIR}/motion_est_alpha.c?rev=1.3 \
+		${WRKSRC}/ffmpeg/libavcodec/alpha/motion_est_alpha.c
+	@${CP} ${DISTDIR}/mpegvideo_alpha.c?rev=1.8 \
+		${WRKSRC}/ffmpeg/libavcodec/alpha/mpegvideo_alpha.c
+	@${CP} ${DISTDIR}/simple_idct_alpha.c?rev=1.3 \
+		${WRKSRC}/ffmpeg/libavcodec/alpha/simple_idct_alpha.c
+.endif
 
 post-patch:
 # linux/ioctl.h -> sys/ioctl.h
diff -ruN multimedia/avifile.orig/distinfo multimedia/avifile/distinfo
--- multimedia/avifile.orig/distinfo	Thu Mar 11 03:41:59 2004
+++ multimedia/avifile/distinfo	Thu Mar 11 04:05:03 2004
@@ -1 +1,2 @@
 MD5 (avifile-0.7-0.7.38.tar.gz) = db90c4bc0a8a8182b1ec084feca86bbb
+SIZE (avifile-0.7-0.7.38.tar.gz) = 2888580
diff -ruN multimedia/avifile.orig/distinfo.alpha multimedia/avifile/distinfo.alpha
--- multimedia/avifile.orig/distinfo.alpha	Wed Dec 31 19:00:00 1969
+++ multimedia/avifile/distinfo.alpha	Thu Mar 11 04:00:00 2004
@@ -0,0 +1,5 @@
+MD5 (avifile-0.7-0.7.38.tar.gz) = db90c4bc0a8a8182b1ec084feca86bbb
+MD5 (dsputil_alpha.c?rev=1.16) = c292e6a0c8e0c85eb0e69131b85a3cb8
+MD5 (motion_est_alpha.c?rev=1.3) = 4923159cdffb37238e735bea517063bd
+MD5 (mpegvideo_alpha.c?rev=1.8) = bb327a9416d7dc25e5a6e9434df6bb3d
+MD5 (simple_idct_alpha.c?rev=1.3) = 139f1236d13b53d0de5a0fc99c617c05

>Release-Note:
>Audit-Trail:
>Unformatted:



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