summaryrefslogtreecommitdiff
path: root/package/gpm/patches/patch-src_daemon_open_console_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-01-11 12:29:23 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-01-11 12:29:23 +0100
commit407f9b8fde3ad9cc55f39f7a548cde6056dab494 (patch)
tree0375ea8ddab3502bf6883066f43fc7e328d5c704 /package/gpm/patches/patch-src_daemon_open_console_c
parent2ecefcf609e484d04d1546581191831e07ad71ec (diff)
parentabb858ae43374dc13a5fcef19b9e0ba9442013bb (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/gpm/patches/patch-src_daemon_open_console_c')
-rw-r--r--package/gpm/patches/patch-src_daemon_open_console_c19
1 files changed, 9 insertions, 10 deletions
diff --git a/package/gpm/patches/patch-src_daemon_open_console_c b/package/gpm/patches/patch-src_daemon_open_console_c
index 28bd57e11..9ead6ea40 100644
--- a/package/gpm/patches/patch-src_daemon_open_console_c
+++ b/package/gpm/patches/patch-src_daemon_open_console_c
@@ -1,12 +1,11 @@
-$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
---- gpm-1.20.5.orig/src/daemon/open_console.c 2008-06-13 10:08:19.000000000 +0200
-+++ gpm-1.20.5/src/daemon/open_console.c 2008-09-16 17:11:51.000000000 +0200
-@@ -21,7 +21,7 @@
+--- gpm-1.20.7.orig/src/daemon/open_console.c 2012-10-26 23:21:38.000000000 +0200
++++ gpm-1.20.7/src/daemon/open_console.c 2013-12-22 12:54:02.000000000 +0100
+@@ -27,6 +27,8 @@
+ #include <linux/serial.h> /* for serial console check */
+ #include <asm/ioctls.h> /* for serial console check */
- #include <fcntl.h> /* open and co. */
- #include <sys/stat.h> /* stat() */
--#include <stropts.h> /* ioctl */
-+#include <sys/ioctl.h> /* ioctl */
++#define major(dev) (((unsigned) (dev))>>8)
++#define minor(dev) ((dev)&0xff)
- /* Linux specific (to be outsourced in gpm2 */
- #include <linux/serial.h> /* for serial console check */
+ #include "headers/message.h" /* messaging in gpm */
+ #include "headers/daemon.h" /* daemon internals */