forked from Lainports/freebsd-ports
- Mark DEPRECATED as the last release was in 2008. There is a newer fork
in the tree games/prboom-plus.
- Remove LIB_DEPENDS to smpeg as it was removed and there is no src
pertaining to smpeg in the src tree
- Set EXPIRATION_DATE 2025-01-29
- Pet port{clippy|fmt}
- Refresh patches
Approved by: portmgr (blanket)
20 lines
598 B
C
20 lines
598 B
C
--- src/SDL/i_sshot.c.orig 2008-10-18 13:32:29 UTC
|
|
+++ src/SDL/i_sshot.c
|
|
@@ -231,7 +231,7 @@ int I_ScreenShot (const char *fname)
|
|
if (fp)
|
|
{
|
|
png_struct *png_ptr = png_create_write_struct(
|
|
- PNG_LIBPNG_VER_STRING, png_error_ptr_NULL, error_fn, warning_fn);
|
|
+ PNG_LIBPNG_VER_STRING, NULL, error_fn, warning_fn);
|
|
|
|
if (png_ptr)
|
|
{
|
|
@@ -279,7 +279,7 @@ int I_ScreenShot (const char *fname)
|
|
break;
|
|
}
|
|
}
|
|
- png_destroy_write_struct(&png_ptr, png_infopp_NULL);
|
|
+ png_destroy_write_struct(&png_ptr, NULL);
|
|
}
|
|
fclose(fp);
|
|
}
|