diff options
author | jlam <jlam> | 2003-07-16 09:33:46 +0000 |
---|---|---|
committer | jlam <jlam> | 2003-07-16 09:33:46 +0000 |
commit | e664449b954368894a4fd85edc962c90bc7b4903 (patch) | |
tree | 491111004206c0c3cb92ae9f1dd439e854e373be /graphics/opendis/patches | |
parent | f6cad14a16265838094c96c2784856bdf35df1a9 (diff) | |
download | pkgsrc-e664449b954368894a4fd85edc962c90bc7b4903.tar.gz |
Initial work in merging bits of the pkgviews branch into modern pkgsrc.
Currently, the pkgviews/buildlink2 integration is incomplete. People who
work on this branch should also check out src/usr.sbin/pkg_install from
the pkgviews branch.
Diffstat (limited to 'graphics/opendis/patches')
-rw-r--r-- | graphics/opendis/patches/patch-aa | 49 | ||||
-rw-r--r-- | graphics/opendis/patches/patch-ab | 12 |
2 files changed, 0 insertions, 61 deletions
diff --git a/graphics/opendis/patches/patch-aa b/graphics/opendis/patches/patch-aa deleted file mode 100644 index 4ece25f4d62..00000000000 --- a/graphics/opendis/patches/patch-aa +++ /dev/null @@ -1,49 +0,0 @@ -$NetBSD: patch-aa,v 1.1.1.1 2000/05/12 03:07:40 sommerfeld Exp $ - ---- src/nss.c.orig Sat Jan 8 16:09:52 2000 -+++ src/nss.c Thu May 11 22:58:35 2000 -@@ -37,6 +37,10 @@ - #include <stdlib.h> - #include <termios.h> - -+#ifdef __NetBSD__ -+#include <sys/ioctl.h> -+#endif -+ - /*-------------------------------------------------------------------------- - Local include files */ - -@@ -110,6 +114,9 @@ - - /* Put it in raw mode */ - memset(&tty, 0, sizeof(tty)); -+#ifdef __NetBSD__ -+ memcpy(&tty, &camera->tty_original, sizeof(tty)); -+#endif - cfmakeraw(&tty); - - /* A respondent reports that his camera won't begin talking until -@@ -135,8 +142,12 @@ - will initiate beacon phase from the camera. */ - - /* off... */ -+#ifdef __NetBSD__ -+ (void) ioctl(camera->fd, TIOCCDTR, 0); -+#else - cfsetospeed(&tty, B0); - cfsetispeed(&tty, B0); -+#endif - - if (tcsetattr(camera->fd, TCSANOW, &tty) == -1) - { -@@ -157,6 +168,10 @@ - /* ...on. */ - cfsetospeed(&tty, B9600); - cfsetispeed(&tty, B9600); -+ -+#ifdef __NetBSD__ -+ (void) ioctl(camera->fd, TIOCSDTR, 0); -+#endif - - if (tcsetattr(camera->fd, TCSANOW, &tty) == -1) - { diff --git a/graphics/opendis/patches/patch-ab b/graphics/opendis/patches/patch-ab deleted file mode 100644 index 25448b6f886..00000000000 --- a/graphics/opendis/patches/patch-ab +++ /dev/null @@ -1,12 +0,0 @@ -$NetBSD: patch-ab,v 1.1 2000/08/22 19:22:04 dmcmahill Exp $ - -needed on pre-1.5 systems. - ---- src/defs.h.orig Fri Nov 26 20:44:38 1999 -+++ src/defs.h Tue Aug 22 15:12:57 2000 -@@ -36,4 +36,5 @@ - #include <posix/endian.h> - #else -+#include <sys/types.h> - #include <machine/endian.h> - #endif |