summaryrefslogtreecommitdiff
path: root/experimental/elfutils/musl-cdefs.patch
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2019-07-18 06:15:43 -0400
committerMax Rees <maxcrees@me.com>2019-08-07 18:07:49 -0500
commit420a64fe15922629a54e7d38cdedbf1fc86ee8ff (patch)
tree2b526e9b9426734eff19ca295dd42a91f37811a1 /experimental/elfutils/musl-cdefs.patch
parent17ca3641eaad94f05d1c9f66593c67e425268050 (diff)
downloadpackages-420a64fe15922629a54e7d38cdedbf1fc86ee8ff.tar.gz
packages-420a64fe15922629a54e7d38cdedbf1fc86ee8ff.tar.bz2
packages-420a64fe15922629a54e7d38cdedbf1fc86ee8ff.tar.xz
packages-420a64fe15922629a54e7d38cdedbf1fc86ee8ff.zip
experimental/elfutils: new package
Diffstat (limited to 'experimental/elfutils/musl-cdefs.patch')
-rw-r--r--experimental/elfutils/musl-cdefs.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/experimental/elfutils/musl-cdefs.patch b/experimental/elfutils/musl-cdefs.patch
new file mode 100644
index 000000000..b74561f46
--- /dev/null
+++ b/experimental/elfutils/musl-cdefs.patch
@@ -0,0 +1,23 @@
+--- elfutils-0.176/libelf/elf.h 2019-02-15 10:46:47.000000000 -0500
++++ elfutils-0.176/libelf/elf.h 2019-07-18 01:52:14.789891340 -0400
+@@ -21,7 +21,9 @@
+
+ #include <features.h>
+
+-__BEGIN_DECLS
++#ifdef __cplusplus
++extern "C" {
++#endif
+
+ /* Standard ELF types. */
+
+@@ -3915,6 +3917,8 @@ enum
+ #define R_METAG_TLS_LE_HI16 60
+ #define R_METAG_TLS_LE_LO16 61
+
+-__END_DECLS
++#ifdef __cplusplus
++}
++#endif
+
+ #endif /* elf.h */