summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-auth/pam_bioapi/files/pam_bioapi-0.4.0-headers.patch')
-rw-r--r--sys-auth/pam_bioapi/files/pam_bioapi-0.4.0-headers.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/sys-auth/pam_bioapi/files/pam_bioapi-0.4.0-headers.patch b/sys-auth/pam_bioapi/files/pam_bioapi-0.4.0-headers.patch
new file mode 100644
index 000000000000..00b7b6ff0abe
--- /dev/null
+++ b/sys-auth/pam_bioapi/files/pam_bioapi-0.4.0-headers.patch
@@ -0,0 +1,15 @@
+fix building with -O0
+
+http://code.google.com/p/pam-bioapi/issues/detail?id=3
+http://bugs.gentoo.org/241322
+
+--- libpam_bioapi/pam_bioapi.h
++++ libpam_bioapi/pam_bioapi.h
+@@ -23,6 +23,7 @@
+ #include <sys/wait.h>
+ #include "earray.h"
+
++#include <locale.h>
+ #include <libintl.h> /* gnu gettext support */
+ #define _(String) gettext (String)
+