aboutsummaryrefslogtreecommitdiff
path: root/games/xteddy/files
diff options
context:
space:
mode:
authorGuy Helmer <ghelmer@FreeBSD.org>1998-06-30 13:16:15 +0000
committerGuy Helmer <ghelmer@FreeBSD.org>1998-06-30 13:16:15 +0000
commit71e9bb8f1ee8de07ec301366ba60a715177908cd (patch)
tree0710e589f13a6a07054fa7bf7c0c0073d149bc02 /games/xteddy/files
parent9bb470ef1fa194c1c97a66188f5e3acf52daffeb (diff)
downloadports-71e9bb8f1ee8de07ec301366ba60a715177908cd.tar.gz
ports-71e9bb8f1ee8de07ec301366ba60a715177908cd.zip
Notes
Diffstat (limited to 'games/xteddy/files')
-rw-r--r--games/xteddy/files/patch-aa11
-rw-r--r--games/xteddy/files/patch-ab16
-rw-r--r--games/xteddy/files/patch-ac37
3 files changed, 64 insertions, 0 deletions
diff --git a/games/xteddy/files/patch-aa b/games/xteddy/files/patch-aa
new file mode 100644
index 000000000000..042c100ece27
--- /dev/null
+++ b/games/xteddy/files/patch-aa
@@ -0,0 +1,11 @@
+--- Imakefile.orig Mon Jan 31 20:12:14 1994
++++ Imakefile Wed Jun 3 17:14:29 1998
+@@ -1,6 +1,6 @@
+ SYS_LIBRARIES = -lX11 -lXext
+- EXTRA_INCLUDES = -I$(HOME)/include/X11
+-EXTRA_LIBRARIES = -L$(HOME)/lib -lXpm
++ EXTRA_INCLUDES = -I$(INCROOT)/X11
++EXTRA_LIBRARIES = -L$(USRLIBDIR) -lXpm
+ SRCS = xteddy.c
+ OBJS = xteddy.o
+
diff --git a/games/xteddy/files/patch-ab b/games/xteddy/files/patch-ab
new file mode 100644
index 000000000000..645113b6fa7c
--- /dev/null
+++ b/games/xteddy/files/patch-ab
@@ -0,0 +1,16 @@
+--- xteddy.man.orig Wed Jun 3 17:23:30 1998
++++ xteddy.man Wed Jun 3 17:08:40 1998
+@@ -0,0 +1,13 @@
++.Dd Jun 03, 1998
++.Dt XTEDDY 1
++.Os
++.Sh NAME
++.Nm xteddy
++.Nd shows a cuddlesome teddy on the X desktop
++.Sh SYNOPSIS
++.Nm xteddy
++.Sh DESCRIPTION
++.Nm xteddy
++shows a very cuddlesome teddy on the X desktop. The teddy can be removed
++by moving the mouse cursor over the teddy and typing "q" or "Q". But it's
++not advised to do that.
diff --git a/games/xteddy/files/patch-ac b/games/xteddy/files/patch-ac
new file mode 100644
index 000000000000..715282d49b69
--- /dev/null
+++ b/games/xteddy/files/patch-ac
@@ -0,0 +1,37 @@
+--- xteddy.c.orig Mon Jan 31 20:12:15 1994
++++ xteddy.c Wed Jun 3 17:09:27 1998
+@@ -19,7 +19,7 @@
+ #include <X11/cursorfont.h>
+
+ #ifndef NOXPM
+-#include <xpm.h>
++#include <X11/xpm.h>
+ #endif
+
+ #include <stdio.h>
+@@ -33,6 +33,14 @@
+ #include "xteddy_color.xpm"
+ #endif
+
++#ifndef TRUE
++#define TRUE 1
++#endif /* TRUE */
++
++#ifndef FALSE
++#define FALSE 0
++#endif /* FALSE */
++
+ #include "patchlevel.h"
+
+ static char *progname;
+@@ -335,8 +343,8 @@
+ break;
+ case KeyPress:
+ /* Exit on "q" or "Q" */
+- charcount = XLookupString(&report, buffer, bufsize,
+- &keysym, &compose);
++ charcount = XLookupString(&report.xkey,
++ buffer, bufsize, &keysym, &compose);
+ if((keysym == XK_Q) || (keysym == XK_q))
+ {
+ XCloseDisplay(display);