Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Nov 2002 20:14:12 +0100 (CET)
From:      Hendrik Scholz <hendrik@scholz.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        lioux@FreeBSD.org
Subject:   ports/44885: maintainer-update: graphics/transcode (bugfix)
Message-ID:  <200211041914.gA4JECGC096901@goanna.lan.raisdorf.net>

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

>Number:         44885
>Category:       ports
>Synopsis:       maintainer-update: graphics/transcode (bugfix)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 04 11:20:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Hendrik Scholz
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
NetUSE AG
>Environment:
System: FreeBSD goanna.lan.raisdorf.net 4.7-STABLE FreeBSD 4.7-STABLE #5: Thu Oct 17 16:21:01 CEST 2002 hscholz@goanna.lan.raisdorf.net:/usr/src/sys/compile/GOANNA i386


	
>Description:
This is a bugfixo the transcode port.
It fixed build problems on -stable (thanks somebody@kashmir.etowns.net from
pr/44008).
In addition it adds a CONFIGURE_ARGS for lame and bumps PORTREVISION.
Please remove files/patch-src:export:Makefile.in as it is obsolete.

This patch does update the port to the latest transcode cvs snapshot as
there are still some issues that need to be solved.
>How-To-Repeat:
	
>Fix:

	

--- transcode-0.6.2.fix.patch begins here ---
diff -urP transcode-0.6.2/Makefile transcode/Makefile
--- transcode-0.6.2/Makefile	Mon Nov  4 18:29:18 2002
+++ transcode/Makefile	Mon Nov  4 19:56:21 2002
@@ -7,8 +7,9 @@
 
 PORTNAME=	transcode
 PORTVERSION=	0.6.2
+PORTREVISION=   1
 DISTNAME=	${PORTNAME}-${PORTVERSION}.20021010
-CATEGORIES=	graphics
+CATEGORIES= graphics
 MASTER_SITES=	http://www.theorie.physik.uni-goettingen.de/~ostreich/transcode/pre/
 
 MAINTAINER=	hendrik@scholz.net
@@ -181,6 +182,7 @@
 .if defined(WITH_LAME)
 LIB_DEPENDS+=	mp3lame.0:${PORTSDIR}/audio/lame
 PLIST_SUB+=	WITH_LAME=""
+CONFIGURE_ARGS+=    --with-lame-libs=${LOCALBASE}/lib
 .else
 CONFIGURE_ARGS+=	--with-lame=no
 PLIST_SUB+=	WITH_LAME="@comment "
Only in transcode-0.6.2/files: patch-src:export:Makefile.in
diff -urP transcode-0.6.2/files/patch-src:filter:preview:pv.c transcode/files/patch-src:filter:preview:pv.c
--- transcode-0.6.2/files/patch-src:filter:preview:pv.c	Thu Jan  1 01:00:00 1970
+++ transcode/files/patch-src:filter:preview:pv.c	Mon Nov  4 18:40:05 2002
@@ -0,0 +1,29 @@
+--- filter/preview/pv.c.orig	Mon Nov  4 18:38:27 2002
++++ filter/preview/pv.c	Mon Nov  4 18:39:27 2002
+@@ -38,7 +38,7 @@
+ #include <sys/shm.h>
+ 
+ #ifdef __FreeBSD__ /* We don't have on_exit() */
+-dv_display_t 	*dv_dpy_on_exit_hack = NULL;
++xv_display_t 	*xv_dpy_on_exit_hack = NULL;
+ #endif
+ 
+ #define XV_FORMAT_MASK		0x03
+@@ -128,7 +128,7 @@
+   free(dv_dpy);
+   dv_dpy = NULL;
+ #ifdef __FreeBSD__
+-  dv_dpy_on_exit_hack = NULL;
++  xv_dpy_on_exit_hack = NULL;
+ #endif
+ } // xv_display_exit
+ 
+@@ -536,7 +536,7 @@
+   }
+   
+ #ifdef __FreeBSD__
+-  dv_dpy_on_exit_hack = dv_dpy;
++  xv_dpy_on_exit_hack = dv_dpy;
+   atexit(xv_display_on_exit_hack_handler);
+ #else
+   on_exit(xv_display_exit_handler, dv_dpy);
--- transcode-0.6.2.fix.patch ends here ---


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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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