freebsd-ports/graphics/libimg/files/patch-png
Mikhail Teterin 662c5efd2f Upgrade from 1.4.2 to 1.4.6. Respect EXAMPLES-option, add
license-definition and define TEST_TARGET.

Reported by:	trasz
2016-07-12 17:43:54 +00:00

20 lines
444 B
Text

--- png/png.c 2013-11-21 17:03:12.000000000 -0500
+++ png/png.c 2014-06-09 13:57:22.000000000 -0400
@@ -36,7 +36,8 @@
*/
-#include "pngtcl.h"
+#include <png.h>
#include <string.h>
#include <stdlib.h>
+#include <tcl.h>
static int SetupPngLibrary(Tcl_Interp *interp);
@@ -171,7 +172,4 @@
Tcl_Interp *interp;
{
- if (Pngtcl_InitStubs(interp, PNGTCL_VERSION, 0) == NULL) {
- return TCL_ERROR;
- }
return TCL_OK;
}