summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-18 20:12:20 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-18 20:12:20 +0000
commit0de7a79a4d9e625f0c5a87a88688692c463165fe (patch)
tree752ca0115b72cb09f05dca3d7c2b08dcc000cafa /app-arch/cabextract/files
parentTweak the configure logic. (diff)
downloadgentoo-2-0de7a79a4d9e625f0c5a87a88688692c463165fe.tar.gz
gentoo-2-0de7a79a4d9e625f0c5a87a88688692c463165fe.tar.bz2
gentoo-2-0de7a79a4d9e625f0c5a87a88688692c463165fe.zip
Add patch to fix mempcpy check unconditionally. Mark ~x86-fbsd.
(Portage version: 2.1_pre7-r5)
Diffstat (limited to 'app-arch/cabextract/files')
-rw-r--r--app-arch/cabextract/files/cabextract-1.1-mempcpy.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/app-arch/cabextract/files/cabextract-1.1-mempcpy.patch b/app-arch/cabextract/files/cabextract-1.1-mempcpy.patch
new file mode 100644
index 000000000000..3ff0d20eacb9
--- /dev/null
+++ b/app-arch/cabextract/files/cabextract-1.1-mempcpy.patch
@@ -0,0 +1,12 @@
+Index: cabextract-1.1/configure.ac
+===================================================================
+--- cabextract-1.1.orig/configure.ac
++++ cabextract-1.1/configure.ac
+@@ -37,7 +37,6 @@ AC_CHECK_FUNCS([memcpy strcasecmp strchr
+ AC_CHECK_FUNCS([getopt_long],,[AC_CHECK_LIB([gnugetopt], [getopt_long],
+ [AC_DEFINE([HAVE_GETOPT_LONG])],[AC_LIBOBJ(getopt) AC_LIBOBJ(getopt1)])])
+ AC_REPLACE_FNMATCH
+-AC_REPLACE_FUNCS([mempcpy])
+
+ AC_CONFIG_FILES([Makefile cabextract.spec])
+ AC_OUTPUT