]> Pileus Git - ~andy/sunrise/blob - www-apps/flyspray/files/flyspray-0.9.9.6-system-adodb.patch
www-apps/flyspray: New ebuild for bug 91078, thanks to tommy[d] and sedzimir
[~andy/sunrise] / www-apps / flyspray / files / flyspray-0.9.9.6-system-adodb.patch
1 diff -u /var/tmp/portage/www-apps/flyspray-0.9.9.6/work.x86/includes/class.database.php /tmp/buffer-content-5978U1d
2 --- a/includes/class.database.php       2009-04-19 10:22:30.000000000 -0400
3 +++ b/includes/class.database.php       2009-12-14 18:54:57.000000000 -0500
4 @@ -16,7 +16,8 @@
5      die('Do not access this file directly.');\r
6  }\r
7  \r
8 -require_once dirname(dirname(__FILE__)) . '/adodb/adodb.inc.php';\r
9 +set_include_path(get_include_path() . ':' . dirname(dirname(__FILE__)));\r
10 +require_once 'adodb/adodb.inc.php';\r
11  \r
12  class Database\r
13  {\r
14
15 diff -u /var/tmp/portage/www-apps/flyspray-0.9.9.6/work.amd64/setup/index.php /tmp/buffer-content-5978h_j
16 --- a/setup/index.php   2009-04-24 20:20:26.000000000 -0400
17 +++ b/setup/index.php   2009-12-14 19:33:48.000000000 -0500
18 @@ -8,9 +8,9 @@
19  \r
20  @set_time_limit(0);\r
21  session_start();\r
22 -//do it fastest as possible.\r
23 +//do it as fast as possible.\r
24  ini_set('memory_limit', '64M');\r
25 -\r
26 +set_include_path(get_include_path() . ':' . dirname(dirname(__FILE__)));\r
27  \r
28  if (is_readable ('../flyspray.conf.php') && count(parse_ini_file('../flyspray.conf.php')) > 0)\r
29  {\r
30 @@ -88,7 +88,7 @@
31     function Setup()\r
32     {\r
33        // Look for ADOdb\r
34 -      $this->mAdodbPath         = APPLICATION_PATH . '/adodb/adodb.inc.php';\r
35 +      $this->mAdodbPath         = 'adodb/adodb.inc.php';\r
36        $this->mProductName       = 'Flyspray';\r
37        $this->mMinPasswordLength        = 8;\r
38  \r
39