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

commit f8ac87a4c683fe4362a1351481671ea913c3b1ad
Author: crazy <[EMAIL PROTECTED]>
Date:   Mon Mar 10 16:05:29 2008 +0100

tar-1.19-3-i686
* rebuild
* added an patch to fix the build with gcc43

diff --git a/source/base/tar/FrugalBuild b/source/base/tar/FrugalBuild
index bf99d4c..931b297 100644
--- a/source/base/tar/FrugalBuild
+++ b/source/base/tar/FrugalBuild
@@ -3,7 +3,7 @@

pkgname=tar
pkgver=1.19
-pkgrel=2
+pkgrel=3
pkgdesc="Utility used to store, backup, and transport files"
url="http://www.gnu.org/software/tar/tar.html";
depends=('bash')
@@ -11,8 +11,8 @@ groups=('base' 'chroot-core')
archs=('i686' 'x86_64' 'ppc')
Fup2gnugz
source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz tar.1 \
-       $pkgname-1.18-lzma.patch)
-signatures=($source.sig '' '')
+       $pkgname-1.18-lzma.patch gcc43.patch)
+signatures=($source.sig '' '' '')

build()
{
diff --git a/source/base/tar/gcc43.patch b/source/base/tar/gcc43.patch
new file mode 100644
index 0000000..abe626e
--- /dev/null
+++ b/source/base/tar/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