aboutsummaryrefslogtreecommitdiff
path: root/x11/libdnd
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-02-27 14:44:01 +0000
committerSteve Price <steve@FreeBSD.org>2000-02-27 14:44:01 +0000
commit87b6bd7d7bcb5f9ecd74278fd3b0a1e653b7afb9 (patch)
treee590098798c52968956f71ed20fa4550a050bad0 /x11/libdnd
parentdff5f095189d35655ad74ddfeec4cc4c639cb5f9 (diff)
downloadports-87b6bd7d7bcb5f9ecd74278fd3b0a1e653b7afb9.tar.gz
ports-87b6bd7d7bcb5f9ecd74278fd3b0a1e653b7afb9.zip
Minor tweaks so this will build again in -current.
Notes
Notes: svn path=/head/; revision=26357
Diffstat (limited to 'x11/libdnd')
-rw-r--r--x11/libdnd/files/patch-aa46
1 files changed, 44 insertions, 2 deletions
diff --git a/x11/libdnd/files/patch-aa b/x11/libdnd/files/patch-aa
index f7ddb8b2acb9..b00afd5333d9 100644
--- a/x11/libdnd/files/patch-aa
+++ b/x11/libdnd/files/patch-aa
@@ -1,5 +1,5 @@
---- DragAndDrop.c.orig Mon Sep 15 21:02:20 1997
-+++ DragAndDrop.c Mon Sep 15 21:03:53 1997
+--- DragAndDrop.c.orig Fri Nov 22 19:19:27 1996
++++ DragAndDrop.c Sat Feb 26 22:03:14 2000
@@ -22,7 +22,12 @@
#include <X11/Xmu/WinUtil.h>
#include <stdio.h>
@@ -13,3 +13,45 @@
/* Local variables */
static Display *dpy; /* current display */
+@@ -81,23 +86,23 @@
+
+ static CursorData DndCursor[DndEND]={
+ { 0,0,NULL,NULL,0,0,0 },
+- { grey_width, grey_height,grey_bits,grey_mask_bits,
++ { grey_width, grey_height,(char *)grey_bits,(char *)grey_mask_bits,
+ grey_x_hot,grey_y_hot},
+- { file_width,file_height,file_bits,file_mask_bits,
++ { file_width,file_height,(char *)file_bits,(char *)file_mask_bits,
+ file_x_hot,file_y_hot},
+- { files_width,files_height,files_bits,files_mask_bits,
++ { files_width,files_height,(char *)files_bits,(char *)files_mask_bits,
+ files_x_hot,files_y_hot},
+- { text_width,text_height,text_bits,text_mask_bits,
++ { text_width,text_height,(char *)text_bits,(char *)text_mask_bits,
+ text_x_hot,text_y_hot },
+- { dir_width,dir_height,dir_bits,dir_mask_bits,
++ { dir_width,dir_height,(char *)dir_bits,(char *)dir_mask_bits,
+ dir_x_hot,dir_y_hot },
+- { link_width,link_height,link_bits,link_mask_bits,
++ { link_width,link_height,(char *)link_bits,(char *)link_mask_bits,
+ link_x_hot,link_y_hot},
+- { app_width,app_height,app_bits,app_mask_bits,
++ { app_width,app_height,(char *)app_bits,(char *)app_mask_bits,
+ app_x_hot,app_y_hot },
+- { url_width,url_height,url_bits,url_mask_bits,
++ { url_width,url_height,(char *)url_bits,(char *)url_mask_bits,
+ url_x_hot,url_y_hot },
+- { mime_width,mime_height,mime_bits,mime_mask_bits,
++ { mime_width,mime_height,(char *)mime_bits,(char *)mime_mask_bits,
+ mime_x_hot,mime_y_hot }
+ };
+
+@@ -394,7 +399,7 @@
+ if(MainWidget) return MainWidget;
+ #ifdef DEBUG
+ fprintf(stderr,"Multiple shells.\n");
+-#endif DEBUG
++#endif
+
+ while(XtParent(widget) && XtIsRealized(XtParent(widget))==True)
+ widget=XtParent(widget);