diff options
author | joerg <joerg@pkgsrc.org> | 2011-08-20 15:36:16 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2011-08-20 15:36:16 +0000 |
commit | 124c6cc815f0fbb498e19f2e48f315d76285ac5e (patch) | |
tree | 6cae7d5c39477166176350fff9f2857ca805c891 | |
parent | 0bc970b69d375974ef4cf249dbad2b9be1072ce9 (diff) | |
download | pkgsrc-124c6cc815f0fbb498e19f2e48f315d76285ac5e.tar.gz |
Fix C99 vs GNU89 inline mess
-rw-r--r-- | net/libupnp/distinfo | 3 | ||||
-rw-r--r-- | net/libupnp/patches/patch-upnp-src-genlib-net-http-webserver.c | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/net/libupnp/distinfo b/net/libupnp/distinfo index 575f17630c5..014061a1b76 100644 --- a/net/libupnp/distinfo +++ b/net/libupnp/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.15 2009/02/24 09:36:23 obache Exp $ +$NetBSD: distinfo,v 1.16 2011/08/20 15:36:16 joerg Exp $ SHA1 (libupnp-1.6.6.tar.bz2) = 24c2c349cb52ed3d62121fbdae205c8d9dc0f5fa RMD160 (libupnp-1.6.6.tar.bz2) = 25ff0390793cfa48cca32a335b4d633283b1fe64 @@ -9,3 +9,4 @@ SHA1 (patch-ac) = 05ba4584d2ebdb2de041e67f4c8d1c05e4fc1970 SHA1 (patch-ae) = 7331c61d5b3a47ca3865788cf88a973d5e9352a1 SHA1 (patch-ag) = b6b555fd2e7d5ddf5f63b25d8b915cdd7d0d03ba SHA1 (patch-ah) = f46422955005a8b1b187163e97ee84a45b713847 +SHA1 (patch-upnp-src-genlib-net-http-webserver.c) = d52857b9ea7d26686feebd7bb513ef62845b2636 diff --git a/net/libupnp/patches/patch-upnp-src-genlib-net-http-webserver.c b/net/libupnp/patches/patch-upnp-src-genlib-net-http-webserver.c new file mode 100644 index 00000000000..b0e8b5352b7 --- /dev/null +++ b/net/libupnp/patches/patch-upnp-src-genlib-net-http-webserver.c @@ -0,0 +1,13 @@ +$NetBSD: patch-upnp-src-genlib-net-http-webserver.c,v 1.1 2011/08/20 15:36:16 joerg Exp $ + +--- upnp/src/genlib/net/http/webserver.c.orig 2011-08-19 14:13:11.000000000 +0000 ++++ upnp/src/genlib/net/http/webserver.c +@@ -289,7 +289,7 @@ search_extension( IN const char *extensi + * 0 - On Sucess + * UPNP_E_OUTOF_MEMORY - on memory allocation failures + ************************************************************************/ +-UPNP_INLINE int ++static UPNP_INLINE int + get_content_type( IN const char *filename, + OUT DOMString * content_type ) + { |