Date: Mon, 3 Jan 2005 22:28:10 +0100 (CET) From: Simon Barner <barner@gmx.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/75765: multimedia/nxtvepg: update to 2.7.4 Message-ID: <20050103212810.81690C110@zi025.glhnet.mhn.de> Resent-Message-ID: <200501032130.j03LUQfE082474@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 75765 >Category: ports >Synopsis: multimedia/nxtvepg: update to 2.7.4 >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: Mon Jan 03 21:30:25 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Simon Barner >Release: FreeBSD 5.3-STABLE i386 >Organization: >Environment: FreeBSD zi025.glhnet.mhn.de 5.3-STABLE FreeBSD 5.3-STABLE #0: Fri Nov 5 02:17:53 CET 2004 root@zi025.glhnet.mhn.de:/usr/obj/usr/src/sys/KISTE i386 >Description: 2.7.4 is a minor bugfix release. >How-To-Repeat: N/A >Fix: --- nxtvepg.patch begins here --- diff -ruN nxtvepg.orig/Makefile nxtvepg/Makefile --- nxtvepg.orig/Makefile Mon Jan 3 16:16:44 2005 +++ nxtvepg/Makefile Mon Jan 3 16:16:55 2005 @@ -6,7 +6,7 @@ # PORTNAME= nxtvepg -PORTVERSION= 2.7.1 +PORTVERSION= 2.7.4 CATEGORIES= multimedia tcl84 tk84 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR=${PORTNAME} diff -ruN nxtvepg.orig/distinfo nxtvepg/distinfo --- nxtvepg.orig/distinfo Mon Jan 3 16:16:44 2005 +++ nxtvepg/distinfo Mon Jan 3 16:18:09 2005 @@ -1,2 +1,2 @@ -MD5 (nxtvepg-2.7.1.tar.gz) = 7625d7e9d4a57ab58277e7edb073f931 -SIZE (nxtvepg-2.7.1.tar.gz) = 1217393 +MD5 (nxtvepg-2.7.4.tar.gz) = 92259e3c8e805fa863b00b8a29791ebd +SIZE (nxtvepg-2.7.4.tar.gz) = 1235854 diff -ruN nxtvepg.orig/files/patch-tvsim::tvsim_main.c nxtvepg/files/patch-tvsim::tvsim_main.c --- nxtvepg.orig/files/patch-tvsim::tvsim_main.c Mon Jan 3 16:16:44 2005 +++ nxtvepg/files/patch-tvsim::tvsim_main.c Thu Jan 1 01:00:00 1970 @@ -1,52 +0,0 @@ ---- tvsim/tvsim_main.c.orig Fri Jul 30 16:37:05 2004 -+++ tvsim/tvsim_main.c Fri Jul 30 17:00:10 2004 -@@ -63,6 +63,9 @@ - #include "tvsim/tvsim_gui.h" - #include "tvsim/tvsim_version.h" - -+#if defined(__FreeBSD__) || defined(__NetBSD__) -+#include <machine/ioctl_bt848.h> -+#endif - - // prior to 8.4 there's a SEGV when evaluating const scripts (Tcl tries to modify the string) - #if (TCL_MAJOR_VERSION > 8) || ((TCL_MAJOR_VERSION == 8) && (TCL_MINOR_VERSION >= 4)) -@@ -493,7 +496,6 @@ - } - - #else // __NetBSD__ || __FreeBSD__ -- char * pDevName; - ulong lfreq; - uint norm; - bool result = FALSE; -@@ -505,26 +507,26 @@ - { - if ( (*pIsTuner) && (lfreq != 0) ) - { -- if (tuner_fd != -1) -+ if (video_fd != -1) - { - // mute audio - int mute_arg = AUDIO_MUTE; -- if (ioctl (tuner_fd, BT848_SAUDIO, &mute_arg) == 0) -+ if (ioctl (video_fd, BT848_SAUDIO, &mute_arg) == 0) - { - dprintf0("Muted tuner audio.\n"); - } - else -- fprintf(stderr, "muting audio (ioctl AUDIO_MUTE)\n", strerror(errno)); -+ fprintf(stderr, "muting audio (ioctl AUDIO_MUTE): %s\n", strerror(errno)); - - // Set the tuner frequency -- if(ioctl(tuner_fd, VIDIOCSFREQ, &lfreq) == 0) -+ if(ioctl(video_fd, TVTUNER_SETFREQ, &lfreq) == 0) - { - dprintf1("Vbi-TuneChannel: set to %.2f\n", (double)freq/16); - - result = TRUE; - } - else -- fprintf(stderr, "setting tuner frequency (ioctl VIDIOCSFREQ): \n", strerror(errno)); -+ fprintf(stderr, "setting tuner frequency (ioctl TVTUNER_SETFREQ): %s\n", strerror(errno)); - } - } - } --- nxtvepg.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050103212810.81690C110>