diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-07-31 00:27:33 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-07-31 00:27:33 +0000 |
commit | 271c0c6819ac511809a0b168b77b04ef43dccd6c (patch) | |
tree | 5fc5ca24a9418c4f84f2849890ca4d51babade7d /sys-process/psmisc | |
parent | Version bump. (diff) | |
download | historical-271c0c6819ac511809a0b168b77b04ef43dccd6c.tar.gz historical-271c0c6819ac511809a0b168b77b04ef43dccd6c.tar.bz2 historical-271c0c6819ac511809a0b168b77b04ef43dccd6c.zip |
Fix building of "peekfd" for X86_64.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'sys-process/psmisc')
-rw-r--r-- | sys-process/psmisc/ChangeLog | 6 | ||||
-rw-r--r-- | sys-process/psmisc/Manifest | 6 | ||||
-rw-r--r-- | sys-process/psmisc/files/psmisc-22.12-no-nls.patch | 32 | ||||
-rw-r--r-- | sys-process/psmisc/files/psmisc-22.12-peekfd.patch | 48 | ||||
-rw-r--r-- | sys-process/psmisc/psmisc-22.12.ebuild | 5 |
5 files changed, 92 insertions, 5 deletions
diff --git a/sys-process/psmisc/ChangeLog b/sys-process/psmisc/ChangeLog index 9e67063b7298..1f584c3c21e1 100644 --- a/sys-process/psmisc/ChangeLog +++ b/sys-process/psmisc/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-process/psmisc # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/psmisc/ChangeLog,v 1.102 2010/07/30 23:01:54 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-process/psmisc/ChangeLog,v 1.103 2010/07/31 00:27:32 ssuominen Exp $ + + 31 Jul 2010; Samuli Suominen <ssuominen@gentoo.org> psmisc-22.12.ebuild, + +files/psmisc-22.12-no-nls.patch, +files/psmisc-22.12-peekfd.patch: + Fix building of "peekfd" for X86_64. *psmisc-22.12 (30 Jul 2010) diff --git a/sys-process/psmisc/Manifest b/sys-process/psmisc/Manifest index d62efe679745..83844719af5e 100644 --- a/sys-process/psmisc/Manifest +++ b/sys-process/psmisc/Manifest @@ -1,9 +1,11 @@ +AUX psmisc-22.12-no-nls.patch 693 RMD160 10170e0d3a593185781c8e5c866b49fd3070beaa SHA1 48a94c3796680fd20103a3938f546ca32246d3e0 SHA256 493e2b1a1a45da3f2334340af58950320108161c6e1fd43bc086b2b85f23a5bc +AUX psmisc-22.12-peekfd.patch 1697 RMD160 e27402b6490d3790babee84698f34f1a0c60da5e SHA1 74506d6dd651a108ed67ea5f5f83a1387920349b SHA256 ef68917b98b96689f4faf6fa6132625028a8f3fe86f06361c9682bc53b2f157e AUX psmisc-22.5-no-nls.patch 736 RMD160 ac2c51cccc6c95f0aa47efe1ecaeb0d5eaefbce9 SHA1 0227573aa987bfb78ecef891673dc2792c98aba5 SHA256 b2137d22d62276cbd4a1b154c119df025d864054063302a91b5a1610f6c7102c DIST psmisc-22.10.tar.gz 314712 RMD160 cf0fa6985db0ac4c6b31b0a1af7cf47da2e5b6ba SHA1 20bfa81ec36603c6a141bd7e6137cf9d3b52c3d9 SHA256 e8c2a520549ec86deeccd55fd30cbb46fca20e57d7dfde240ee49df1c6dca053 DIST psmisc-22.11.tar.gz 375038 RMD160 a525b0d39bdfc5af0f5981c191e46953bce90d94 SHA1 5d3b9f15ffba3f98147223abbcf803405fd7b7ae SHA256 8fff37557f5150d89ef9afc03133731da3eaa2bad1a94f64355218a68b884536 DIST psmisc-22.12.tar.gz 374354 RMD160 cd33616bb36c0c5d7b107711c76be82a250d1a54 SHA1 662e332f7140252b65aca0c44096ee8d2f80b3c2 SHA256 ba2f41a501da6137b2d94e54e855bea8246f65167c613d3990bd0ce49e996a7a EBUILD psmisc-22.10.ebuild 1507 RMD160 86b6dfb8eb8a0086deb86ec1c6ce006ae4c5ef04 SHA1 caf5f8affc22a5f63360419b85e2997f709f0b4c SHA256 863af68179ab351ebe1941cd388d45f85aabd4fca5f1a091c4d061ff4a29ab2a EBUILD psmisc-22.11.ebuild 1573 RMD160 341d65cef2de4cb190f86c1ee1eb2b5471035895 SHA1 d3167fe89f45235c67c8f0d1eaff4f99a41dbdff SHA256 f62b3c940144b2aa6b2f1e1a2d0ce5336fbc400352ad4d809e3e244a98487a41 -EBUILD psmisc-22.12.ebuild 1521 RMD160 c33e66237d0f66c94dc13f87ec18480a86c628c3 SHA1 1a2dc57f2f63ca0ffe74888a96046b27daed6e36 SHA256 815e408077c6ba73fcf64d456b57f59e659cb1bb1fc8ad7ef6aaed38f1fe8051 -MISC ChangeLog 17990 RMD160 2f3733657868ec431abb957d26f999c96d854945 SHA1 ad94e56ab5abb206c35fcdc21d29b971d0e3b94a SHA256 ff9a515c1b3c9aada599ea2d26769df83603926745354c35f4cb0e1cfb860a2a +EBUILD psmisc-22.12.ebuild 1562 RMD160 45f575af3c32fb34b7914e66ef11d3a60b130041 SHA1 fa2dab0e84a974136073e4725363805e4c4543e0 SHA256 57e81f7325184bf60a77f440c50c40c204f465ffbe4178da14351fb2ce878cdf +MISC ChangeLog 18175 RMD160 8e0dae4c83828f45f938f3a962907f22d0bc9613 SHA1 12a811eee8f7fe3c3c4e59169f3cf306b8faf702 SHA256 33033e9a803f7bf90257ed866b09ee38e1fdd81008d6e6dbf015d5698d62d244 MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 diff --git a/sys-process/psmisc/files/psmisc-22.12-no-nls.patch b/sys-process/psmisc/files/psmisc-22.12-no-nls.patch new file mode 100644 index 000000000000..d18b36af3f6c --- /dev/null +++ b/sys-process/psmisc/files/psmisc-22.12-no-nls.patch @@ -0,0 +1,32 @@ +http://bugs.gentoo.org/193920 + +--- configure.ac ++++ configure.ac +@@ -57,10 +57,6 @@ + AC_CHECK_MEMBERS([struct stat.st_rdev]) + AC_TYPE_UID_T + +-dnl Check for language stuff +-AM_GNU_GETTEXT([external]) +-AM_GNU_GETTEXT_VERSION([0.16.1]) +- + dnl Must be after the gettext stuff as it sets build_cpu + AC_CHECK_MEMBERS([struct user_regs_struct.orig_eax, + struct user_regs_struct.eax, +@@ -120,6 +116,5 @@ + AC_CONFIG_FILES([Makefile + doc/Makefile + src/Makefile +- icons/Makefile +- po/Makefile.in]) ++ icons/Makefile]) + AC_OUTPUT +--- Makefile.am ++++ Makefile.am +@@ -1,5 +1,5 @@ + +-SUBDIRS = doc src po icons ++SUBDIRS = doc src icons + + #EXTRA_DIST = config.rpath ABOUT-NLS mkinstalldirs + diff --git a/sys-process/psmisc/files/psmisc-22.12-peekfd.patch b/sys-process/psmisc/files/psmisc-22.12-peekfd.patch new file mode 100644 index 000000000000..81b508b27298 --- /dev/null +++ b/sys-process/psmisc/files/psmisc-22.12-peekfd.patch @@ -0,0 +1,48 @@ +Fix building of peekfd for X86_64 + +--- configure.ac ++++ configure.ac +@@ -56,6 +56,12 @@ AC_TYPE_PID_T + AC_TYPE_SIZE_T + AC_CHECK_MEMBERS([struct stat.st_rdev]) + AC_TYPE_UID_T ++ ++dnl Check for language stuff ++AM_GNU_GETTEXT([external]) ++AM_GNU_GETTEXT_VERSION([0.16.1]) ++ ++dnl Must be after the gettext stuff as it sets build_cpu + AC_CHECK_MEMBERS([struct user_regs_struct.orig_eax, + struct user_regs_struct.eax, + struct user_regs_struct.ebx, +@@ -66,11 +72,13 @@ AC_CHECK_MEMBERS([struct user_regs_struct.orig_eax, + struct user_regs_struct.rdi, + struct user_regs_struct.rsi, + struct user_regs_struct.rdx], [],[], +- [#include <sys/user.h>]) ++ [#include <bits/types.h> ++ #include <sys/user.h>]) + AC_CHECK_MEMBERS([struct pt_regs.orig_gpr3, + struct pt_regs.gpr], [],[], [#include <linux/ptrace.h>]) + AC_CHECK_MEMBERS([struct pt_regs.uregs],[],[], [#include <asm/ptrace.h>]) +-AC_CHECK_MEMBERS([struct pt_regs.regs],[],[], [#include <asm/ptrace.h>]) ++AC_CHECK_MEMBERS([struct pt_regs.regs, ++ struct pt_regs.cp0_status],[],[], [#include <asm/ptrace.h>]) + + AM_CONDITIONAL(WANT_PEEKFD_I386, + test $ac_cv_member_struct_user_regs_struct_orig_eax = yes && +@@ -90,11 +98,9 @@ AM_CONDITIONAL(WANT_PEEKFD_PPC, + AM_CONDITIONAL(WANT_PEEKFD_ARM, + test $ac_cv_member_struct_pt_regs_uregs = yes) + AM_CONDITIONAL(WANT_PEEKFD_MIPS, +- test $ac_cv_member_struct_pt_regs_regs = yes) +- +-dnl Check for language stuff +-AM_GNU_GETTEXT([external]) +-AM_GNU_GETTEXT_VERSION([0.16.1]) ++ test $build_cpu = mipsel && ++ test $ac_cv_member_struct_pt_regs_regs = yes && ++ test $ac_cv_member_struct_pt_regs_cp0_status = yes) + + dnl Checks for library functions. + AC_FUNC_CLOSEDIR_VOID diff --git a/sys-process/psmisc/psmisc-22.12.ebuild b/sys-process/psmisc/psmisc-22.12.ebuild index 9a7bf207b574..1cfd59085228 100644 --- a/sys-process/psmisc/psmisc-22.12.ebuild +++ b/sys-process/psmisc/psmisc-22.12.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/psmisc/psmisc-22.12.ebuild,v 1.1 2010/07/30 23:01:54 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-process/psmisc/psmisc-22.12.ebuild,v 1.2 2010/07/31 00:27:32 ssuominen Exp $ inherit autotools eutils @@ -22,7 +22,8 @@ DEPEND="${RDEPEND} src_unpack() { unpack ${A} cd "${S}" - use nls || epatch "${FILESDIR}"/${PN}-22.5-no-nls.patch #193920 + epatch "${FILESDIR}"/${P}-peekfd.patch + use nls || epatch "${FILESDIR}"/${PN}-22.12-no-nls.patch #193920 eautoreconf } |