diff options
Diffstat (limited to '')
-rw-r--r-- | astro/pngphoon/files/patch-moon.c | 11 | ||||
-rw-r--r-- | astro/pngphoon/files/patch-tws.h | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/astro/pngphoon/files/patch-moon.c b/astro/pngphoon/files/patch-moon.c new file mode 100644 index 000000000000..9fdf5936475c --- /dev/null +++ b/astro/pngphoon/files/patch-moon.c @@ -0,0 +1,11 @@ +--- moon.c.orig 2025-07-18 07:32:17 UTC ++++ moon.c +@@ -148,7 +148,7 @@ void mooncopy( image_t *image, moon_t *moondata, int c + moonoff = y * ( moondata->width ) / 8; + imageoff = (y + yoffset) * image->xbytes + xoffset / 8; + +- shade = blackflag ? shade = 0xff : shades[shadeindex][y % 8]; ++ shade = blackflag ? 0xff : shades[shadeindex][y % 8]; + + /* finally, hack the bits */ + if( bytexleft == bytexright ) diff --git a/astro/pngphoon/files/patch-tws.h b/astro/pngphoon/files/patch-tws.h new file mode 100644 index 000000000000..e4e6e992dfe8 --- /dev/null +++ b/astro/pngphoon/files/patch-tws.h @@ -0,0 +1,11 @@ +--- tws.h.orig 2025-07-18 07:31:08 UTC ++++ tws.h +@@ -33,7 +33,7 @@ struct tws + + /* Declarations of routines. */ + +-struct tws *dlocaltime( ); ++struct tws *dlocaltime( long * ); + /* dlocaltime( &clock ) turns a time(3) clock value into a tws */ + + struct tws *dtwstime( ); |