From bf553da79ac877e25850debd734f8b9f1392e952 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Mon, 10 Jan 2011 12:36:41 +0000 Subject: [PATCH] 2011-01-10 13:36 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/3rd/png/Makefile + Added special hack for pocc family of compilers to make it build png 1.5.x. This should be fixed in png code. --- harbour/ChangeLog | 5 +++++ harbour/src/3rd/png/Makefile | 3 +++ 2 files changed, 8 insertions(+) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 030765467c..d7874806d9 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,11 @@ The license applies to all entries newer than 2009-04-28. */ +2011-01-10 13:36 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + * src/3rd/png/Makefile + + Added special hack for pocc family of compilers to make + it build png 1.5.x. This should be fixed in png code. + 2011-01-10 12:02 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/3rd/png/Makefile - Do not set PNG_NO_SETJMP anymore. diff --git a/harbour/src/3rd/png/Makefile b/harbour/src/3rd/png/Makefile index 2a404fdf0e..2c098de36e 100644 --- a/harbour/src/3rd/png/Makefile +++ b/harbour/src/3rd/png/Makefile @@ -50,6 +50,9 @@ ifeq ($(filter $(HB_COMPILER),poccarm xcc),) ifneq ($(filter $(HB_COMPILER),djgpp dmc),) HB_CFLAGS += -DPNG_NO_SNPRINTF endif + ifneq ($(filter $(HB_COMPILER),pocc pocc64 poccarm),) + HB_CFLAGS += -DPNG_ALLOCATED + endif include $(TOP)$(ROOT)config/lib.mk else