aboutsummaryrefslogtreecommitdiff
path: root/deskutils/xpad
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-10-06 06:13:46 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-10-06 06:13:46 +0000
commitd60c2c26e00ccf3b063f1adb8d9452d4d67b7ea7 (patch)
treed68212450d24400a35c655a97d8f90217d3287cb /deskutils/xpad
parentb7fc44bda10aba3b6bf59b51163667ed45ea87ef (diff)
downloadports-d60c2c26e00ccf3b063f1adb8d9452d4d67b7ea7.tar.gz
ports-d60c2c26e00ccf3b063f1adb8d9452d4d67b7ea7.zip
Make desktutils/xpad compile on 4.8
Notes
Notes: svn path=/head/; revision=90388
Diffstat (limited to 'deskutils/xpad')
-rw-r--r--deskutils/xpad/files/patch-src::sm.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/deskutils/xpad/files/patch-src::sm.c b/deskutils/xpad/files/patch-src::sm.c
new file mode 100644
index 000000000000..776a8d8393a4
--- /dev/null
+++ b/deskutils/xpad/files/patch-src::sm.c
@@ -0,0 +1,18 @@
+--- src/sm.c.orig Thu Feb 6 16:05:59 2003
++++ src/sm.c Mon Oct 6 16:09:35 2003
+@@ -25,12 +25,13 @@
+ #include "main.h"
+ #include <X11/SM/SMlib.h>
+ #include <stdio.h> /* only for printf */
+-#include <sys/select.h> /* for select */
++#include <sys/types.h> /* only for printf */
++#include <sys/select.h>
++#include <sys/time.h>
+ #include <stdlib.h> /* for free */
+ #include <string.h> /* for strlen */
+ #include <unistd.h> /* for getuid */
+ #include <pwd.h> /* for getpwuid */
+-#include <sys/types.h> /* for getuid and getpwuid */
+
+ static SmcConn xpad_sm_conn = NULL;
+ static int xpad_interact_style;