summaryrefslogtreecommitdiff
path: root/sys-libs/librpc/files/librpc-20151104-fix-throw-decls.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs/librpc/files/librpc-20151104-fix-throw-decls.patch')
-rw-r--r--sys-libs/librpc/files/librpc-20151104-fix-throw-decls.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/sys-libs/librpc/files/librpc-20151104-fix-throw-decls.patch b/sys-libs/librpc/files/librpc-20151104-fix-throw-decls.patch
deleted file mode 100644
index fb97933ff..000000000
--- a/sys-libs/librpc/files/librpc-20151104-fix-throw-decls.patch
+++ /dev/null
@@ -1,27 +0,0 @@
---- librpc-uclibc-a921e3d/rpc/compat.h.old 2015-11-04 19:33:16.000000000 +0100
-+++ librpc-uclibc-a921e3d/rpc/compat.h 2016-08-30 10:01:17.226733271 +0100
-@@ -4,6 +4,24 @@
- #define _XOPEN_SOURCE
- #define _GNU_SOURCE
-
-+#if !defined(__THROW)
-+# if defined(__cplusplus)
-+# define __THROW throw()
-+# else
-+# define __THROW
-+# endif
-+#endif
-+
-+#if !defined(__BEGIN_DECLS) && !defined(__END_DECLS)
-+# if defined(__cplusplus)
-+# define __BEGIN_DECLS extern "C" {
-+# define __END_DECLS }
-+# else
-+# define __BEGIN_DECLS
-+# define __END_DECLS
-+# endif
-+#endif
-+
- #include <features.h>
- #include <errno.h>
-