summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald van Dijk <truedfx@gentoo.org>2007-03-10 08:44:37 +0000
committerHarald van Dijk <truedfx@gentoo.org>2007-03-10 08:44:37 +0000
commitbb5b67323ed7cd072a0e8070d18e33c84144f98c (patch)
tree4ee0ada41be4536f4f8f1bdf9ceff753dbbe1e59 /dev-lang/lazarus/files/lazarus-0.9.20-fpcsrc.patch
parentStable on amd64 wrt bug 169987 (diff)
downloadgentoo-2-bb5b67323ed7cd072a0e8070d18e33c84144f98c.tar.gz
gentoo-2-bb5b67323ed7cd072a0e8070d18e33c84144f98c.tar.bz2
gentoo-2-bb5b67323ed7cd072a0e8070d18e33c84144f98c.zip
Automatically find fpc source directory, preventing a crash on amd64 (#168168). Also, set default LCL interface to gtk2.
(Portage version: 2.1.2.2)
Diffstat (limited to 'dev-lang/lazarus/files/lazarus-0.9.20-fpcsrc.patch')
-rw-r--r--dev-lang/lazarus/files/lazarus-0.9.20-fpcsrc.patch12
1 files changed, 12 insertions, 0 deletions
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 000000000000..dbde4e06a548
--- /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',