diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2013-04-20 16:01:55 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2013-04-20 16:01:55 +0000 |
commit | 9a7054d15f8b05bdf17bba5d7b33b80accc0fe0b (patch) | |
tree | 10dadacee55e5c07137ff153cd292b4a1571c1b8 /graphics/jasper | |
parent | ebdd9a6562ef8cc0a9e2da04691eac0afc4d19bb (diff) | |
download | ports-9a7054d15f8b05bdf17bba5d7b33b80accc0fe0b.tar.gz ports-9a7054d15f8b05bdf17bba5d7b33b80accc0fe0b.zip |
Notes
Diffstat (limited to 'graphics/jasper')
-rw-r--r-- | graphics/jasper/Makefile | 2 | ||||
-rw-r--r-- | graphics/jasper/files/patch-jpc_cs.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/graphics/jasper/Makefile b/graphics/jasper/Makefile index 7ed99360ac71..94fc915a7534 100644 --- a/graphics/jasper/Makefile +++ b/graphics/jasper/Makefile @@ -3,7 +3,7 @@ PORTNAME= jasper PORTVERSION= 1.900.1 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= graphics MASTER_SITES= http://www.ece.uvic.ca/~mdadams/jasper/software/ \ ${MASTER_SITE_IMAGEMAGICK} diff --git a/graphics/jasper/files/patch-jpc_cs.c b/graphics/jasper/files/patch-jpc_cs.c index 08f86e1b6f47..89903070c06a 100644 --- a/graphics/jasper/files/patch-jpc_cs.c +++ b/graphics/jasper/files/patch-jpc_cs.c @@ -75,7 +75,7 @@ uint_fast16_t compno; crg->numcomps = cstate->numcomps; - if (!(crg->comps = jas_malloc(cstate->numcomps * sizeof(uint_fast16_t)))) { -+ if (!(crg->comps = jas_malloc2(cstate->numcomps, sizeof(uint_fast16_t)))) { ++ if (!(crg->comps = jas_malloc2(cstate->numcomps, sizeof(jpc_crgcomp_t)))) { return -1; } for (compno = 0, comp = crg->comps; compno < cstate->numcomps; |