[SCM] pd-lua/master: Removed patches applied upstream
umlaeute at users.alioth.debian.org
umlaeute at users.alioth.debian.org
Sun Jan 24 21:29:57 UTC 2016
The following commit has been merged in the master branch:
commit 3bde8ac8fcaffa12267ca49770e66225e1726514
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date: Sun Jan 24 22:00:01 2016 +0100
Removed patches applied upstream
diff --git a/debian/patches/series b/debian/patches/series
index c389f14..e69de29 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +0,0 @@
-update_to_lua52.patch
diff --git a/debian/patches/update_to_lua52.patch b/debian/patches/update_to_lua52.patch
deleted file mode 100644
index 35afeab..0000000
--- a/debian/patches/update_to_lua52.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-Description: lua5.2 compat
- the lua-scripts here use table.getn(foo) which has been removed in
- lua5.2 in favour of "#foo"
-Author: IOhannes m zmölnig
-Last-Update: 2014-07-21
----
-This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---- pd-lua.orig/examples/list-pak.pd_lua
-+++ pd-lua/examples/list-pak.pd_lua
-@@ -48,7 +48,7 @@
- -- insert selector
- self.stored[i] = sel
- else
-- if table.getn(atoms) > 0 then
-+ if #atoms > 0 then
- self.stored[i] = atoms[1]
- end
- end
---- pd-lua.orig/examples/list-unpack.pd_lua
-+++ pd-lua/examples/list-unpack.pd_lua
-@@ -50,7 +50,7 @@
- -- also unpack selector of anythings
- table.insert(atoms, 1, sel)
- end
-- local size = math.min(self.outlets, table.getn(atoms))
-+ local size = math.min(self.outlets, #atoms)
- for i=size, 1, -1 do
- self:Outlet(i, atoms[i])
- end
---- pd-lua.orig/examples/peekbag.pd_lua
-+++ pd-lua/examples/peekbag.pd_lua
-@@ -14,7 +14,7 @@
- if self.add then
- table.insert(self.bag, f)
- else
-- for i=table.getn(self.bag),1,-1 do
-+ for i=#self.bag,1,-1 do
- if self.bag[i]==f then
- table.remove(self.bag, i)
- break
-@@ -59,9 +59,9 @@
-
- function PeekBag:in_1_aslist()
- -- print all values of array as list
-- if table.getn(self.bag) == 1 then
-+ if #self.bag == 1 then
- self:outlet(1, "float", {self.bag[1]})
-- elseif table.getn(self.bag) > 1 then
-+ elseif #self.bag > 1 then
- self:outlet(1, "list", self.bag)
- end
- end
--
pd-lua packaging
More information about the pkg-multimedia-commits
mailing list