libgpg_error: add a recipe for version 1.15

This commit is contained in:
Jerome Duval
2014-10-06 16:36:27 +00:00
parent 5e1e7ea275
commit fff3b4c62b
2 changed files with 85 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
From 704f5695c327d67f550795e82004889717cf6ab9 Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Tue, 5 Aug 2014 16:25:46 +0000
Subject: haiku patch
diff --git a/src/mkerrcodes2.awk b/src/mkerrcodes2.awk
index ea58503..93cfef2 100644
--- a/src/mkerrcodes2.awk
+++ b/src/mkerrcodes2.awk
@@ -81,7 +81,7 @@ BEGIN {
/^#/ { next; }
header {
- if ($1 ~ /^[0123456789]+$/)
+ if ($1 ~ /^-?[0123456789]+$/)
{
print "static const int err_code_from_index[] = {";
header = 0;
--
1.8.3.4