summaryrefslogtreecommitdiff
path: root/graphics/fxtv
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2000-05-09 22:07:16 +0000
committertron <tron@pkgsrc.org>2000-05-09 22:07:16 +0000
commit12982553226153c7927a7eada349f02d789287f1 (patch)
tree83d129cb067f5580d014544a4f0dac04320473f1 /graphics/fxtv
parent931958ed2e99f8ea63853b21bca5dde4cb0fa8be (diff)
downloadpkgsrc-12982553226153c7927a7eada349f02d789287f1.tar.gz
Patch to enable remote support supplied by Mario Kemper in private E-Mail.
Diffstat (limited to 'graphics/fxtv')
-rw-r--r--graphics/fxtv/files/patch-sum4
-rw-r--r--graphics/fxtv/patches/patch-ad68
2 files changed, 47 insertions, 25 deletions
diff --git a/graphics/fxtv/files/patch-sum b/graphics/fxtv/files/patch-sum
index 2dd7c615124..b741a17b705 100644
--- a/graphics/fxtv/files/patch-sum
+++ b/graphics/fxtv/files/patch-sum
@@ -1,8 +1,8 @@
-$NetBSD: patch-sum,v 1.1.1.1 2000/05/07 20:34:13 tron Exp $
+$NetBSD: patch-sum,v 1.2 2000/05/09 22:07:16 tron Exp $
MD5 (patch-aa) = c3f539cf4a63a9aab2a7179668d13a9e
MD5 (patch-ab) = 344e3f1b8655461063e2c3a4aafdd01b
MD5 (patch-ac) = 6f73993eaa9e760d9a196c27a448fa46
-MD5 (patch-ad) = cd40fdb81894c0e9c990608ae5afc84d
+MD5 (patch-ad) = 2c311f3dfb54afc9bda39cea94af6928
MD5 (patch-ae) = 5d4b1486c91623810bae63bf44b3ac1f
MD5 (patch-af) = 0bfe002618384f2951b85860fc36d6d1
diff --git a/graphics/fxtv/patches/patch-ad b/graphics/fxtv/patches/patch-ad
index bc8e5b919d5..9a13b2a8dd6 100644
--- a/graphics/fxtv/patches/patch-ad
+++ b/graphics/fxtv/patches/patch-ad
@@ -1,32 +1,54 @@
-$NetBSD: patch-ad,v 1.1.1.1 2000/05/07 20:34:13 tron Exp $
+$NetBSD: patch-ad,v 1.2 2000/05/09 22:07:17 tron Exp $
---- remote.c.orig Fri Nov 5 00:50:00 1999
-+++ remote.c Sun May 7 22:28:36 2000
-@@ -786,6 +786,7 @@
- char rem_type[],
- TVREMOTE_CB_FUNCT *cb )
+--- remote.c.orig Tue May 9 22:02:55 2000
++++ remote.c Tue May 9 22:03:18 2000
+@@ -55,8 +55,6 @@
+
+ /* ******************** Local defines ************** */
+
+-#ifndef __NetBSD__
+-
+ /* FIXME: Remove this old code someday */
+ #ifdef 0
+ # define OLD_DEV_SYSMOUSE_STUFF
+@@ -579,8 +577,6 @@
+ Remote_fd = -1;
+ }
+
+-#endif /* !__NetBSD__ */
+-
+
+ /**@BEGINFUNC**************************************************************
+
+@@ -609,7 +605,6 @@
+ void TVX10REMOTEOpen( XtAppContext app_ctx,
+ TVREMOTE_CB_FUNCT *cb )
{
-+#ifndef __NetBSD__
- char type_str[20];
+-#ifndef __NetBSD__
+ int fd,
+ flags;
+ #ifdef OLD_DEV_SYSMOUSE_STUFF
+@@ -704,7 +699,6 @@
- /* Branch to the appropriate Open method based on remote type. */
-@@ -812,6 +813,7 @@
- "are supported.\n" );
- exit(1);
- }
-+#endif /* !__NetBSD__ */
+ /* Arrange to get called when we exit the app */
+ atexit( TVX10REMOTEClose );
+-#endif /* !__NetBSD__ */
}
-@@ -840,9 +842,11 @@
+@@ -733,7 +727,6 @@
- void TVREMOTEFlush( void )
+ void TVX10REMOTEFlush( void )
{
-+#ifndef __NetBSD__
- switch ( Remote_type ) {
- case REMOTE_TYPE_X10 : TVX10REMOTEFlush(); break;
- case REMOTE_TYPE_HAUPPAUGE : TVHAUPREMOTEFlush(); break;
- case REMOTE_TYPE_PIXELVIEW : TVPIXELVIEWREMOTEFlush(); break;
- }
-+#endif /* !__NetBSD__ */
+-#ifndef __NetBSD__
+ unsigned char btn;
+
+ /* Do nothing if we didn't open the remote */
+@@ -748,7 +741,6 @@
+ break;
+ RMPRINTF(( "TVX10REMOTE: Flushing buffer (key = %d)\n", btn ));
+ }
+-#endif /* !__NetBSD__ */
}
+
+