[arch-commits] Commit in php-fileinfo/repos (3 files)

Pierre Schmitz pierre at archlinux.org
Sun Apr 19 14:33:54 EDT 2009


    Date: Sunday, April 19, 2009 @ 14:33:54
  Author: pierre
Revision: 36032

Merged revisions 36030 via svnmerge from 
svn+ssh://svn.archlinux.org/srv/svn-packages/php-fileinfo/trunk

........
  r36030 | pierre | 2009-04-19 20:31:32 +0200 (So, 19 Apr 2009) | 1 line
  
  let's play catch-the-right-file-name
........

Added:
  php-fileinfo/repos/extra-i686/magic.patch
    (from rev 36030, php-fileinfo/trunk/magic.patch)
Modified:
  php-fileinfo/repos/extra-i686/	(properties)
  php-fileinfo/repos/extra-i686/PKGBUILD

-------------+
 PKGBUILD    |    9 ++++++---
 magic.patch |   13 +++++++++++++
 2 files changed, 19 insertions(+), 3 deletions(-)


Property changes on: php-fileinfo/repos/extra-i686
___________________________________________________________________
Modified: svnmerge-integrated
   - /php-fileinfo/trunk:1-35812
   + /php-fileinfo/trunk:1-36031

Modified: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2009-04-19 18:32:24 UTC (rev 36031)
+++ extra-i686/PKGBUILD	2009-04-19 18:33:54 UTC (rev 36032)
@@ -3,7 +3,7 @@
 
 pkgname=php-fileinfo
 pkgver=1.0.4
-pkgrel=4
+pkgrel=5
 arch=('i686' 'x86_64')
 pkgdesc="This extension allows retrieval of information regarding vast majority of file."
 url="http://pecl.php.net/package/Fileinfo"
@@ -11,11 +11,14 @@
 depends=('file' 'php')
 install=php-fileinfo.install
 backup=('etc/php/conf.d/fileinfo.ini')
-source=("http://pecl.php.net/get/Fileinfo-${pkgver}.tgz")
-md5sums=('2854e749db157365c769cb9496f5586f')
+source=("http://pecl.php.net/get/Fileinfo-${pkgver}.tgz"
+        'magic.patch')
+md5sums=('2854e749db157365c769cb9496f5586f'
+         '325b3f829cc368820682932eccf62087')
 
 build() {
 	cd $srcdir/Fileinfo-$pkgver
+	patch -p0 -i $srcdir/magic.patch
 	phpize || return 1
 	./configure --prefix=/usr || return 1
 	make || return 1

Copied: php-fileinfo/repos/extra-i686/magic.patch (from rev 36030, php-fileinfo/trunk/magic.patch)
===================================================================
--- extra-i686/magic.patch	                        (rev 0)
+++ extra-i686/magic.patch	2009-04-19 18:33:54 UTC (rev 36032)
@@ -0,0 +1,13 @@
+--- config.m4	2006-11-07 22:31:19.000000000 +0100
++++ config.m4.new	2009-04-19 20:23:37.923512186 +0200
+@@ -47,8 +47,8 @@
+     -L$FILEINFO_DIR/lib
+   ])
+ 
+-  MAGIC_MIME_DIRS="/usr/local/share/file /usr/share/file /usr/share/misc/file /etc /usr/share/misc"
+-  MAGIC_MIME_FILENAMES="magic magic.mime"
++  MAGIC_MIME_DIRS="/usr/share/misc/file"
++  MAGIC_MIME_FILENAMES="magic.mgc"
+   
+   for i in $MAGIC_MIME_DIRS; do
+     for j in $MAGIC_MIME_FILENAMES; do



More information about the arch-commits mailing list