sys-fs/jefferson: remove unused patches

Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
David Roman
2025-09-01 11:20:44 +02:00
parent 23d100c5e9
commit c6f9c1a317

View File

@@ -1,22 +0,0 @@
diff --git a/jefferson/jffs2.py b/jefferson/jffs2.py
index ab1ac8f..1607bdc 100644
--- a/jefferson/jffs2.py
+++ b/jefferson/jffs2.py
@@ -9,7 +9,7 @@ import zlib
from pathlib import Path
import cstruct
-from lzallright import LZOCompressor as lzo
+import lzo
import jefferson.compression.jffs2_lzma as jffs2_lzma
import jefferson.compression.rtime as rtime
@@ -180,7 +180,7 @@ class Jffs2_raw_inode(cstruct.CStruct):
elif self.compr == JFFS2_COMPR_LZMA:
self.data = jffs2_lzma.decompress(node_data, self.dsize)
elif self.compr == JFFS2_COMPR_LZO:
- self.data = lzo.decompress(node_data)
+ self.data = lzo.decompress(node_data, False, self.dsize)
else:
print("compression not implemented", self)
print(node_data.hex()[:20])