diff --git a/srcpkgs/pulseview/patches/template-c-linkage.patch b/srcpkgs/pulseview/patches/template-c-linkage.patch new file mode 100644 index 0000000000..478ad59c13 --- /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