diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-02-04 18:40:32 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-02-04 18:40:32 +0000 |
commit | 66df507f574250e5e16ca3f5e1b247e6187e9cb8 (patch) | |
tree | 39455b065f81b0398a9b64659515a980b4819018 /dev-libs/libffi/files | |
parent | gnome-panel dep is only required for gdict-applet (behind 'bonobo' USE flag).... (diff) | |
download | gentoo-2-66df507f574250e5e16ca3f5e1b247e6187e9cb8.tar.gz gentoo-2-66df507f574250e5e16ca3f5e1b247e6187e9cb8.tar.bz2 gentoo-2-66df507f574250e5e16ca3f5e1b247e6187e9cb8.zip |
Backport upstream patch for strncmp usage bug by request from Arfrever Frehtes Taifersar Arahesis. Use EAPI=2. This will effectively kill upgrade path from older systems since it's a depend for dev-lang/python and thus portage. But python ebuilds are newer EAPIs too, so we don't care anymore.
(Portage version: 2.2.0_alpha19/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/libffi/files')
-rw-r--r-- | dev-libs/libffi/files/libffi-3.0.9-strncmp.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-libs/libffi/files/libffi-3.0.9-strncmp.patch b/dev-libs/libffi/files/libffi-3.0.9-strncmp.patch new file mode 100644 index 000000000000..a919f2881790 --- /dev/null +++ b/dev-libs/libffi/files/libffi-3.0.9-strncmp.patch @@ -0,0 +1,15 @@ +src/closures.c (selinux_enabled_check): Fix strncmp usage bug. + +http://github.com/atgreen/libffi/commit/eaf444eabc4c78703c0f98ac0197b1619c1b1bef + +--- src/closures.c ++++ src/closures.c +@@ -146,7 +146,7 @@ + p = strchr (p + 1, ' '); + if (p == NULL) + break; +- if (strncmp (p + 1, "selinuxfs ", 10) != 0) ++ if (strncmp (p + 1, "selinuxfs ", 10) == 0) + { + free (buf); + fclose (f); |