summaryrefslogtreecommitdiff
path: root/security/libgpg-error/patches/patch-af
blob: 041507cb864ee5892694a6b19324ace680c18a3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-af,v 1.2 2008/10/14 11:32:11 adam Exp $

--- src/mkerrcodes.awk.orig	2005-09-03 12:12:12.000000000 +0200
+++ src/mkerrcodes.awk
@@ -60,7 +60,7 @@
 # as is trailing whitespace.
 
 BEGIN {
-  FS="[ \t]+GPG_ERR_";
+  #FS="[ \t]+GPG_ERR_";
   print "/* Output of mkerrcodes.awk.  DO NOT EDIT.  */";
   print "";
   header = 1;
@@ -91,7 +91,7 @@ header {
   if (/^$/)
     next;
 
-    print "  { " $1 ", \"GPG_ERR_" $2 "\" },";
+    print "  { " $1 ", \"" $2 "\" },";
 }
 
 END {