Bug#1023328: Patch for rollup 3

Yadd yadd at debian.org
Wed Nov 2 13:20:49 GMT 2022


Control: tags -1 + patch

Hi,

here is a patch to build with rollup 3. Works also with rollup 2.

Cheers,
Yadd
-------------- next part --------------
diff --git a/debian/patches/2009-fix-for-rollup-3.patch b/debian/patches/2009-fix-for-rollup-3.patch
new file mode 100644
index 0000000..1c1593a
--- /dev/null
+++ b/debian/patches/2009-fix-for-rollup-3.patch
@@ -0,0 +1,19 @@
+Description: fix for rollup 3
+Author: Yadd <yadd at debian.org>
+Bug-Debian: https://bugs.debian.org/1023328
+Forwarded: not-needed
+Last-Update: 2022-10-28
+
+--- a/npm/rollup.config.js
++++ b/npm/rollup.config.js
+@@ -1,7 +1,7 @@
+-import replace from 'rollup-plugin-replace';
+-import * as fs from 'fs';
++const replace = require('rollup-plugin-replace');
++const fs = require('fs');
+ 
+-export default {
++module.exports = {
+     input: 'module.js',
+     output: {
+         name: 'Janus',
diff --git a/debian/patches/series b/debian/patches/series
index b63fb49..8a87b08 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -10,3 +10,4 @@
 2006_avoid_doc_privacy_breach.patch
 2007_use_shared_janus.patch
 2008_avoid_virtualbg.patch
+2009-fix-for-rollup-3.patch


More information about the Pkg-voip-maintainers mailing list