regen patches

This commit is contained in:
naddy 2004-01-28 20:58:53 +00:00
parent 8b4c64130a
commit ea9d815aa3
36 changed files with 190 additions and 158 deletions

View File

@ -1,5 +0,0 @@
--- patchlevel.h.orig Thu Jan 13 22:40:04 1994
+++ ./patchlevel.h Sat Jul 17 10:04:12 1999
@@ -1 +1 @@
-#define PATCHLEVELv4 0
+#define PATCHLEVELv4 2

View File

@ -1,11 +0,0 @@
--- st.c.orig Thu Jan 13 22:36:18 1994
+++ ./st.c Fri Jul 16 21:49:04 1999
@@ -208,7 +208,7 @@
}
}
-static rehash(table)
+extern rehash(table)
register st_table *table;
{
register st_table_entry *ptr, *next, **old_bins = table->bins;

View File

@ -1,11 +0,0 @@
--- winframe.c.orig Thu Jan 13 22:36:25 1994
+++ ./winframe.c Fri Jul 16 21:49:05 1999
@@ -52,6 +52,8 @@
extern Time TimeFresh();
+static headerHeight();
+
/***************************************************************************
* private data
***************************************************************************/

View File

@ -1,11 +0,0 @@
--- winipane.c.orig Thu Jan 13 22:36:26 1994
+++ ./winipane.c Fri Jul 16 23:42:24 1999
@@ -120,6 +120,8 @@
#else
switch(winInfo->iconDepth) {
case 8:
+ case 16:
+ case 24:
XCopyArea(dpy, winInfo->iconPixmap, pane, gc,
0, 0, winInfo->core.width, winInfo->core.height,
0, 0);

View File

@ -1,5 +1,6 @@
--- CHANGES.orig Mon Jan 24 22:43:14 1994
+++ ./CHANGES Sat Jul 17 10:04:13 1999
$OpenBSD: patch-CHANGES,v 1.1 2004/01/28 20:58:53 naddy Exp $
--- CHANGES.orig 1994-01-24 22:43:14.000000000 +0100
+++ CHANGES 2004-01-28 21:49:09.000000000 +0100
@@ -1,4 +1,31 @@
-Version 3.4 fixes and enhancements:
+Version 4.2 fixes:

View File

@ -1,5 +1,6 @@
--- Imakefile.orig Mon Jan 24 22:45:05 1994
+++ ./Imakefile Fri Jul 16 22:18:41 1999
$OpenBSD: patch-Imakefile,v 1.1 2004/01/28 20:58:53 naddy Exp $
--- Imakefile.orig 1994-01-24 22:45:05.000000000 +0100
+++ Imakefile 2004-01-28 21:49:09.000000000 +0100
@@ -45,8 +45,8 @@
/**/#MORECCFLAGS=-DOW_I18N_L3 -DSHAPE -DIDENT
@ -11,7 +12,7 @@
/**/#
/**/# Set MORELDFLAGS to any link options you want. Be sure to add -lxpm if you
/**/# want to include XPM support. For a generic Solaris 1.x
@@ -54,8 +54,8 @@
@@ -54,8 +54,8 @@ MORECCFLAGS=-DOW_I18N_L3 -DSHAPE -DSVR4
/**/#MORELDFLAGS=-L${OPENWINHOME}/lib
/**/#
/**/# For Solaris 2.x, I'd suggest
@ -22,7 +23,7 @@
/**/# No more changes needed
@@ -67,7 +67,7 @@
@@ -67,7 +67,7 @@ MORELDFLAGS=-L${OPENWINHOME}/lib -R ${OP
DEFINES = $(MORECCFLAGS)
SYS_LIBRARIES = -ll -lm
@ -31,7 +32,7 @@
DEPLIBS =
LOCAL_LIBRARIES = $(MORELDFLAGS) $(OLGXLIB) $(XLIB)
@@ -139,7 +139,9 @@
@@ -139,7 +139,9 @@ install.man:: $(MANPAGES)
@for i in $(MANPAGES) ;\
do \
echo "installing $$i"; \

View File

@ -1,5 +1,6 @@
--- LEGAL_NOTICE.orig Thu Jan 1 01:00:00 1970
+++ ./LEGAL_NOTICE Fri Jul 16 21:49:02 1999
$OpenBSD: patch-LEGAL_NOTICE,v 1.1 2004/01/28 20:58:53 naddy Exp $
--- LEGAL_NOTICE.orig 2004-01-28 21:49:09.000000000 +0100
+++ LEGAL_NOTICE 2004-01-28 21:49:09.000000000 +0100
@@ -0,0 +1,56 @@
+ NOTICE TO USER: The source code, including the glyphs or icons
+ forming a par of the OPEN LOOK TM Graphic User Interface, on this

View File

@ -1,5 +1,6 @@
--- Makefile.orig Thu Jan 1 01:00:00 1970
+++ ./Makefile Fri Jul 16 22:18:44 1999
$OpenBSD: patch-Makefile,v 1.1 2004/01/28 20:58:53 naddy Exp $
--- Makefile.orig 2004-01-28 21:49:09.000000000 +0100
+++ Makefile 2004-01-28 21:49:09.000000000 +0100
@@ -0,0 +1,986 @@
+# Makefile generated by imake - do not edit!
+# $TOG: imake.c /main/97 1997/06/20 20:23:51 kaleb $
@ -35,7 +36,7 @@
+
+# platform: $XFree86: xc/config/cf/OpenBSD.cf,v 3.1.2.13 1998/12/22 11:23:02 hohndel Exp $
+#
+# $OpenBSD: patch-04,v 1.2 1999/07/17 10:53:21 matthieu Exp $
+# $OpenBSD: patch-Makefile,v 1.1 2004/01/28 20:58:53 naddy Exp $
+#
+
+# operating system: OpenBSD 2.5 i386 OSBinaryType (2.5.0)

View File

@ -1,6 +1,7 @@
--- Makefile.sunpro.orig Mon Jan 24 23:31:50 1994
+++ ./Makefile.sunpro Fri Jul 16 21:49:02 1999
@@ -60,7 +60,11 @@
$OpenBSD: patch-Makefile_sunpro,v 1.1 2004/01/28 20:58:53 naddy Exp $
--- Makefile.sunpro.orig 1994-01-24 23:31:50.000000000 +0100
+++ Makefile.sunpro 2004-01-28 21:49:09.000000000 +0100
@@ -60,7 +60,11 @@ MAN5DIR = ${OPENWINHOME}/man/man5
# -DSVR4 Support for System V Release 4 (you must also include
# -DSYSV)
# -DXPM Support the XPM color pixmaps -- requires that you
@ -13,7 +14,7 @@
#
# I haven't tested this on Solaris 1.x, but I'd suggest
#MORECCFLAGS=-DOW_I18N_L3 -DSHAPE -DIDENT
@@ -71,10 +75,10 @@
@@ -71,10 +75,10 @@ MORECCFLAGS=-DOW_I18N_L3 -DSHAPE -DSVR4
#
# Set LDFLAGS to any link options you want. For a generic Solaris 1.x
# system, I'd suggest

View File

@ -1,6 +1,7 @@
--- atom.c.orig Thu Jan 13 22:36:02 1994
+++ ./atom.c Sat Jul 17 10:04:13 1999
@@ -73,11 +73,11 @@
$OpenBSD: patch-atom_c,v 1.1 2004/01/28 20:58:53 naddy Exp $
--- atom.c.orig 1994-01-13 22:36:02.000000000 +0100
+++ atom.c 2004-01-28 21:49:09.000000000 +0100
@@ -73,11 +73,11 @@ Atom AtomSunOLWinAttr5;
Atom AtomDecorIconName;
Atom AtomSunReReadMenuFile;
#ifdef OW_I18N_L4
@ -13,7 +14,7 @@
/***************************************************************************
* Global functions
@@ -153,9 +153,7 @@
@@ -153,9 +153,7 @@ Display *dpy;
AtomTargets = XInternAtom(dpy,"TARGETS",False);
AtomTimestamp = XInternAtom(dpy,"TIMESTAMP",False);
AtomUser = XInternAtom(dpy,"USER",False);

View File

@ -1,5 +1,6 @@
--- cursors.c.orig Thu Jan 13 22:36:03 1994
+++ ./cursors.c Sat Jul 17 10:04:13 1999
$OpenBSD: patch-cursors_c,v 1.1 2004/01/28 20:58:53 naddy Exp $
--- cursors.c.orig 1994-01-13 22:36:03.000000000 +0100
+++ cursors.c 2004-01-28 21:49:09.000000000 +0100
@@ -21,7 +21,7 @@
#include "st.h"
@ -9,7 +10,7 @@
#endif
static st_table *cursorTable;
@@ -278,7 +278,7 @@
@@ -278,7 +278,7 @@ initPointer(dpy, cmap, data, pointer)
if (our_copy[0] == 'X')
font_file = "cursor";
else if (our_copy[0] == 'O')

View File

@ -1,6 +1,7 @@
--- defaults.c.orig Thu Jan 13 22:36:03 1994
+++ ./defaults.c Fri Jul 16 21:49:02 1999
@@ -90,7 +90,11 @@
$OpenBSD: patch-defaults_c,v 1.1 2004/01/28 20:58:53 naddy Exp $
--- defaults.c.orig 1994-01-13 22:36:03.000000000 +0100
+++ defaults.c 2004-01-28 21:49:09.000000000 +0100
@@ -90,7 +90,11 @@ GetUserDefaults(dpy)
#ifdef SVR4
if (sysinfo(SI_HOSTNAME, hostname, sizeof(hostname)) != -1) {
#else

View File

@ -1,5 +1,6 @@
--- error.c.orig Thu Jan 13 22:36:04 1994
+++ ./error.c Sat Jul 17 10:05:18 1999
$OpenBSD: patch-error_c,v 1.1 2004/01/28 20:58:53 naddy Exp $
--- error.c.orig 1994-01-13 22:36:04.000000000 +0100
+++ error.c 2004-01-28 21:49:09.000000000 +0100
@@ -13,7 +13,11 @@
#include <stdio.h>
@ -12,7 +13,7 @@
#include <X11/Xproto.h>
#include "i18n.h"
@@ -232,8 +236,6 @@
@@ -232,8 +236,6 @@ printError(dpy, err, tag)
err->resourceid);
FPRINTF(stderr, GetString(" serial number of failed request: %d\n"),
err->serial);

View File

@ -1,5 +1,6 @@
--- error.c.rej.orig Thu Jan 1 01:00:00 1970
+++ ./error.c.rej Sat Jul 17 10:04:14 1999
$OpenBSD: patch-error_c_rej,v 1.1 2004/01/28 20:58:53 naddy Exp $
--- error.c.rej.orig 2004-01-28 21:49:09.000000000 +0100
+++ error.c.rej 2004-01-28 21:49:09.000000000 +0100
@@ -0,0 +1,17 @@
+***************
+*** 232,239 ****

View File

@ -1,5 +1,6 @@
--- evbind.c.orig Thu Jan 13 22:36:05 1994
+++ ./evbind.c Sat Jul 17 10:04:14 1999
$OpenBSD: patch-evbind_c,v 1.1 2004/01/28 20:58:53 naddy Exp $
--- evbind.c.orig 1994-01-13 22:36:05.000000000 +0100
+++ evbind.c 2004-01-28 21:49:10.000000000 +0100
@@ -5,7 +5,7 @@
*/
@ -19,7 +20,7 @@
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/keysym.h>
@@ -137,7 +139,7 @@
@@ -137,7 +139,7 @@ establishModBindings(dpy, newDB)
*/
typedef struct {

View File

@ -1,6 +1,7 @@
--- gif.c.orig Thu Jan 13 22:36:06 1994
+++ ./gif.c Fri Jul 16 21:49:03 1999
@@ -56,6 +56,10 @@
$OpenBSD: patch-gif_c,v 1.1 2004/01/28 20:58:53 naddy Exp $
--- gif.c.orig 1994-01-13 22:36:06.000000000 +0100
+++ gif.c 2004-01-28 21:49:10.000000000 +0100
@@ -56,6 +56,10 @@ struct {
int disposal;
} Gif89 = { -1, -1, -1, 0 };
@ -11,7 +12,7 @@
extern XImage* ReadImage();
XImage *ReadGIF(dpy, fd, pNcolors, pColors)
@@ -456,7 +460,7 @@
@@ -456,7 +460,7 @@ int input_code_size;
return code;
}

View File

@ -1,5 +1,6 @@
--- images.c.orig Thu Jan 13 22:36:07 1994
+++ ./images.c Fri Jul 16 21:49:03 1999
$OpenBSD: patch-images_c,v 1.1 2004/01/28 20:58:54 naddy Exp $
--- images.c.orig 1994-01-13 22:36:07.000000000 +0100
+++ images.c 2004-01-28 21:49:10.000000000 +0100
@@ -4,7 +4,7 @@
*/
@ -9,7 +10,7 @@
#endif
/* Use small images */
@@ -51,7 +51,6 @@
@@ -51,7 +51,6 @@ openButton = {
True,
True,
WindowOpenCloseAction,
@ -17,7 +18,7 @@
ACTION_OPEN_CLOSE,
NULL,
NULL
@@ -67,7 +66,6 @@
@@ -67,7 +66,6 @@ fullSizeButton = {
True,
True,
WindowFullRestoreSizeAction,
@ -25,7 +26,7 @@
ACTION_FULL_RESTORE,
NULL,
NULL
@@ -83,7 +81,6 @@
@@ -83,7 +81,6 @@ moveButton = {
True,
True,
WindowMoveAction,
@ -33,7 +34,7 @@
ACTION_MOVE,
NULL,
NULL
@@ -99,7 +96,6 @@
@@ -99,7 +96,6 @@ resizeButton = {
True,
True,
WindowResizeAction,
@ -41,7 +42,7 @@
ACTION_RESIZE,
NULL,
NULL
@@ -115,7 +111,6 @@
@@ -115,7 +111,6 @@ stickyButton = {
True,
True,
WindowStickAction,
@ -49,7 +50,7 @@
ACTION_STICK,
NULL,
NULL
@@ -131,7 +126,6 @@
@@ -131,7 +126,6 @@ propertiesButton = {
False,
True,
WindowPropsAction,
@ -57,7 +58,7 @@
ACTION_PROPS,
NULL,
NULL
@@ -147,7 +141,6 @@
@@ -147,7 +141,6 @@ backButton = {
True,
True,
WindowBackAction,
@ -65,7 +66,7 @@
ACTION_BACK,
NULL,
NULL
@@ -163,7 +156,6 @@
@@ -163,7 +156,6 @@ refreshButton = {
True,
True,
WindowRefreshAction,
@ -73,7 +74,7 @@
ACTION_REFRESH,
NULL,
NULL
@@ -179,7 +171,6 @@
@@ -179,7 +171,6 @@ quitButton = {
True,
True,
WindowQuitAction,
@ -81,7 +82,7 @@
ACTION_QUIT,
NULL,
NULL
@@ -195,7 +186,6 @@
@@ -195,7 +186,6 @@ dismissButton = {
True,
True,
NULL,
@ -89,7 +90,7 @@
ACTION_NONE,
NULL,
NULL
@@ -211,7 +201,6 @@
@@ -211,7 +201,6 @@ dismissThisButton = {
True,
True,
WindowDismissThisAction,
@ -97,7 +98,7 @@
ACTION_OPEN_CLOSE,
NULL,
NULL
@@ -227,7 +216,6 @@
@@ -227,7 +216,6 @@ dismissAllButton = {
True,
True,
WindowDismissAllAction,
@ -105,7 +106,7 @@
ACTION_NONE,
NULL,
NULL
@@ -243,7 +231,6 @@
@@ -243,7 +231,6 @@ ownerButton = {
True,
True,
WindowFlashOwnerAction,
@ -113,7 +114,7 @@
ACTION_OWNER,
NULL,
NULL
@@ -262,7 +249,6 @@
@@ -262,7 +249,6 @@ Button moveRightButton = {
True,
True,
VDMMenuAction,
@ -121,7 +122,7 @@
ACTION_RIGHT_V,
NULL,
NULL
@@ -277,7 +263,6 @@
@@ -277,7 +263,6 @@ Button moveLeftButton = {
True,
True,
VDMMenuAction,
@ -129,7 +130,7 @@
ACTION_LEFT_V,
NULL,
};
@@ -291,7 +276,6 @@
@@ -291,7 +276,6 @@ Button moveUpButton = {
True,
True,
VDMMenuAction,
@ -137,7 +138,7 @@
ACTION_UP_V,
NULL,
NULL
@@ -306,7 +290,6 @@
@@ -306,7 +290,6 @@ Button moveDownButton = {
True,
True,
VDMMenuAction,
@ -145,7 +146,7 @@
ACTION_DOWN_V,
NULL,
NULL
@@ -321,7 +304,6 @@
@@ -321,7 +304,6 @@ Button moveUpRightButton = {
True,
True,
VDMMenuAction,
@ -153,7 +154,7 @@
ACTION_UPRIGHT_V,
NULL,
NULL
@@ -336,7 +318,6 @@
@@ -336,7 +318,6 @@ Button moveDownRightButton = {
True,
True,
VDMMenuAction,
@ -161,7 +162,7 @@
ACTION_DOWNRIGHT_V,
NULL,
NULL
@@ -351,7 +332,6 @@
@@ -351,7 +332,6 @@ Button moveUpLeftButton = {
True,
True,
VDMMenuAction,
@ -169,7 +170,7 @@
ACTION_UPLEFT_V,
NULL,
NULL
@@ -366,7 +346,6 @@
@@ -366,7 +346,6 @@ Button moveDownLeftButton = {
True,
True,
VDMMenuAction,
@ -177,7 +178,7 @@
ACTION_DOWNLEFT_V,
NULL,
NULL
@@ -381,7 +360,6 @@
@@ -381,7 +360,6 @@ Button moveHomeButton = {
True,
True,
VDMMenuAction,

View File

@ -1,5 +1,6 @@
--- mem.c.orig Thu Jan 13 22:36:08 1994
+++ ./mem.c Fri Jul 16 21:49:03 1999
$OpenBSD: patch-mem_c,v 1.1 2004/01/28 20:58:54 naddy Exp $
--- mem.c.orig 1994-01-13 22:36:08.000000000 +0100
+++ mem.c 2004-01-28 21:49:10.000000000 +0100
@@ -18,7 +18,7 @@
@ -9,7 +10,7 @@
#include <memory.h>
#include <stdio.h>
@@ -139,7 +139,7 @@
@@ -139,7 +139,7 @@ MemAllocN(sz
{
void *p;
@ -18,7 +19,7 @@
ErrorGeneral(gettext("Memory allocation failure."));
#ifdef MEMDEBUG
@@ -164,7 +164,7 @@
@@ -164,7 +164,7 @@ MemAlloc(sz
{
void *p;
@ -27,7 +28,7 @@
ErrorGeneral(GetString("Memory allocation failure."));
memset((char *) p, 0, (int) sz);
@@ -191,7 +191,7 @@
@@ -191,7 +191,7 @@ MemCalloc(num, sz
{
void *p;
@ -36,7 +37,7 @@
ErrorGeneral(GetString("Memory array allocation failure."));
memset((char *) p, 0, (int) sz * (int) num);
@@ -210,7 +210,7 @@
@@ -210,7 +210,7 @@ MemRealloc(p, sz)
{
void *t;

View File

@ -1,5 +1,6 @@
--- menu.c.orig Thu Jan 13 22:36:09 1994
+++ ./menu.c Sat Jul 17 10:04:15 1999
$OpenBSD: patch-menu_c,v 1.1 2004/01/28 20:58:54 naddy Exp $
--- menu.c.orig 1994-01-13 22:36:09.000000000 +0100
+++ menu.c 2004-01-28 21:49:10.000000000 +0100
@@ -5,7 +5,7 @@
*/
@ -9,7 +10,7 @@
#endif
/*
@@ -3154,7 +3154,11 @@
@@ -3154,7 +3154,11 @@ drawCommonButton(dpy, menuInfo, idx, fDe
else if (pb->label[pb->which].kind == ComboLabel) {
label = &combLabel;
combLabel.pixlabel = *(pb->label[pb->which].pixlabel);

View File

@ -1,5 +1,6 @@
--- menu.h.orig Thu Jan 13 22:40:03 1994
+++ ./menu.h Fri Jul 16 21:49:03 1999
$OpenBSD: patch-menu_h,v 1.1 2004/01/28 20:58:54 naddy Exp $
--- menu.h.orig 1994-01-13 22:40:03.000000000 +0100
+++ menu.h 2004-01-28 21:49:10.000000000 +0100
@@ -8,7 +8,7 @@
#define _OLWM_MENU_H
@ -9,7 +10,7 @@
#endif
/*
@@ -56,17 +56,18 @@
@@ -56,17 +56,18 @@ typedef struct _button {
FuncPtr callback; /* function to call when item hit */
/* NULL if button has pullright */

View File

@ -1,5 +1,6 @@
--- moveresize.c.orig Thu Jan 13 22:36:09 1994
+++ ./moveresize.c Sat Jul 17 10:04:15 1999
$OpenBSD: patch-moveresize_c,v 1.1 2004/01/28 20:58:54 naddy Exp $
--- moveresize.c.orig 1994-01-13 22:36:09.000000000 +0100
+++ moveresize.c 2004-01-28 21:49:10.000000000 +0100
@@ -5,7 +5,7 @@
*/
@ -9,7 +10,7 @@
#endif
/*
@@ -1067,6 +1067,7 @@
@@ -1067,6 +1067,7 @@ moveDone(mstuff)
XUngrabPointer(mstuff->dpy, CurrentTime);
XUngrabKeyboard(mstuff->dpy, CurrentTime);
@ -17,7 +18,7 @@
/*
* If we moved the outline (not the whole window) cause the window to be
* raised at the same time it is moved. Raise just the frame the user
@@ -1087,6 +1088,7 @@
@@ -1087,6 +1088,7 @@ moveDone(mstuff)
destroyStatusWindow(mstuff->statuswindow);
mstuff->statuswindow = NULL;

View File

@ -1,5 +1,6 @@
--- olvwm.info.orig Thu Jan 1 01:00:00 1970
+++ ./olvwm.info Fri Jul 16 21:49:03 1999
$OpenBSD: patch-olvwm_info,v 1.1 2004/01/28 20:58:54 naddy Exp $
--- olvwm.info.orig 2004-01-28 21:49:10.000000000 +0100
+++ olvwm.info 2004-01-28 21:49:10.000000000 +0100
@@ -0,0 +1,48 @@
+# -----------------------------------------------
+# olvwm.info 31 October 1991

View File

@ -1,5 +1,6 @@
--- olvwmrc.y.orig Thu Jan 13 22:46:53 1994
+++ ./olvwmrc.y Sat Jul 17 10:04:15 1999
$OpenBSD: patch-olvwmrc_y,v 1.1 2004/01/28 20:58:54 naddy Exp $
--- olvwmrc.y.orig 1994-01-13 22:46:53.000000000 +0100
+++ olvwmrc.y 2004-01-28 21:49:10.000000000 +0100
@@ -5,7 +5,7 @@
%{
@ -9,7 +10,7 @@
#endif
#include <sys/types.h>
@@ -81,6 +81,7 @@
@@ -81,6 +81,7 @@ List *ProgKeyList = NULL;
List *WinMenuActionsList = NULL;
static Display *dpy;
@ -17,7 +18,7 @@
%}
@@ -526,7 +527,9 @@
@@ -526,7 +527,9 @@ String : WORD
}
%%
/* Programs */
@ -27,7 +28,7 @@
#include "parse.c"
extern List *ActiveClientList;
@@ -577,7 +580,7 @@
@@ -577,7 +580,7 @@ char name[];
return(True);
}
@ -36,7 +37,7 @@
strexpand(s)
char *s;
{
@@ -712,7 +715,8 @@
@@ -712,7 +715,8 @@ matchProgKey(p, ev)
{
if (p->keycode == ev->xkey.keycode &&
@ -46,7 +47,7 @@
return p;
return NULL;
}
@@ -799,14 +803,26 @@
@@ -799,14 +803,26 @@ struct stat statbuf;
extern List *ScreenInfoList;
List *l = ScreenInfoList;
ScreenInfo *scr;
@ -75,7 +76,7 @@
findClient_rootid = 0;
}
free(s);
@@ -1249,6 +1265,7 @@
@@ -1249,6 +1265,7 @@ InitOlvwmRC(ldpy, path)
return;
olvwmOldBuf = olvwmBuf;
dpy = ldpy;

View File

@ -1,5 +1,6 @@
--- olwm.c.orig Thu Jan 13 22:36:12 1994
+++ ./olwm.c Fri Jul 16 21:49:04 1999
$OpenBSD: patch-olwm_c,v 1.1 2004/01/28 20:58:54 naddy Exp $
--- olwm.c.orig 1994-01-13 22:36:12.000000000 +0100
+++ olwm.c 2004-01-28 21:49:10.000000000 +0100
@@ -56,6 +56,9 @@
typedef void (*VoidFunc)();
@ -10,7 +11,7 @@
/*
* Globals
@@ -182,7 +185,7 @@
@@ -182,7 +185,7 @@ static char **argVec;
/*
* main -- parse arguments, perform initialization, call event-loop
*/
@ -19,7 +20,7 @@
main(argc, argv)
int argc;
char **argv;
@@ -679,7 +682,11 @@
@@ -679,7 +682,11 @@ ReapChildren()
#else
int oldmask;
int pid;

View File

@ -0,0 +1,6 @@
$OpenBSD: patch-patchlevel_h,v 1.1 2004/01/28 20:58:54 naddy Exp $
--- patchlevel.h.orig 1994-01-13 22:40:04.000000000 +0100
+++ patchlevel.h 2004-01-28 21:49:10.000000000 +0100
@@ -1 +1 @@
-#define PATCHLEVELv4 0
+#define PATCHLEVELv4 2

View File

@ -1,5 +1,6 @@
--- pixmap.c.orig Thu Jan 13 22:36:12 1994
+++ ./pixmap.c Sat Jul 17 00:35:59 1999
$OpenBSD: patch-pixmap_c,v 1.1 2004/01/28 20:58:54 naddy Exp $
--- pixmap.c.orig 1994-01-13 22:36:12.000000000 +0100
+++ pixmap.c 2004-01-28 21:49:10.000000000 +0100
@@ -4,7 +4,7 @@
*/
@ -32,7 +33,7 @@
#include "i18n.h"
#include <olgx/olgx.h>
@@ -159,6 +171,7 @@
@@ -159,6 +171,7 @@ XColor **colors;
}
FreePixmapColors(dpy, ncolors, colors, colormap)

View File

@ -1,6 +1,7 @@
--- properties.c.orig Thu Jan 13 22:36:13 1994
+++ ./properties.c Sat Jul 17 10:04:15 1999
@@ -63,8 +63,8 @@
$OpenBSD: patch-properties_c,v 1.1 2004/01/28 20:58:54 naddy Exp $
--- properties.c.orig 1994-01-13 22:36:13.000000000 +0100
+++ properties.c 2004-01-28 21:49:10.000000000 +0100
@@ -63,8 +63,8 @@ extern Atom AtomRightFooter;
extern Atom AtomDecorIMStatus;
extern Atom AtomLeftIMStatus;
extern Atom AtomRightIMStatus;
@ -10,7 +11,7 @@
/***************************************************************************
* GetWindowProperty
@@ -147,8 +147,9 @@
@@ -147,8 +147,9 @@ propGetTextProp(dpy,win,property,text)
}
#else

View File

@ -1,5 +1,6 @@
--- resources.c.orig Thu Jan 13 22:36:14 1994
+++ ./resources.c Sat Jul 17 10:04:16 1999
$OpenBSD: patch-resources_c,v 1.1 2004/01/28 20:58:54 naddy Exp $
--- resources.c.orig 1994-01-13 22:36:14.000000000 +0100
+++ resources.c 2004-01-28 21:49:10.000000000 +0100
@@ -5,7 +5,7 @@
*/
@ -9,7 +10,7 @@
#endif
/*
@@ -562,8 +562,8 @@
@@ -562,8 +562,8 @@ ResourceItem MainItemTable[] = {
&(GRV.VirtualFontColor), cvtString, updVirtualFontColor,
0L },
{ "virtualIconic", "VirtualIconic", "False",
@ -20,7 +21,7 @@
{ "virtualSticky", "VirtualSticky", "",
&(GRV.StickyList), cvtStringList, NULL,
0L },
@@ -620,13 +620,13 @@
@@ -620,13 +620,13 @@ ResourceItem MainItemTable[] = {
0L },
{ "autoShowRootMenu", "AutoShowRootMenu", "False",
&(GRV.AutoShowRootMenu), cvtBoolean, NULL,
@ -37,7 +38,7 @@
{ "inputFocusColor", "InputFocusColor", NULL,
&(GRV.InputFocusColor), cvtString, updInputFocusColor,
0L },
@@ -1577,7 +1577,7 @@
@@ -1577,7 +1577,7 @@ dump_locale()
GRV.lc_ilang.locale ? GRV.lc_ilang.locale : "(null)",
GRV.lc_numeric.locale ? GRV.lc_numeric.locale : "(null)",
GRV.lc_datefmt.locale ? GRV.lc_datefmt.locale : "(null)");

View File

@ -1,5 +1,6 @@
--- screen.c.orig Thu Jan 13 22:36:16 1994
+++ ./screen.c Fri Jul 16 21:49:04 1999
$OpenBSD: patch-screen_c,v 1.1 2004/01/28 20:58:54 naddy Exp $
--- screen.c.orig 1994-01-13 22:36:16.000000000 +0100
+++ screen.c 2004-01-28 21:49:10.000000000 +0100
@@ -66,6 +66,13 @@
*-------------------------------------------------------------------------*/
List *ScreenInfoList; /* List of managed screens */
@ -14,7 +15,7 @@
/*-------------------------------------------------------------------------
* Local Data
@@ -281,6 +288,7 @@
@@ -281,6 +288,7 @@ isColorScreen(scrInfo,visInfo,nvisuals)
case StaticColor:
case PseudoColor:
case GrayScale:

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-st_c,v 1.1 2004/01/28 20:58:54 naddy Exp $
--- st.c.orig 1994-01-13 22:36:18.000000000 +0100
+++ st.c 2004-01-28 21:49:10.000000000 +0100
@@ -208,7 +208,7 @@ char ***slot;
}
}
-static rehash(table)
+extern rehash(table)
register st_table *table;
{
register st_table_entry *ptr, *next, **old_bins = table->bins;

View File

@ -1,5 +1,6 @@
--- states.c.orig Thu Jan 13 22:36:20 1994
+++ ./states.c Fri Jul 16 21:49:04 1999
$OpenBSD: patch-states_c,v 1.1 2004/01/28 20:58:54 naddy Exp $
--- states.c.orig 1994-01-13 22:36:20.000000000 +0100
+++ states.c 2004-01-28 21:49:10.000000000 +0100
@@ -8,7 +8,7 @@
*/
@ -19,7 +20,7 @@
#include <X11/Xos.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
@@ -1356,7 +1358,9 @@
@@ -1356,7 +1358,9 @@ Time timestamp;
(WinFunc(iconInfo,core.setconfigfunc))
(iconInfo->core.client->dpy, iconInfo);
}
@ -29,7 +30,7 @@
IconShow(cli, iconInfo);
ClientSetWMState(cli, IconicState);
if (cli->groupmask == GROUP_LEADER)
@@ -1367,7 +1371,9 @@
@@ -1367,7 +1371,9 @@ Time timestamp;
GroupApply(PANEWINOFCLIENT(cli), iconifyOne,
iconInfo, GROUP_DEPENDENT);
}

View File

@ -1,5 +1,6 @@
--- usermenu.c.orig Thu Jan 13 22:36:21 1994
+++ ./usermenu.c Sat Jul 17 10:04:16 1999
$OpenBSD: patch-usermenu_c,v 1.1 2004/01/28 20:58:54 naddy Exp $
--- usermenu.c.orig 1994-01-13 22:36:21.000000000 +0100
+++ usermenu.c 2004-01-28 21:49:10.000000000 +0100
@@ -5,7 +5,7 @@
*/
@ -18,7 +19,7 @@
#endif XPM
#include <assert.h>
@@ -1003,7 +1003,7 @@
@@ -1003,7 +1003,7 @@ menuFromFile(file, menu, messages)
int lineno = 1; /* Needed for recursion */
int rval;

View File

@ -1,6 +1,7 @@
--- virtual.c.orig Thu Jan 13 22:36:22 1994
+++ ./virtual.c Fri Jul 16 21:49:05 1999
@@ -48,6 +48,9 @@
$OpenBSD: patch-virtual_c,v 1.1 2004/01/28 20:58:54 naddy Exp $
--- virtual.c.orig 1994-01-13 22:36:22.000000000 +0100
+++ virtual.c 2004-01-28 21:49:10.000000000 +0100
@@ -48,6 +48,9 @@ regexp *expbuf;
#ident "@(#)virtual.c 1.6 olvwm version 07 Jan 1994"
#endif
@ -10,7 +11,7 @@
/* Class Function Vector; a virtual pane is the VDM window in which all
* the little virtual windows appear (and to which said windows are
* parented)
@@ -2108,7 +2111,9 @@
@@ -2108,7 +2111,9 @@ int val;
}
}

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-winframe_c,v 1.1 2004/01/28 20:58:54 naddy Exp $
--- winframe.c.orig 1994-01-13 22:36:25.000000000 +0100
+++ winframe.c 2004-01-28 21:49:11.000000000 +0100
@@ -52,6 +52,8 @@ extern int Resize_height, Resize_width;
extern Time TimeFresh();
+static headerHeight();
+
/***************************************************************************
* private data
***************************************************************************/

View File

@ -1,5 +1,6 @@
--- winicon.c.orig Thu Jan 13 22:36:26 1994
+++ ./winicon.c Fri Jul 16 21:49:05 1999
$OpenBSD: patch-winicon_c,v 1.1 2004/01/28 20:58:54 naddy Exp $
--- winicon.c.orig 1994-01-13 22:36:26.000000000 +0100
+++ winicon.c 2004-01-28 21:49:11.000000000 +0100
@@ -37,6 +37,10 @@
extern Bool PropGetWMName();
extern Bool PropGetWMIconName();

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-winipane_c,v 1.1 2004/01/28 20:58:54 naddy Exp $
--- winipane.c.orig 1994-01-13 22:36:26.000000000 +0100
+++ winipane.c 2004-01-28 21:49:11.000000000 +0100
@@ -120,6 +120,8 @@ WinIconPane *winInfo;
#else
switch(winInfo->iconDepth) {
case 8:
+ case 16:
+ case 24:
XCopyArea(dpy, winInfo->iconPixmap, pane, gc,
0, 0, winInfo->core.width, winInfo->core.height,
0, 0);