wok-6.x rev 13494
Add; buffer
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri Oct 12 23:26:43 2012 +0200 (2012-10-12) |
parents | d8b4846b3f2a |
children | 1d121115376c |
files | buffer/receipt buffer/stuff/buffer-1.19.patch |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/buffer/receipt Fri Oct 12 23:26:43 2012 +0200 1.3 @@ -0,0 +1,28 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="buffer" 1.7 +VERSION="1.19" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="GPL disaster recovery solution." 1.10 +MAINTAINER="erjo@slitaz.org" 1.11 +WEB_SITE="http://www.mondorescue.org/" 1.12 +TARBALL="$PACKAGE-$VERSION.tgz" 1.13 +WGET_URL="ftp://ftp.mondorescue.org/src/$TARBALL" 1.14 + 1.15 +DEPENDS="" 1.16 +BUILD_DEPENDS="" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + patch -p1 < $stuff/buffer-1.19.patch || exit 1 1.22 + make 1.23 +} 1.24 + 1.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.26 +genpkg_rules() 1.27 +{ 1.28 + mkdir -p $fs/usr/bin 1.29 + 1.30 + cp -a $src/buffer $fs/usr/bin 1.31 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/buffer/stuff/buffer-1.19.patch Fri Oct 12 23:26:43 2012 +0200 2.3 @@ -0,0 +1,14 @@ 2.4 +--- buffer-1.19-ori/buffer.c 2.5 ++++ buffer-1.19/buffer.c 2.6 +@@ -126,11 +126,6 @@ 2.7 + static char *rcsid = "$Header: /a/swan/home/swan/staff/csg/lmjm/src/buffer/RCS/buffer.c,v 1.19 1995/08/24 17:46:28 lmjm Exp lmjm $"; 2.8 + #endif 2.9 + 2.10 +-#ifndef __alpha 2.11 +-#ifndef __ia64 2.12 +-extern char *shmat(); 2.13 +-#endif /* __ia64 */ 2.14 +-#endif /* __alpha */ 2.15 + 2.16 + /* General macros */ 2.17 + #define TRUE 1