Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=5e97acd98be6d550053c54d25a77de90cfcc507f

commit 5e97acd98be6d550053c54d25a77de90cfcc507f
Author: Slown <[email protected]>
Date:   Sat Feb 16 11:16:44 2013 +0100

myrescue-0.9.4-1-i686

* new package

diff --git a/source/apps-extra/myrescue/FrugalBuild 
b/source/apps-extra/myrescue/FrugalBuild
new file mode 100644
index 0000000..40c5b06
--- /dev/null
+++ b/source/apps-extra/myrescue/FrugalBuild
@@ -0,0 +1,23 @@
+# Compiling Time: 0 SBU
+# Maintainer: Slown <[email protected]>
+
+pkgname=myrescue
+pkgver=0.9.4
+pkgrel=1
+pkgdesc="A hard disk recovery tool that reads undamaged regions first"
+depends=()
+groups=('apps-extra')
+archs=('i686' 'x86_64')
+Finclude sourceforge
+source=($source myrescue-printf-sizes.diff)
+_F_cd_path="$pkgname-$pkgver/src"
+sha1sums=('56b772aa789ae17e875b01f5653c6e3d761cbbcb' \
+          '58f335b249dbc8c9babeecec227a33fa7bf3200e')
+
+build() {
+       Fcd
+       Fpatchall
+       Fmake
+       Fexerel $pkgname usr/bin/$pkgname
+       Fmanrel ../doc/${pkgname}.1
+}
diff --git a/source/apps-extra/myrescue/myrescue-printf-sizes.diff 
b/source/apps-extra/myrescue/myrescue-printf-sizes.diff
new file mode 100644
index 0000000..c9128b8
--- /dev/null
+++ b/source/apps-extra/myrescue/myrescue-printf-sizes.diff
@@ -0,0 +1,20 @@
+--- src/myrescue.c.orig        2007-08-26 23:58:58.000000000 +0200
++++ src/myrescue.c     2013-02-14 20:56:28.686584358 +0100
+@@ -98,7 +98,7 @@
+                       return errno;
+               } else {
+                       fprintf(stderr,"short read: %d of %d\n",
+-                              src_count, block_size);
++                              (int)src_count, block_size);
+                       return -1;
+               }
+       }
+@@ -110,7 +110,7 @@
+                       return errno;
+               } else {
+                       fprintf(stderr,"short write: %d of %d\n",
+-                              dst_count, block_size);
++                              (int)dst_count, block_size);
+                       return -1;
+               }
+       }
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to