From 420f315ab6b8724199652ddfad2fbdec36ea1c56 Mon Sep 17 00:00:00 2001 From: Eric Petit Date: Mon, 9 Mar 2009 07:49:22 +0000 Subject: [PATCH] Adds patch for libgpg-error 1.7 --- dev-libs/libgpg-error/libgpg-error-1.7.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 dev-libs/libgpg-error/libgpg-error-1.7.patch diff --git a/dev-libs/libgpg-error/libgpg-error-1.7.patch b/dev-libs/libgpg-error/libgpg-error-1.7.patch new file mode 100644 index 000000000..39d7b3fb2 --- /dev/null +++ b/dev-libs/libgpg-error/libgpg-error-1.7.patch @@ -0,0 +1,12 @@ +diff -Naur libgpg-error-1.7-orig/src/mkerrcodes2.awk libgpg-error-1.7/src/mkerrcodes2.awk +--- libgpg-error-1.7-orig/src/mkerrcodes2.awk 2009-03-08 16:04:38.000000000 +0000 ++++ libgpg-error-1.7/src/mkerrcodes2.awk 2009-03-08 15:50:42.000000000 +0000 +@@ -81,7 +81,7 @@ + /^#/ { next; } + + header { +- if ($1 ~ /^[0123456789]+$/) ++ if ($1 ~ /^-?[0123456789]+$/) + { + print "static const int err_code_from_index[] = {"; + header = 0;