summaryrefslogtreecommitdiff
path: root/dev-lang/lazarus/files
Side-by-side diff
Diffstat (limited to 'dev-lang/lazarus/files') (more/less context) (ignore whitespace changes)
-rw-r--r--dev-lang/lazarus/files/digest-lazarus-0.9.20-r13
-rw-r--r--dev-lang/lazarus/files/lazarus-0.9.20-fpcsrc.patch12
-rw-r--r--dev-lang/lazarus/files/lazarus-0.9.20-lcl-handle.patch25
-rw-r--r--dev-lang/lazarus/files/lazarus-0.9.20-lclintf.patch11
4 files changed, 51 insertions, 0 deletions
diff --git a/dev-lang/lazarus/files/digest-lazarus-0.9.20-r1 b/dev-lang/lazarus/files/digest-lazarus-0.9.20-r1
new file mode 100644
index 0000000..0f4e94f
--- a/dev/null
+++ b/dev-lang/lazarus/files/digest-lazarus-0.9.20-r1
@@ -0,0 +1,3 @@
+MD5 8c232dc7cd398578049f57cd97d0d263 lazarus-0.9.20-0.tar.gz 10241274
+RMD160 5a2c061e42306008858cf8b3a51ecaa1aa3f0bca lazarus-0.9.20-0.tar.gz 10241274
+SHA256 c3416c557e510c9fcca5de59f128854eb5605f69fc7472cea11fc09ed5f8285e lazarus-0.9.20-0.tar.gz 10241274
diff --git a/dev-lang/lazarus/files/lazarus-0.9.20-fpcsrc.patch b/dev-lang/lazarus/files/lazarus-0.9.20-fpcsrc.patch
new file mode 100644
index 0000000..dbde4e0
--- a/dev/null
+++ b/dev-lang/lazarus/files/lazarus-0.9.20-fpcsrc.patch
@@ -0,0 +1,12 @@
+--- lazarus/ide/include/unix/lazbaseconf.inc
++++ lazarus/ide/include/unix/lazbaseconf.inc
+@@ -24,7 +24,8 @@
+ }
+
+ const
+- DefaultFPCSrcDirs: array[1..14] of string = (
++ DefaultFPCSrcDirs: array[1..15] of string = (
++ '/usr/lib/fpc/@FPCVER@/source',
+ '/usr/share/fpcsrc',
+ '/usr/local/share/fpcsrc',
+ '/usr/fpcsrc',
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 @@
+ If LCLType is not included, then THandle is System.THandle
+ rather than LCLType.THandle. System.THandle is 32 bits wide.
+
+--- lazarus/lcl/interfaces/gtk/gtkwsdialogs.pp
++++ lazarus/lcl/interfaces/gtk/gtkwsdialogs.pp
+@@ -29,7 +29,7 @@
+ uses
+ {$IFDEF GTK2} Gtk2, Glib2, gdk2, {$ELSE} Gtk, gdk, Glib, {$ENDIF}
+ SysUtils, Classes, Controls, LMessages, InterfaceBase, graphics,
+- Dialogs, WSDialogs, WSLCLClasses, gtkint, gtkproc, gtkwscontrols;
++ LCLType, Dialogs, WSDialogs, WSLCLClasses, gtkint, gtkproc, gtkwscontrols;
+
+ type
+
+--- lazarus/lcl/widgetset/wsdialogs.pp
++++ lazarus/lcl/widgetset/wsdialogs.pp
+@@ -44,7 +44,7 @@
+ // To get as little as posible circles,
+ // uncomment only when needed for registration
+ ////////////////////////////////////////////////////
+- Dialogs,
++ LCLType, Dialogs,
+ ////////////////////////////////////////////////////
+ WSLCLClasses, WSControls;
+
diff --git a/dev-lang/lazarus/files/lazarus-0.9.20-lclintf.patch b/dev-lang/lazarus/files/lazarus-0.9.20-lclintf.patch
new file mode 100644
index 0000000..b515efa
--- a/dev/null
+++ b/dev-lang/lazarus/files/lazarus-0.9.20-lclintf.patch
@@ -0,0 +1,11 @@
+--- lazarus/ide/include/unix/lazbaseconf.inc
++++ lazarus/ide/include/unix/lazbaseconf.inc
+@@ -180,7 +180,7 @@
+
+ function GetDefaultLCLWidgetType: string;
+ begin
+- Result:='gtk';
++ Result:='gtk2';
+ end;
+
+ procedure GetDefaultBrowser(var Browser, Params: string);