From bb5b67323ed7cd072a0e8070d18e33c84144f98c Mon Sep 17 00:00:00 2001 From: Harald van Dijk Date: Sat, 10 Mar 2007 08:44:37 +0000 Subject: Automatically find fpc source directory, preventing a crash on amd64 (#168168). Also, set default LCL interface to gtk2. (Portage version: 2.1.2.2) --- dev-lang/lazarus/files/lazarus-0.9.20-fpcsrc.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 dev-lang/lazarus/files/lazarus-0.9.20-fpcsrc.patch (limited to 'dev-lang/lazarus/files/lazarus-0.9.20-fpcsrc.patch') 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', -- cgit v1.2.3-65-gdbad