meta-wayland/recipes-graphics/aalib/aalib/aalib-free-offset-pointer.patch
Gyorgy Sarvari 072773720e aalib: update SRC_URI and add Upstream-Status header to patches
Original SRC_URI stopped working.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
2025-03-27 09:36:04 +01:00

16 lines
471 B
Diff

Upstream-Status: Inactive-Upstream [last project activity in 2001]
--- a/src/aarender.c
+++ b/src/aarender.c
@@ -63,10 +63,10 @@ void aa_renderpalette(aa_context * c, __
errors[0] = calloc(1, (x2 + 5) * sizeof(int));
if (errors[0] == NULL)
dither = AA_ERRORDISTRIB;
- errors[0] += 3;
errors[1] = calloc(1, (x2 + 5) * sizeof(int));
if (errors[1] == NULL)
free(errors[0]), dither = AA_ERRORDISTRIB;
+ errors[0] += 3;
errors[1] += 3;
cur = 0;
}