summaryrefslogtreecommitdiff
path: root/dev-lang/lazarus/files/lazarus-0.9.20-lcl-handle.patch
Unidiff
Diffstat (limited to 'dev-lang/lazarus/files/lazarus-0.9.20-lcl-handle.patch') (more/less context) (ignore whitespace changes)
-rw-r--r--dev-lang/lazarus/files/lazarus-0.9.20-lcl-handle.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-lang/lazarus/files/lazarus-0.9.20-lcl-handle.patch b/dev-lang/lazarus/files/lazarus-0.9.20-lcl-handle.patch
new file mode 100644
index 0000000..772face
--- a/dev/null
+++ b/dev-lang/lazarus/files/lazarus-0.9.20-lcl-handle.patch
@@ -0,0 +1,25 @@
1 If LCLType is not included, then THandle is System.THandle
2 rather than LCLType.THandle. System.THandle is 32 bits wide.
3
4--- lazarus/lcl/interfaces/gtk/gtkwsdialogs.pp
5+++ lazarus/lcl/interfaces/gtk/gtkwsdialogs.pp
6@@ -29,7 +29,7 @@
7 uses
8 {$IFDEF GTK2} Gtk2, Glib2, gdk2, {$ELSE} Gtk, gdk, Glib, {$ENDIF}
9 SysUtils, Classes, Controls, LMessages, InterfaceBase, graphics,
10- Dialogs, WSDialogs, WSLCLClasses, gtkint, gtkproc, gtkwscontrols;
11+ LCLType, Dialogs, WSDialogs, WSLCLClasses, gtkint, gtkproc, gtkwscontrols;
12
13 type
14
15--- lazarus/lcl/widgetset/wsdialogs.pp
16+++ lazarus/lcl/widgetset/wsdialogs.pp
17@@ -44,7 +44,7 @@
18 // To get as little as posible circles,
19 // uncomment only when needed for registration
20 ////////////////////////////////////////////////////
21- Dialogs,
22+ LCLType, Dialogs,
23 ////////////////////////////////////////////////////
24 WSLCLClasses, WSControls;
25