summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <ottxor@gentoo.org>2013-06-19 04:59:55 +0000
committerChristoph Junghans <ottxor@gentoo.org>2013-06-19 04:59:55 +0000
commit7ea4afdd4e152a219b3ac8eb1db56476940f1989 (patch)
tree0825f6a59b02396701165113f3fdbfbccb190844 /sys-apps
parentsci herd only (diff)
downloadhistorical-7ea4afdd4e152a219b3ac8eb1db56476940f1989.tar.gz
historical-7ea4afdd4e152a219b3ac8eb1db56476940f1989.tar.bz2
historical-7ea4afdd4e152a219b3ac8eb1db56476940f1989.zip
fixed prefix build on Darwin (bug #469206, thx to Martin)
Package-Manager: portage-2.2.0_alpha180/cvs/Linux x86_64 Manifest-Sign-Key: 0xC2000586
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/findutils/ChangeLog6
-rw-r--r--sys-apps/findutils/Manifest27
-rw-r--r--sys-apps/findutils/files/findutils-4.5.11-unlinkat.patch167
-rw-r--r--sys-apps/findutils/findutils-4.5.11.ebuild7
4 files changed, 189 insertions, 18 deletions
diff --git a/sys-apps/findutils/ChangeLog b/sys-apps/findutils/ChangeLog
index 01524864c239..e3cb5e9e6e8f 100644
--- a/sys-apps/findutils/ChangeLog
+++ b/sys-apps/findutils/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/findutils
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/findutils/ChangeLog,v 1.216 2013/06/05 00:35:05 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/findutils/ChangeLog,v 1.217 2013/06/19 04:59:42 ottxor Exp $
+
+ 19 Jun 2013; Christoph Junghans <ottxor@gentoo.org>
+ +files/findutils-4.5.11-unlinkat.patch, findutils-4.5.11.ebuild:
+ fixed prefix build on Darwin (bug #469206, thx to Martin)
05 Jun 2013; Mike Frysinger <vapier@gentoo.org> metadata.xml:
Add upstream CPE tag (security info) from ChromiumOS.
diff --git a/sys-apps/findutils/Manifest b/sys-apps/findutils/Manifest
index 28a3b6c6d9df..b8b02dcb8f31 100644
--- a/sys-apps/findutils/Manifest
+++ b/sys-apps/findutils/Manifest
@@ -5,6 +5,7 @@ AUX findutils-4.3.12-selinux.diff 15641 SHA256 211686a97ebfae840f83ce4b6d21dc8c4
AUX findutils-4.4.2-gnulib-date-x32.patch 1210 SHA256 004a9d3a28ac727fddf3e54fcf2846aab90b30f29f40f8ff32b19742539e85eb SHA512 51bd15305d12a93f2a83faa359d1a2501fd96dea2c8dbed25cafa60c5d7f17b7a86d2d7dd0095dc0a6e0c1e9eaf2775bc6e1ceaadbdf5e2ffbaab6a4a4b9ff60 WHIRLPOOL 7c866ac607fd7c9311160e398ccd98e593f69833ca643606d0462f2b125fce616249a8a0063f2514cd573542e5563539164a1527f3b02c1f20234880d287f258
AUX findutils-4.4.2-selinux.diff 15603 SHA256 67de61c659f8d524b70ebabafe25093c02374b1fc83770dd5633480745e2ee9d SHA512 5fb4346b56cab0a470358e75c4c4a57f6709f7a987b1e6887242b9a4f241590adcaba7061d71752a5d2f8ac3598ecc1dffdb92b2bc072f5f31152088b88ed7f9 WHIRLPOOL 612394c54d4095c6cd9d0dc326be2b5b6ce41e43cd3dc8e3cd2a4e99a0844aec769373243c62398df79d6f7561f865754b627917b5f1733d6b065b7e3ce7be35
AUX findutils-4.5.10-no-gets.patch 793 SHA256 bfadeeaf13a1c39cabc50914058e1b71ee5ea3b02475e84dd39c4f6ca080ff0e SHA512 14690c068e6c7dcccbbdb2328d8e9b96191e31bb2e9fe21bbab5a701569737d9da8cb0ff7a5cc47d328b46d1f11f533c03aef7c7c5a5002ff01289f0e926247c WHIRLPOOL 6cd609288b304011fe4267023f15c9604ff43f7b538674aa6b41d0700956f6022b6597eed0091648d0875d16dcaa5138bb25e0c606882b5855bda4d381331096
+AUX findutils-4.5.11-unlinkat.patch 5730 SHA256 1fa977bbe8b11ad01e73acb68b19fc77881c05ba2ba107ef458123c4c1402693 SHA512 23d0bd84e90d904591ada09e1d9882be321618bc33fa42faa8f846e47f3b497cfbbfa3f11d9aef81380351d35df2465a61a683cdc9d96955f21989fdd0dca418 WHIRLPOOL 0e429d40eaf7f9ad90eefbf2ba6e38d95bc515c366702d2bc91b7d84cafd48990370d52df93193f2f84a8c93af52bc442e69a30edd969388a3756516c2f7eca4
DIST findutils-4.4.2.tar.gz 2149838 SHA256 434f32d171cbc0a5e72cfc5372c6fc4cb0e681f8dce566a0de5b6fccd702b62a SHA512 262d0a8301158e6541b9f24e4e043d8d8c1b196b18dbe59c3bedcf17b50c95708e33ab23a07e3bfb947ad495faafffdca3c296fb525794ca60f2dfd682f228c1 WHIRLPOOL 2af1467403ece2f290be6b9f69db013d386427ab553efcf750ce36bf608fab0d37708209c22bf61b8a82f41aa13bf25a247c62f78dc95446290b7a4bd35d3393
DIST findutils-4.5.10.tar.gz 2745375 SHA256 fe24bbce55ac8f136080e01c03e7ae8b5ab395550625c25860efcbbe0641af76 SHA512 1850187309c17272c14c3ca7e183c6228242c3301b6e475491fcec77c2584d386652636327b4a1de3948e054bcbe78fb2289f9aeb59faeef06f2fcfa03d13ffe WHIRLPOOL 7cfb24692eacedcda40b536bc4b0c9da7c6569ce4a19d92e1e8e79a80f1fd581a28b645d73c98b0db089386e1693dc030f5537f758f574e3af83cbb9c139407e
DIST findutils-4.5.11.tar.gz 3116431 SHA256 75e823592d917f1ac853a35cf46d6deeeb3b984240331ad1723f60da1a725d22 SHA512 5ca86b16b9f36be73ddcadb01507aa6d60baa15f23ac9d12d813a1daa5357b238583f2bd422bec7f10c1d8ea51f447256ecd17d7af48d521d8823fa73ec170b2 WHIRLPOOL 734dd3c55d17bd25ac542d0921a3677767df4c3ae60f04c1083f0bf3951fdfb89ab914aaa28f5840da822142d1e75a5df1e701e59948d5e474264d91a1ed6ccb
@@ -14,25 +15,19 @@ EBUILD findutils-4.4.2-r1.ebuild 1435 SHA256 8601a8d4e175c89efc39e2973df3542ec77
EBUILD findutils-4.4.2.ebuild 1497 SHA256 2cc2d65e08036da39d459c0434d34c7a66aca43f3d585021edb192c7d1990c0d SHA512 1d4a5aabc0239f158c2c31a43b0c6a1056afccb424cdafdd62c33190733c2ceaea1729f9a81ea45373204b90e52923e298de20121af17813a78d9453de628cef WHIRLPOOL a0028695fccbe92356ed566e73db602f32a34e17712dd855eab7e3bd278f7889b9702d01915aaf92bad6393960737f6617eacd0decf1828f1521f8d393cfa74f
EBUILD findutils-4.5.10-r1.ebuild 1575 SHA256 2acb663d3e75a55fd1862431ba1aee9a0510d08d2ec6a3067f73ea09430720cc SHA512 fad266b206519eb48f05a305672465641f6b381ac40f95fbe9f8d391b3c028a65aa9a528192f501e9f991875c6381349b8998fb4ba2f4de1b19c02d9b524b653 WHIRLPOOL a34e39777c2d3a724b538286df831066a8ba2d3018bae663ac8b21d2d5a93bf7da754f2b68ccbef53e6fd9fe3d94e0dd35d2b3cd4885027e97a1259c80032b76
EBUILD findutils-4.5.10.ebuild 1410 SHA256 7360f0672f0e68a9f609f3d2e25031051e9a7beed30d2c2392e28d25c6249c96 SHA512 edb8c65410852b1293ead2744e58ee3e34ed77172e6cd5c307adf488247eae2192a5ce65a73fd15ef7fd1834d6d0aa0feaa3e8319714f88e67bc0f3c35b13be8 WHIRLPOOL e7fee74632fe1b51451cf540347c65033910e215b798e6961634accb62f35f706466cf1bf4783da7a045489884f01ac80bd87c731ee4295533ad9be100f44c16
-EBUILD findutils-4.5.11.ebuild 1715 SHA256 56fa8f4261ced171e4a7cbcc5ed09b4a8b6559468396926b9713b66a839fd36f SHA512 d8afa67698807d2cfc1f93145c747bba1bf48aaabd3795ad406ffac11ded19eb597a2189264e38d36b0c68e787e9fa61c1ca50613ede0de2364a769a1395049d WHIRLPOOL a63718fc84f89778be894c3cd04b6fe0c5e221f8f783b1af9ef32393cc458fabfe1b793619f0fa63505b1c723bc49963fe97b0921e0429ae16ffe18f658a2d02
+EBUILD findutils-4.5.11.ebuild 1853 SHA256 de0587db334b0f634a04ffab04a5ccb17d4fffc8344956c575e65fc4a7a2eb42 SHA512 79364d1e29cabebeb84dc6e4a8ede3e53aca13eeb813d82ad4b4c968d78ef641e8c38a6171726fe6788cb93eb5d627150cf4ca5c8b7f0f58a6b139c279e848a1 WHIRLPOOL 3f6d874c8de62f0fc2d6a0f3989a7d4bb37ffa4ed95bdeda70f2c46483f451d49ff05bb3862299ba9bc0aa95749d63a90cde75537f696b2d292995189895753b
EBUILD findutils-4.5.8.ebuild 1409 SHA256 20ea567d46f077301f0eb56f78a35eefb6a4806ad67e740d994265137a4ea8a3 SHA512 8c2ae0e33c1afc0448cb135d9d1a139612285d766cc0c4f9b15c0e3c9063d77a6a259f65813fb04a8fe5ebceb3be20c4d2b4c92eac95defcbbcd2b5ac94cf925 WHIRLPOOL d2451aaf794a4affcaf2f2d5a9a7e2177e654919723c63276c9cc477363a11fe5337110aa43fe0ea6396a01ed867603f43bb909220cd48daecf8fedd2ca42ab4
EBUILD findutils-4.5.9.ebuild 1409 SHA256 ba7b0b43b990d1be5a1c2d9d1a36dd8c8e4b8a3513fd0ed7b11bce4d940567b4 SHA512 25e47afb77147df25739fb6d8012b9b8f0477bc3717c7ff3486f0de1a0543c90f88d1f9112ade14cb12fec1ecc083fd71fa3e6481d1c861123bf69a7b8a25c75 WHIRLPOOL fccf842948b3a3ce6a31fb9bb81774287278b2adf58b22ffbf586dd9b5b811032f4f7fd20ac3f81506061bed8b3f28ae1736dbb76937ae8b9865e869f8d1d3d0
-MISC ChangeLog 29899 SHA256 41e4135f9ea49f7217725501732a32f5d15c6fb64da7f37ef4d3748aa66b9cfd SHA512 44d00585569935a9e3d0d91b378831e1d8c3b98ccadec64c1912c2d38406f94cdf1cd13995369787ccf70ada864b4858b44466c14774e07283d5d21b763ab682 WHIRLPOOL 4a2fb3cff7f52ad08d70f1f0383311e4939ded0bde0f31042ae33b0fbf9be210590cd430d619049bd036688ff6dd04eea8f132833f563c74819ff8dd72d9ee59
+MISC ChangeLog 30081 SHA256 294e873337e06ad79d4659e1dc0dc791bfb3f974f59c9f5f32e649dc3d9102ab SHA512 c722c764b89add8a17a25d64d66bf7354bcc4e24018c3cc18c37d196b06dd030d833ec784ecd1c13c1708d151d35bd8c95a7d437da71fa2b5d0ab1353112e88f WHIRLPOOL c86d7f204d334ace11e043a66005aeb7a5d8dc5d42ba6eb9cfced11222a6814eba2d77ad583effb4b5278bdd7125b9a2b817a2c060292b4cb112de13f21922d6
MISC metadata.xml 247 SHA256 c1aace970507b192985f753f5b6d6b4f909284fa2e8c9a6492c9d29651476bab SHA512 e42648aa29d9aaa1125770a5f89c68ede330e90c64562942f8cb64d85471cc8176f2ae10c1dad00230b4fcad3a65eae92676c6fd8a43c1bf8985e9ee8ac8fd29 WHIRLPOOL f8eb5d248383ef10b836b0a9ffa9154bb8f38d001813ca727ffb0d07ffa9234eee323894831b01144017cb8b43400dd910b685babf75ebe10a2615dc94999e08
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
+Version: GnuPG v2.0.20 (GNU/Linux)
-iQIcBAEBCAAGBQJRroe/AAoJELEHsLL7fEFWU5wP+wfVZ/XDETP871V1mzYCYYX1
-3ChYaV1hIIzwP1yEKAJ9SRLaEJ9i/w2Q9q7fZWPhvAETsfmUa/G+cy3XwKWESxjS
-JjRCmWKPxurxhPyJV3M946Hx9uftjUqF9wV1tZYP00EaP+MLsZ+lL9V0U9nszDft
-/k9TXvc9Qoj/1hjCWorOj/YbLL6bFY9vlNuKvYjfZYc/ejC6Iitp2zvId1eXJUih
-DifbjShOmjUoVCWo8iOX4Iep24NVACaUcQcnniY3wIEXBTxKuA5hyAxkQG1u7UJd
-e+SOnrIQbm+JUA6R2E5TDI3wOhtvciWJiyDdrOieTH+JkJSMwxUSefcvIj2gdtrc
-UTGMk9oEguKnPOcaerjukHkXxNjXfGOawJIc4RRqdolHkcIKXh/6c6p5wpF9Et11
-iBBRPtfOBNbr4UTumXsK57yu07e3nqZfMERhAwo9M4g8tPMXinC8R3faakX1gOOc
-TZrPScOO1y0N4Njq4OZKMic2kHeBUweSZ9jXaCG+d6AlSs98nmbNmJz1XAdIaxX0
-9nYuZlSIhWDBLAV7j4WCTcYNg4nxohB/UTAAB8Htw6q3SZBzKSQ4RdGOPAGLe3yO
-DlE1N/KZXQRrh/Zn+xsMkcPPlYkLVpu+TNOcnzpmwLMMRwat4ZljekX6FYxOY0Da
-XE11jyk7uNNLBuwkEhph
-=9av4
+iQEcBAEBCAAGBQJRwTrAAAoJEOeBhlrCAAWGVu0H/3H8gBUZ97eLwhlv3CXs2ueL
+W2kO5K74p2A6i8PXF8+QFpq6WKFLvzgYyKtmsJF3B9jXF52DKW3e5VLxMC/zlrqg
+5aFfwNqC7122x6rtl0lBiuuMp/vPuhRdOhgDd/MQ59UduJTxdQnPG5R7VtUGQgpA
+QQjG4dw6//P85sCuUy+NkaYoo4fIokllsFMqkty4KsF8xQsnTEWvULZz958GjjpI
+3XSaMD9lIYyiHTRp3wMIwK0Twde5mhzC6tAS99YYI6oAE6gybWmNV1HXOQbsSAmJ
+4G8hpjvlvueiqbzEs46x/KamAgPbaWx1YI0+gy7PNHqfKKmiw1nW3elK5fWkuRA=
+=MoD6
-----END PGP SIGNATURE-----
diff --git a/sys-apps/findutils/files/findutils-4.5.11-unlinkat.patch b/sys-apps/findutils/files/findutils-4.5.11-unlinkat.patch
new file mode 100644
index 000000000000..35a074fe2fc6
--- /dev/null
+++ b/sys-apps/findutils/files/findutils-4.5.11-unlinkat.patch
@@ -0,0 +1,167 @@
+Include unlinkat in the gnulib include list.
+
+This patch is based on
+findutils git 6b240251d5e8e1da4c6057b1c2eac1aca3012d70
+gnulib git fd9f1acededd74f8cd095e657528aa8fad183536
+
+A distdir was built from clean sources once without and once with the
+gnulib unlinkat module added in. The resulting diff was then manually
+polished to keep its fingerprint low. In particular, the move of files
+from the tests dir to the gl/lib dir was omitted, so the build process
+has to move or copy these files. All modifications inside the tests
+dir were omitted as irrelevant. Modifications to Makefile.am and m4
+files were omitted in an attempt to avoid calls to autoconf or
+automake. Changes to the configure script were adjusted to simply
+modify the existing checks for the test dependencies, which results in
+a different order of checks than what an autmatically generated file
+would have.
+
+2013-05-30 Martin von Gagern
+
+References:
+https://bugs.gentoo.org/show_bug.cgi?id=469206
+https://savannah.gnu.org/bugs/index.php?38963
+
+Index: import-gnulib.config
+===================================================================
+--- a/import-gnulib.config
++++ b/import-gnulib.config
+@@ -139,6 +139,7 @@
+ sys_wait
+ timespec
+ uname
++unlinkat
+ verify
+ version-etc
+ version-etc-fsf
+Index: configure
+===================================================================
+--- a/configure
++++ b/configure
+@@ -42356,7 +42356,7 @@
+
+
+
+- gltests_LIBOBJS="$gltests_LIBOBJS rmdir.$ac_objext"
++ gl_LIBOBJS="$gl_LIBOBJS rmdir.$ac_objext"
+
+ fi
+
+@@ -42364,13 +42364,7 @@
+
+
+
+- if test "$GNULIB_RMDIR" != 1; then
+- if test "$GNULIB_RMDIR" = 0; then
+- GNULIB_RMDIR=$gl_module_indicator_condition
+- else
+- GNULIB_RMDIR="($GNULIB_RMDIR || $gl_module_indicator_condition)"
+- fi
+- fi
++ GNULIB_RMDIR=1
+
+
+
+@@ -43683,7 +43677,7 @@
+
+
+
+- gltests_LIBOBJS="$gltests_LIBOBJS unlink.$ac_objext"
++ gl_LIBOBJS="$gl_LIBOBJS unlink.$ac_objext"
+
+ fi
+
+@@ -43691,13 +43685,7 @@
+
+
+
+- if test "$GNULIB_UNLINK" != 1; then
+- if test "$GNULIB_UNLINK" = 0; then
+- GNULIB_UNLINK=$gl_module_indicator_condition
+- else
+- GNULIB_UNLINK="($GNULIB_UNLINK || $gl_module_indicator_condition)"
+- fi
+- fi
++ GNULIB_UNLINK=1
+
+
+
+@@ -43746,7 +43734,7 @@
+
+
+
+- gltests_LIBOBJS="$gltests_LIBOBJS unlinkat.$ac_objext"
++ gl_LIBOBJS="$gl_LIBOBJS unlinkat.$ac_objext"
+
+ fi
+
+@@ -43754,13 +43742,7 @@
+
+
+
+- if test "$GNULIB_UNLINKAT" != 1; then
+- if test "$GNULIB_UNLINKAT" = 0; then
+- GNULIB_UNLINKAT=$gl_module_indicator_condition
+- else
+- GNULIB_UNLINKAT="($GNULIB_UNLINKAT || $gl_module_indicator_condition)"
+- fi
+- fi
++ GNULIB_UNLINKAT=1
+
+
+
+Index: gl/lib/Makefile.in
+===================================================================
+--- a/gl/lib/Makefile.in
++++ b/gl/lib/Makefile.in
+@@ -1570,6 +1570,7 @@
+ readdir.c readlink.c at-func.c readlinkat.c realloc.c \
+ realloc.c regcomp.c regex.c regex.h regex_internal.c \
+ regex_internal.h regexec.c dirent-private.h rewinddir.c \
++ rmdir.c \
+ root-uid.h rpmatch.c same.h same-inode.h save-cwd.h savedir.h \
+ at-func.c selinux-at.c selinux-at.h getfilecon.c setenv.c \
+ $(top_srcdir)/build-aux/snippet/_Noreturn.h \
+@@ -1590,7 +1591,7 @@
+ $(top_srcdir)/build-aux/config.rpath time.in.h time_r.c \
+ timespec.h trunc.c uname.c unistd.in.h unistd--.h \
+ unistd-safer.h unitypes.in.h localcharset.h uniwidth.in.h \
+- uniwidth/cjk.h unsetenv.c \
++ uniwidth/cjk.h unlink.c at-func.c unlinkat.c unsetenv.c \
+ $(top_srcdir)/build-aux/update-copyright \
+ $(top_srcdir)/build-aux/useless-if-before-free asnprintf.c \
+ float+.h printf-args.c printf-args.h printf-parse.c \
+@@ -1697,12 +1698,14 @@
+ mountlist.c msvc-inval.c msvc-nothrow.c nl_langinfo.c open.c \
+ openat.c opendir.c perror.c readdir.c readlink.c at-func.c \
+ readlinkat.c realloc.c realloc.c regcomp.c regex.c \
+- regex_internal.c regexec.c rewinddir.c rpmatch.c at-func.c \
++ regex_internal.c regexec.c rewinddir.c \
++ rmdir.c rpmatch.c at-func.c \
+ selinux-at.c getfilecon.c setenv.c snprintf.c stat.c stpcpy.c \
+ strcasecmp.c strncasecmp.c strcasestr.c strdup.c strerror.c \
+ strerror-override.c strerror_r.c strndup.c strnlen.c strstr.c \
+ strtol.c strtol.c strtoul.c strtol.c strtoul.c strtoull.c \
+- strtoimax.c strtoumax.c time_r.c trunc.c uname.c unsetenv.c \
++ strtoimax.c strtoumax.c time_r.c trunc.c uname.c \
++ unlink.c at-func.c unlinkat.c unsetenv.c \
+ asnprintf.c printf-args.c printf-parse.c vasnprintf.c \
+ wcrtomb.c wcwidth.c
+ charset_alias = $(DESTDIR)$(libdir)/charset.alias
+@@ -1938,6 +1941,7 @@
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/regex_internal.Po@am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/regexec.Po@am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rewinddir.Po@am__quote@
++@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rmdir.Po@am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rpmatch.Po@am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/same.Po@am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/save-cwd.Po@am__quote@
+@@ -1972,6 +1976,8 @@
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/timespec.Po@am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/trunc.Po@am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/uname.Po@am__quote@
++@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unlink.Po@am__quote@
++@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unlinkat.Po@am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unsetenv.Po@am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vasnprintf.Po@am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/version-etc-fsf.Po@am__quote@
diff --git a/sys-apps/findutils/findutils-4.5.11.ebuild b/sys-apps/findutils/findutils-4.5.11.ebuild
index 4788c506011a..0cfc99db2ad1 100644
--- a/sys-apps/findutils/findutils-4.5.11.ebuild
+++ b/sys-apps/findutils/findutils-4.5.11.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/findutils/findutils-4.5.11.ebuild,v 1.4 2013/05/12 18:05:20 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/findutils/findutils-4.5.11.ebuild,v 1.5 2013/06/19 04:59:42 ottxor Exp $
EAPI="3"
@@ -25,6 +25,11 @@ src_prepare() {
# Don't build or install locate because it conflicts with slocate,
# which is a secure version of locate. See bug 18729
sed -i '/^SUBDIRS/s/locate//' Makefile.in
+
+ if use prefix ; then #469206
+ cp tests/{rmdir,unlink,unlinkat,at-func}.c gl/lib/ || die
+ epatch "${FILESDIR}/${P}-unlinkat.patch"
+ fi
}
src_configure() {