diff --git a/recipe/Makefile.vc b/recipe/Makefile.vc index 1579934..f2f37f0 100644 --- a/recipe/Makefile.vc +++ b/recipe/Makefile.vc @@ -141,6 +141,7 @@ CFLAGS= $(CFLAGS) \ /DHAVE_LIBZ=1\ /DHAVE_LIBXPM=1\ /DHAVE_LIBTIFF=1\ + /DHAVE_CONFIG_H\ $(INCLUDES) TEST_CFLAGS=$(CFLAGS) @@ -211,6 +212,8 @@ make_dirs: @echo #ifndef HAVE_LIBTIFF>> $(GD_CONFIG_H) @echo #define HAVE_LIBTIFF>> $(GD_CONFIG_H) @echo #endif>> $(GD_CONFIG_H) + @echo #define ssize_t SSIZE_T>> $(GD_CONFIG_H) + @echo #define SSIZE_MAX MAXSSIZE_T>> $(GD_CONFIG_H) run_tests: pretest @cd $(TDR) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index ce6f718..365a8f1 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,4 +1,4 @@ -{% set version = "2.3.0" %} +{% set version = "2.3.2" %} package: name: libgd @@ -8,7 +8,7 @@ source: # direct source -- needs to have autoconf, etc run. # but this seems to work better than using straight ./configure with the released code url: https://github.com/libgd/libgd/archive/gd-{{ version }}.tar.gz - sha256: a77dfbbf8bfa7f19c935c11f3b939321f8c1059953a91203158cb2dbf27a0f9e + sha256: dcc22244d775f469bee21dce1ea42552adbb72ba0cc423f9fa6a64601b3a1893 # the release tarball: but does not include getlib.sh # url: https://github.com/libgd/libgd/releases/download/gd-{{ version }}/libgd-{{ version }}.tar.gz # sha256: 32590e361a1ea6c93915d2448ab0041792c11bae7b18ee812514fe08b2c6a342 @@ -18,7 +18,7 @@ source: build: #skip: True # [win] - number: 2 + number: 0 run_exports: # https://abi-laboratory.pro/?view=timeline&l=libgd - {{ pin_subpackage('libgd', max_pin='x.x') }} @@ -63,11 +63,11 @@ test: - test -f $PREFIX/lib/libgd${SHLIB_EXT} # [not win] about: - home: http://libgd.github.io/ - summary: Library for the dynamic creation of images - license: GD - license_family: BSD - license_file: COPYING + home: http://libgd.github.io/ + summary: Library for the dynamic creation of images + license: GD + license_family: BSD + license_file: COPYING extra: recipe-maintainers: