CRUX-ARM :
Home
Home
::
Documentation
::
Download
::
Development
::
Community
::
Ports
::
Packages
::
Bugs
::
Links
::
About
::
Donors
development
/
crossrootfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2edd1d4
)
cpio: fixed issues with glibc 'gets' removal (aligned with upstream)
author
Jose V Beneyto
<sepen@crux.nu>
Thu, 18 Oct 2012 16:39:26 +0000
(16:39 +0000)
committer
Jose V Beneyto
<sepen@crux.nu>
Thu, 18 Oct 2012 16:39:26 +0000
(16:39 +0000)
cpio/Pkgfile
patch
|
blob
|
blame
|
history
diff --git
a/cpio/Pkgfile
b/cpio/Pkgfile
index c4aa11001eb83ca58c55e054be3698579f3bbe23..bc3c492314105914dd188ddc274ab7bae4b217d2 100644
(file)
--- a/
cpio/Pkgfile
+++ b/
cpio/Pkgfile
@@
-5,20
+5,26
@@
name=cpio
version=2.11
name=cpio
version=2.11
-release=
1
+release=
2
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2 \
cpio-2.11-stat.patch)
build() {
cd $name-$version
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2 \
cpio-2.11-stat.patch)
build() {
cd $name-$version
+
patch -p1 -i $SRC/cpio-2.11-stat.patch
patch -p1 -i $SRC/cpio-2.11-stat.patch
+ # fix for glibc 'gets' removal
+ sed -i -e '/gets is a/d' gnu/stdio.in.h
+
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \
--mandir=/usr/man \
--disable-nls
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \
--mandir=/usr/man \
--disable-nls
+
make
make DESTDIR=$PKG install
make
make DESTDIR=$PKG install
+
rm -r $PKG/usr/{share,libexec}
rm $PKG/usr/man/man1/mt.1
}
rm -r $PKG/usr/{share,libexec}
rm $PKG/usr/man/man1/mt.1
}