diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-06-21 17:50:24 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-06-21 17:50:24 +0100 |
commit | feb0daf81d888e9160f9f94502de09b66f2a63fd (patch) | |
tree | b6e5c40ce2abef3da27ed50a023153f475e0ddef /net-libs/libupnp/files/libupnp-1.12.0-cxx-compat.patch | |
parent | 9452a6e87b6c2c70513bc47a2470bf9f1168920e (diff) |
gentoo resync : 21.06.2020
Diffstat (limited to 'net-libs/libupnp/files/libupnp-1.12.0-cxx-compat.patch')
-rw-r--r-- | net-libs/libupnp/files/libupnp-1.12.0-cxx-compat.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/net-libs/libupnp/files/libupnp-1.12.0-cxx-compat.patch b/net-libs/libupnp/files/libupnp-1.12.0-cxx-compat.patch deleted file mode 100644 index cbb844952be6..000000000000 --- a/net-libs/libupnp/files/libupnp-1.12.0-cxx-compat.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 5a8e93f1a57cce5cead5c8c566a75f7c7c294c97 Mon Sep 17 00:00:00 2001 -From: Ian Whyman <v00d00@v00d00.net> -Date: Mon, 27 Jan 2020 21:46:47 +0000 -Subject: [PATCH] List: Add extern C for C++ users - ---- - upnp/inc/list.h | 8 ++++++++ - 1 file changed, 8 insertions(+) - -diff --git a/upnp/inc/list.h b/upnp/inc/list.h -index 214a53e5..0fbe7efc 100644 ---- a/upnp/inc/list.h -+++ b/upnp/inc/list.h -@@ -40,6 +40,10 @@ - - #include "UpnpGlobal.h" - -+#ifdef __cplusplus -+extern "C" { -+#endif /* __cplusplus */ -+ - /** List anchor structure. This should be the *first* entry in list - * member objects, except if you want to do member offset arithmetic - * instead of simple casts (look up "containerof"). The list code itself -@@ -71,4 +75,8 @@ EXPORT_SPEC UpnpListIter UpnpListInsert(UpnpListHead *list, UpnpListIter pos, - /** Erase element at pos, return next one, or end()*/ - EXPORT_SPEC UpnpListIter UpnpListErase(UpnpListHead *list, UpnpListIter pos); - -+#ifdef __cplusplus -+} -+#endif /* __cplusplus */ -+ - #endif /* _UPNPLISTH_ */ |