Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-0.7.git;a=commitdiff;h=24f1de614de22b3658ed6b0438ae0033ce2bb16e
commit 24f1de614de22b3658ed6b0438ae0033ce2bb16e Author: voroskoi <[EMAIL PROTECTED]> Date: Sun Jan 20 13:21:41 2008 +0100 mantis-1.0.8-2sayshell1-i686 added file_api.php.patch, closes #2683 diff --git a/source/network-extra/mantis/FrugalBuild b/source/network-extra/mantis/FrugalBuild index 7be460b..df4eb6c 100644 --- a/source/network-extra/mantis/FrugalBuild +++ b/source/network-extra/mantis/FrugalBuild @@ -3,16 +3,17 @@ pkgname=mantis pkgver=1.0.8 -pkgrel=1 +pkgrel=2sayshell1 pkgdesc="a free popular web-based bugtracking system" url="http://www.mantisbt.org/" rodepends=('php>=4.0.6' 'mysql>=3.23.2') +depends=() groups=('network-extra') archs=('i686' 'x86_64') _F_sourceforge_name=mantisbt Finclude sourceforge up2date="lynx -dump http://sourceforge.net/project/showfiles.php?group_id=14963\&package_id=166159|grep -m1 'Latest \[.*\]'|sed 's/.*]\(.*\) \[.*/\1/'" -source=(${source//mantisbt-/mantis-} strings_hungarian.txt email_padding.patch README.Frugalware) +source=(${source//mantisbt-/mantis-} strings_hungarian.txt email_padding.patch README.Frugalware file_api.php.patch) options=('stick') backup=('var/www/mantis/config_inc.php') @@ -33,7 +34,8 @@ build() chown nobody:nobody $Fdestdir/var/www/$pkgname -R } # optimization OK - noarch -sha1sums=('979947bc1f39d8471e48b3c914c46a91d6af3c38'\ - 'e5ed205d9b6911c7666700bc6dbd6b4652996bbe'\ - '5045a56aaabf4ba48dd14905c20169cfec2c3698'\ - 'b1ea33bfe986ee37a61af6424f8ffef52028b2c7') +sha1sums=('979947bc1f39d8471e48b3c914c46a91d6af3c38' \ + 'e5ed205d9b6911c7666700bc6dbd6b4652996bbe' \ + '5045a56aaabf4ba48dd14905c20169cfec2c3698' \ + 'b1ea33bfe986ee37a61af6424f8ffef52028b2c7' \ + '9513e63a2e46c8b84067acb33a39d5e98c9b11f8') diff --git a/source/network-extra/mantis/file_api.php.patch b/source/network-extra/mantis/file_api.php.patch new file mode 100644 index 0000000..941c5b3 --- /dev/null +++ b/source/network-extra/mantis/file_api.php.patch @@ -0,0 +1,13 @@ +Index: core/file_api.php +=================================================================== +--- core/file_api.php (ãªãã¸ã§ã³ 4833) ++++ core/file_api.php (使¥ã³ãã¼) +@@ -163,7 +163,7 @@ + $row = $t_attachment_rows[$i]; + extract( $row, EXTR_PREFIX_ALL, 'v' ); + +- $t_file_display_name = file_get_display_name( $v_filename ); ++ $t_file_display_name = string_display_line( file_get_display_name( $v_filename ) ); + $t_filesize = number_format( $v_filesize ); + $t_date_added = date( config_get( 'normal_date_format' ), db_unixtimestamp( $v_date_added ) ); + _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
