From 1f75bfe7fa07a7be2df8a7c2d08982b6519aef70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Wed, 12 Jan 2022 16:48:43 +0700 Subject: [PATCH] pulseview: fix build --- .../patches/template-c-linkage.patch | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 srcpkgs/pulseview/patches/template-c-linkage.patch diff --git a/srcpkgs/pulseview/patches/template-c-linkage.patch b/srcpkgs/pulseview/patches/template-c-linkage.patch new file mode 100644 index 00000000000..478ad59c138 --- /dev/null +++ b/srcpkgs/pulseview/patches/template-c-linkage.patch @@ -0,0 +1,28 @@ +Index: pulseview-0.4.2/pv/data/decode/annotation.cpp +=================================================================== +--- pulseview-0.4.2.orig/pv/data/decode/annotation.cpp ++++ pulseview-0.4.2/pv/data/decode/annotation.cpp +@@ -17,9 +17,7 @@ + * along with this program; if not, see . + */ + +-extern "C" { + #include +-} + + #include + #include +Index: pulseview-0.4.2/pv/views/trace/decodetrace.cpp +=================================================================== +--- pulseview-0.4.2.orig/pv/views/trace/decodetrace.cpp ++++ pulseview-0.4.2/pv/views/trace/decodetrace.cpp +@@ -17,9 +17,7 @@ + * along with this program; if not, see . + */ + +-extern "C" { + #include +-} + + #include + #include