Convert/update libgpg_error to working recipe

This commit is contained in:
Chris Roberts
2013-11-28 03:00:05 -07:00
parent b44a47f9f8
commit 839ecfca8f
5 changed files with 64 additions and 62 deletions

View File

@@ -0,0 +1,11 @@
--- libgpg-error-1.12/src/mkerrcodes2.awk 2008-08-26 12:45:58.010747904 +0000
+++ libgpg-error-1.12-haiku/src/mkerrcodes2.awk 2012-04-09 16:59:18.363855872 +0000
@@ -81,7 +81,7 @@
/^#/ { next; }
header {
- if ($1 ~ /^[0123456789]+$/)
+ if ($1 ~ /^-?[0123456789]+$/)
{
print "static const int err_code_from_index[] = {";
header = 0;