[Lunar-commits] <moonbase> file: Add patch for removing Bio-Rad magic detection.
Jannis Pohlmann
jannis at lunar-linux.org
Thu Sep 4 14:22:10 CEST 2008
commit ef84269046749417ce97f3ed871c9cbe92185ba3
Author: Jannis Pohlmann <jannis at lunar-linux.org>
Date: Thu Sep 4 14:22:10 2008 +0200
file: Add patch for removing Bio-Rad magic detection.
Bio-Rad magic detection doesn't seem to work so well. In some cases
normal ASCII text files are detected as Bio-Rad images. The easiest
solution for this is to remove Bio-Rad from the magic detection list.
I wrote a patch which does exactly that.
---
utils/file/BUILD | 7 +++++++
utils/file/DETAILS | 2 ++
2 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/utils/file/BUILD b/utils/file/BUILD
new file mode 100644
index 0000000..ce94b55
--- /dev/null
+++ b/utils/file/BUILD
@@ -0,0 +1,7 @@
+(
+
+ patch_it $SOURCE2 0 &&
+
+ default_build
+
+) > $C_FIFO 2>&1
diff --git a/utils/file/DETAILS b/utils/file/DETAILS
index 3e0e2bf..130bd60 100644
--- a/utils/file/DETAILS
+++ b/utils/file/DETAILS
@@ -1,8 +1,10 @@
MODULE=file
VERSION=4.26
SOURCE=$MODULE-$VERSION.tar.gz
+ SOURCE2=file-Bio-Rad-magic.patch
SOURCE_URL[0]=ftp://ftp.astron.com/pub/$MODULE
SOURCE_URL[1]=ftp://ftp.gw.com/pub/unix/$MODULE
+ SOURCE2_URL=$PATCH_URL
SOURCE_VFY=sha1:412cdac5cd778d867e2d91a01b09858be1998ec3
WEB_SITE=ftp://ftp.astron.com/pub/file
ENTERED=20010922
More information about the Lunar-commits
mailing list