Files
haikuports/dev-libs/libgpg_error/patches/libgpg_error-1.26.patchset
2016-12-27 10:07:57 +00:00

23 lines
528 B
Plaintext

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