Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=gcc43.git;a=commitdiff;h=b8848677afe44c2b4c4c5d4521146be44e9a3610

commit b8848677afe44c2b4c4c5d4521146be44e9a3610
Author: crazy <[EMAIL PROTECTED]>
Date:   Tue Mar 11 21:57:30 2008 +0100

cpio-2.9-3-i686
* rebuild
* added gcc43 patch
* depends fix

diff --git a/source/base/cpio/FrugalBuild b/source/base/cpio/FrugalBuild
index c39faeb..af7fcc2 100644
--- a/source/base/cpio/FrugalBuild
+++ b/source/base/cpio/FrugalBuild
@@ -3,17 +3,18 @@

pkgname=cpio
pkgver=2.9
-pkgrel=2
+pkgrel=3
pkgdesc="A program to manage archives of files"
url="http://www.gnu.org/software/cpio";
-depends=('bash')
+depends=('bash' 'glibc>=2.7-3')
groups=('base')
archs=('i686' 'x86_64' 'ppc')
Fup2gnubz2
source=(http://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.bz2 \
-       cpio-2.9-safer_name_suffix.patch)
+       cpio-2.9-safer_name_suffix.patch gcc43.patch)
sha1sums=('ef381d0f33f1ea74475b6d813c42a74327762c4a' \
-          '0c052bd7900bc8a39b74f36feab2d2358297f87b')
+          '0c052bd7900bc8a39b74f36feab2d2358297f87b' \
+          '3533e0a6efc06a12e656ab6648f3100d12e105c0')

build()
{
diff --git a/source/base/cpio/gcc43.patch b/source/base/cpio/gcc43.patch
new file mode 100644
index 0000000..abe626e
--- /dev/null
+++ b/source/base/cpio/gcc43.patch
@@ -0,0 +1,33 @@
+diff -up tar-1.19/lib/argp-fmtstream.h.gcc43 tar-1.19/lib/argp-fmtstream.h
+--- tar-1.19/lib/argp-fmtstream.h.gcc43        2007-09-28 15:11:36.000000000 
+0200
++++ tar-1.19/lib/argp-fmtstream.h      2008-02-13 16:56:58.000000000 +0100
+@@ -198,7 +198,11 @@ extern int __argp_fmtstream_ensure (argp
+ #endif
+
+ #ifndef ARGP_FS_EI
+-#define ARGP_FS_EI extern inline
++# ifdef __GNUC_STDC_INLINE__
++#  define ARGP_FS_EI extern inline __attribute__((__gnu_inline__))
++# else
++#  define ARGP_FS_EI extern inline
++# endif
+ #endif
+
+ ARGP_FS_EI size_t
+diff -up tar-1.19/lib/argp.h.gcc43 tar-1.19/lib/argp.h
+--- tar-1.19/lib/argp.h.gcc43  2007-09-28 15:11:36.000000000 +0200
++++ tar-1.19/lib/argp.h        2008-02-13 16:55:36.000000000 +0100
+@@ -580,7 +580,11 @@ extern void *__argp_input (const struct
+ # endif
+
+ # ifndef ARGP_EI
+-#  define ARGP_EI extern __inline__
++#  if defined __GNUC_STDC_INLINE__
++#    define ARGP_EI extern __inline__ __attribute__((__gnu_inline__))
++#  else
++#    define ARGP_EI extern __inline__
++#  endif
+ # endif
+
+ ARGP_EI void
+
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to