FreeBSD Bugzilla – Attachment 49628 Details for
Bug 75765
multimedia/nxtvepg: update to 2.7.4
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
nxtvepg.patch
nxtvepg.patch (text/plain), 2.73 KB, created by
Simon Barner
on 2005-01-03 21:30:25 UTC
(
hide
)
Description:
nxtvepg.patch
Filename:
MIME Type:
Creator:
Simon Barner
Created:
2005-01-03 21:30:25 UTC
Size:
2.73 KB
patch
obsolete
>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)); >- } >- } >- }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 75765
: 49628