diff options
author | hubertf <hubertf@pkgsrc.org> | 1998-12-25 21:37:05 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 1998-12-25 21:37:05 +0000 |
commit | aaa2023a841c6106c357a4f48261406842fc9638 (patch) | |
tree | 3911e6b26cfd2f86973b014cdc6dfc6f23ee05b4 /misc/siag/patches/patch-ab | |
parent | b7d4248e2398729b0657f44d54148e7366929330 (diff) | |
download | pkgsrc-aaa2023a841c6106c357a4f48261406842fc9638.tar.gz |
update to 3.1.2
Diffstat (limited to 'misc/siag/patches/patch-ab')
-rw-r--r-- | misc/siag/patches/patch-ab | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/misc/siag/patches/patch-ab b/misc/siag/patches/patch-ab deleted file mode 100644 index e9bed34f7a9..00000000000 --- a/misc/siag/patches/patch-ab +++ /dev/null @@ -1,48 +0,0 @@ -$NetBSD: patch-ab,v 1.1.1.1 1998/12/04 03:48:34 hubertf Exp $ - ---- xcommon/DragAndDrop.c.BAK Thu Dec 3 04:51:21 1998 -+++ xcommon/DragAndDrop.c Thu Dec 3 04:57:07 1998 -@@ -22,7 +22,11 @@ - #include <X11/Xmu/WinUtil.h> - #include <stdio.h> - #include <stdlib.h> -+#ifdef __NetBSD__ -+#include <machine/limits.h> -+#else - #include <values.h> -+#endif - - /* Local variables */ - static Display *dpy; /* current display */ -@@ -463,13 +467,13 @@ - - /* Set the data */ - AuxData = Data; -- AuxSize = ( Size <= MAXINT ? (int)Size : MAXINT ); -+ AuxSize = ( Size <= INT_MAX ? (int)Size : INT_MAX ); - XChangeProperty(dpy,root,DndSelection,XA_STRING,8, - PropModeReplace,Data,AuxSize); - for(Size-=(unsigned long)AuxSize;Size;Size-=(unsigned long)AuxSize) - { - Data+=AuxSize; -- AuxSize = ( (Size<=(MAXINT)) ? (int)Size : (MAXINT) ); -+ AuxSize = ( (Size<=(INT_MAX)) ? (int)Size : (INT_MAX) ); - XChangeProperty(dpy,root,DndSelection,XA_STRING,8, - PropModeAppend,Data,AuxSize); - } -@@ -477,13 +481,13 @@ - /* Set the data for old DND version */ - Size = BackSize; - AuxData = Data; -- AuxSize = ( Size <= MAXINT ? (int)Size : MAXINT ); -+ AuxSize = ( Size <= INT_MAX ? (int)Size : INT_MAX ); - XChangeProperty(dpy,root,OldDndSelection,XA_STRING,8, - PropModeReplace,Data,AuxSize); - for(Size-=(unsigned long)AuxSize;Size;Size-=(unsigned long)AuxSize) - { - Data+=AuxSize; -- AuxSize = ( (Size<=(MAXINT)) ? (int)Size : (MAXINT) ); -+ AuxSize = ( (Size<=(INT_MAX)) ? (int)Size : (INT_MAX) ); - XChangeProperty(dpy,root,OldDndSelection,XA_STRING,8, - PropModeAppend,Data,AuxSize); - } |