From: Mike Frysinger Date: Sat, 3 Mar 2007 05:34:51 +0000 (+0000) Subject: Use syscall() rather than _syscall#() #163800 by Peter Ruskin. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4cc497ae0484c3d826431929a6f34166f7b8fc9e;p=gentoo.git Use syscall() rather than _syscall#() #163800 by Peter Ruskin. Package-Manager: portage-2.1.2-r13 --- diff --git a/sys-block/gpart/ChangeLog b/sys-block/gpart/ChangeLog index b26d56cac443..20dbf0785416 100644 --- a/sys-block/gpart/ChangeLog +++ b/sys-block/gpart/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-block/gpart -# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-block/gpart/ChangeLog,v 1.4 2006/01/28 17:25:38 flameeyes Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-block/gpart/ChangeLog,v 1.5 2007/03/03 05:34:51 vapier Exp $ + + 03 Mar 2007; Mike Frysinger + +files/gpart-0.1h-no-_syscall.patch, gpart-0.1h-r1.ebuild: + Use syscall() rather than _syscall#() #163800 by Peter Ruskin. 28 Jan 2006; Diego Pettenò gpart-0.1h-r1.ebuild: Move to -amd64 as per bug #120741 waiting for a solution. diff --git a/sys-block/gpart/Manifest b/sys-block/gpart/Manifest index 1280264395ca..979bf35c5c9f 100644 --- a/sys-block/gpart/Manifest +++ b/sys-block/gpart/Manifest @@ -9,6 +9,10 @@ AUX gpart-0.1h-errno.patch 384 RMD160 5ed7a9dd0382aad1eb998509faef8d6795efbfb1 S MD5 81eee5d9985df9bf9c23624e46cf945f files/gpart-0.1h-errno.patch 384 RMD160 5ed7a9dd0382aad1eb998509faef8d6795efbfb1 files/gpart-0.1h-errno.patch 384 SHA256 fe910231e5cf8640d8b07b2767219f0a3794a57f3b18d3af49d3980ca96058f5 files/gpart-0.1h-errno.patch 384 +AUX gpart-0.1h-no-_syscall.patch 383 RMD160 3d2a66692f4bff27f58167965f7ddd8973196b2b SHA1 adc4ad000e10edcbccc1edc865a4f4fa2b70e918 SHA256 7a75cbc1917c4b7551847da3e1d2eb932e0e89f9348aed0c845ec22e5e1e9f56 +MD5 20f8be81a11b3c813ae0195b60c26ee2 files/gpart-0.1h-no-_syscall.patch 383 +RMD160 3d2a66692f4bff27f58167965f7ddd8973196b2b files/gpart-0.1h-no-_syscall.patch 383 +SHA256 7a75cbc1917c4b7551847da3e1d2eb932e0e89f9348aed0c845ec22e5e1e9f56 files/gpart-0.1h-no-_syscall.patch 383 AUX gpart-0.1h-ntfs.patch 2430 RMD160 bd6888a82f0e8c8663cc336b48f2f0e67307aea2 SHA1 f7a887558abb8e244de3e5bd0566e407cff21368 SHA256 01617b0fdb729232073d808efb137bc33790c3d071b7d945ce1ac8e0f697761b MD5 8161c02116ee4575906587eb09e35bde files/gpart-0.1h-ntfs.patch 2430 RMD160 bd6888a82f0e8c8663cc336b48f2f0e67307aea2 files/gpart-0.1h-ntfs.patch 2430 @@ -19,14 +23,14 @@ RMD160 c992bebc62017de118fe61eee0655ba01bdc7b57 files/gpart-0.1h-vfat.patch 515 SHA256 39d542bb6ee52008b08fd161b051dc08658d363076df56a1b054b5403ceb4661 files/gpart-0.1h-vfat.patch 515 DIST gpart-0.1h-reiserfs-3.6.patch.gz 3658 RMD160 b049e0ba9d6e1c54877c54ac0d1f12f9f7d235e2 SHA1 4b1042bf0dcf570d2e7ed6bd34f5116879bca7b0 SHA256 769f5587853cb7d9c3ba4d0496bbb57d42d04ad561a42d24bcbe5f4723849a3c DIST gpart-0.1h.tar.gz 52352 RMD160 1cdfb1779801ee8755b05975ced24441a3a2b639 SHA1 23f66162e1d85977ea43bfe6b5e5bff0ad2d566e SHA256 b9fdb064efabf5d63d7db6f07605c2fca3d011ecfa05ab3723dd98b9bde3a2ff -EBUILD gpart-0.1h-r1.ebuild 974 RMD160 b12bb8624eca91f88e54d1e7fd2f35d9ee7b3453 SHA1 c77cbdaa50655e627d5027308261fb2733648c0a SHA256 d455a83833caa8c9d416caabe720cf3a4a276c3830005b2f4961c1cdfd39fdad -MD5 c41946454f8e71abc9af38618482e2fc gpart-0.1h-r1.ebuild 974 -RMD160 b12bb8624eca91f88e54d1e7fd2f35d9ee7b3453 gpart-0.1h-r1.ebuild 974 -SHA256 d455a83833caa8c9d416caabe720cf3a4a276c3830005b2f4961c1cdfd39fdad gpart-0.1h-r1.ebuild 974 -MISC ChangeLog 1409 RMD160 0d85e1b572054891c0c4e02e690b35e613212cc0 SHA1 66af7daeea827fdc156e386d9075b0e74323fa72 SHA256 c5a422466a4d2af5c28bb97694719f631b7213b0b2b67b03c9791df03a9f23e4 -MD5 59271f3c36fa3bdaefbbcc9a0420f8d3 ChangeLog 1409 -RMD160 0d85e1b572054891c0c4e02e690b35e613212cc0 ChangeLog 1409 -SHA256 c5a422466a4d2af5c28bb97694719f631b7213b0b2b67b03c9791df03a9f23e4 ChangeLog 1409 +EBUILD gpart-0.1h-r1.ebuild 1004 RMD160 fce85edea33d59acf499036cc642877b5154f301 SHA1 cf3ea9cbfafc9d4389b715c8607d4f366f344a58 SHA256 8f3e49d677c391f382aa7519dde8986079980e0c9e8a20d1cbf7ca67b3fc7b18 +MD5 f852dc782f1970af5362755bb1895b53 gpart-0.1h-r1.ebuild 1004 +RMD160 fce85edea33d59acf499036cc642877b5154f301 gpart-0.1h-r1.ebuild 1004 +SHA256 8f3e49d677c391f382aa7519dde8986079980e0c9e8a20d1cbf7ca67b3fc7b18 gpart-0.1h-r1.ebuild 1004 +MISC ChangeLog 1583 RMD160 1626247ee97d1d9dfb5ff7ae066780a8260c0099 SHA1 0607949ddb6caea4ae6ae00cf96cfb3255c2df9b SHA256 d66ba4ba7949edb461322b5d1d65b7fc362eb52a5102cd291e77637bae9ca110 +MD5 34ddb8d3b84d66f9dcae16fc59672a45 ChangeLog 1583 +RMD160 1626247ee97d1d9dfb5ff7ae066780a8260c0099 ChangeLog 1583 +SHA256 d66ba4ba7949edb461322b5d1d65b7fc362eb52a5102cd291e77637bae9ca110 ChangeLog 1583 MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 metadata.xml 164 @@ -35,9 +39,9 @@ MD5 2b502135da9174c6cd771a5c097e3f34 files/digest-gpart-0.1h-r1 500 RMD160 e27cbee113acda970ba6de4031b287e7959131c2 files/digest-gpart-0.1h-r1 500 SHA256 5ae63b7619a08f67b55e17c92ca0edf96d8af68d883250200ff5854cc9519e45 files/digest-gpart-0.1h-r1 500 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.5 (GNU/Linux) +Version: GnuPG v2.0.2 (GNU/Linux) -iD8DBQFFVYSjamhnQswr0vIRAoNFAJoD3eYq6rPsXjDmoTPaYMw+v3MhJgCgkih1 -Mi/YY4GARkm8h+Uae4WqA0A= -=j5c+ +iD8DBQFF6QkD8bi6rjpTunYRAu25AJ4yTnyPLN4aSNbdhcisBXE8n+3cagCguyP4 +90gZfRskzxL1FxLXgLwlvu4= +=IIO1 -----END PGP SIGNATURE----- diff --git a/sys-block/gpart/files/gpart-0.1h-no-_syscall.patch b/sys-block/gpart/files/gpart-0.1h-no-_syscall.patch new file mode 100644 index 000000000000..b50bcd2d75e9 --- /dev/null +++ b/sys-block/gpart/files/gpart-0.1h-no-_syscall.patch @@ -0,0 +1,15 @@ +use syscall() rather than _syscall#() + +http://bugs.gentoo.org/163800 + +--- src/l64seek.c ++++ src/l64seek.c +@@ -27,7 +27,7 @@ + static int osptr = -1; + + #if defined(__linux__) && defined(__i386__) && ! defined(__PIC__) +-_syscall5(int,_llseek,uint,fd,ulong,hi,ulong,lo,loff_t *,res,uint,wh) ++#define _llseek(fildes,offset,whence) syscall(__NR__llseek,fildes,offset,whence) + #endif + + diff --git a/sys-block/gpart/gpart-0.1h-r1.ebuild b/sys-block/gpart/gpart-0.1h-r1.ebuild index 41b7857eb4f0..ef8cd2c6f39d 100644 --- a/sys-block/gpart/gpart-0.1h-r1.ebuild +++ b/sys-block/gpart/gpart-0.1h-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-block/gpart/gpart-0.1h-r1.ebuild,v 1.3 2006/01/28 17:25:38 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-block/gpart/gpart-0.1h-r1.ebuild,v 1.4 2007/03/03 05:34:51 vapier Exp $ inherit eutils @@ -14,7 +14,7 @@ SLOT="0" KEYWORDS="-amd64 ~hppa x86" IUSE="" -RDEPEND="virtual/libc" +RDEPEND="" src_unpack() { unpack ${A} @@ -23,6 +23,7 @@ src_unpack() { epatch "${FILESDIR}"/${P}-vfat.patch epatch "${FILESDIR}"/${P}-ntfs.patch epatch "${FILESDIR}"/${P}-PIC.patch + epatch "${FILESDIR}"/${P}-no-_syscall.patch epatch "${WORKDIR}"/gpart-0.1h-reiserfs-3.6.patch sed -i -e "/^CFLAGS/s: -O2 : ${CFLAGS} :" make.defs } @@ -30,5 +31,5 @@ src_unpack() { src_install() { dobin src/gpart || die doman man/gpart.8 - dodoc README CHANGES INSTALL LSM + dodoc README Changes INSTALL LSM }