diff options
author | joerg <joerg> | 2012-11-19 02:59:39 +0000 |
---|---|---|
committer | joerg <joerg> | 2012-11-19 02:59:39 +0000 |
commit | f1640ec91d62fb1c974c47095be51384912b4d04 (patch) | |
tree | 7e976d3874d58641dde307af1fac3f64313fad7e | |
parent | 471084a6e0a4671fd42b53bd6164f58c910f3e78 (diff) | |
download | pkgsrc-f1640ec91d62fb1c974c47095be51384912b4d04.tar.gz |
Rename struct to not conflict with C99's restrict keyword.
-rw-r--r-- | net/socks5/distinfo | 3 | ||||
-rw-r--r-- | net/socks5/patches/patch-clients_archie_pfs.h | 22 |
2 files changed, 24 insertions, 1 deletions
diff --git a/net/socks5/distinfo b/net/socks5/distinfo index 9505a91d48e..310243d0a6d 100644 --- a/net/socks5/distinfo +++ b/net/socks5/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.7 2006/09/19 08:05:16 rillig Exp $ +$NetBSD: distinfo,v 1.8 2012/11/19 02:59:39 joerg Exp $ SHA1 (socks5-v1_0r2_tar.gz) = 57c6e3a17381ce48bed008a86442385dbc2d11de RMD160 (socks5-v1_0r2_tar.gz) = 18b6986027cee615cdae051d47240f3dc99b9c85 @@ -15,3 +15,4 @@ SHA1 (patch-ai) = 1fe2e130eaa29731d9ddae6cfc3d6d728b89053e SHA1 (patch-aj) = b0019fe20f666e1d42483dd9e0e06aec9a02ba3e SHA1 (patch-ak) = f8ea0bea85e37d997b4a54cd66b4f537aee9fcd9 SHA1 (patch-al) = 0837caf83252fb0f660721a3fcfc066c5fe91333 +SHA1 (patch-clients_archie_pfs.h) = 126bde203ecf5602f61fe581ac8d0032e28f00f1 diff --git a/net/socks5/patches/patch-clients_archie_pfs.h b/net/socks5/patches/patch-clients_archie_pfs.h new file mode 100644 index 00000000000..ca096c4dd2e --- /dev/null +++ b/net/socks5/patches/patch-clients_archie_pfs.h @@ -0,0 +1,22 @@ +$NetBSD: patch-clients_archie_pfs.h,v 1.1 2012/11/19 02:59:39 joerg Exp $ + +--- clients/archie/pfs.h.orig 2012-11-18 22:48:11.000000000 +0000 ++++ clients/archie/pfs.h +@@ -194,7 +194,7 @@ struct acl { + char *atype; /* Authentication type */ + char *rights; /* Rights */ + char *principals; /* Authorized principals */ +- struct restrict *restrictions; /* Restrictions on use */ ++ struct restrictions *restrictions; /* Restrictions on use */ + struct acl *previous; /* Previous elt in linked list */ + struct acl *next; /* Next element in linked list */ + }; +@@ -216,7 +216,7 @@ typedef struct acl ACL_ST; + + /* Definition of structure contining access restrictions */ + /* for future extensions */ +-struct restrict { ++struct restrictions { + struct acl *previous; /* Previous elt in linked list */ + struct acl *next; /* Next element in linked list */ + }; |