diff options
author | bsiegert <bsiegert@pkgsrc.org> | 2012-12-12 16:37:08 +0000 |
---|---|---|
committer | bsiegert <bsiegert@pkgsrc.org> | 2012-12-12 16:37:08 +0000 |
commit | b1408288fc314e021a7781a4d0477314edbe4a14 (patch) | |
tree | ed77a5eaf9d4200423e11716f87468d1cfd53d11 | |
parent | 177c6e66af04065b9d00670dda80c37ac81c3fc3 (diff) | |
download | pkgsrc-b1408288fc314e021a7781a4d0477314edbe4a14.tar.gz |
Unbreak on {Mir,Openâ}BSD by excluding the use of memalign.
The patch is a horrible way to fix this. The real fix should be a check
for the existence of memalign in the configure script.
-rw-r--r-- | print/ghostscript/distinfo | 4 | ||||
-rw-r--r-- | print/ghostscript/patches/patch-openjpeg_libopenjpeg_opj_malloc_h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/print/ghostscript/distinfo b/print/ghostscript/distinfo index 0f20759d21a..bd5c3ea15ad 100644 --- a/print/ghostscript/distinfo +++ b/print/ghostscript/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.40 2012/10/10 02:18:25 mef Exp $ +$NetBSD: distinfo,v 1.41 2012/12/12 16:37:08 bsiegert Exp $ SHA1 (ghostscript-9.05.tar.bz2) = 1a54a846e90ae95b5307f4f0459d044b9597d8cf RMD160 (ghostscript-9.05.tar.bz2) = 27935f60083b788b2793b19ee42f3663082ba084 @@ -13,4 +13,4 @@ SHA1 (patch-an) = 22ed9965aec5d540adb31334d8dd9e05eab8e0c2 SHA1 (patch-base_gdevpng.c) = 24120e26bd2a846f6d4c8ab9753dfe91f151343f SHA1 (patch-base_gserrors_h) = fde64bd096a6e6f94005c8352a6295df06c19bae SHA1 (patch-configure.ac) = 450053cef6948c638bf8f72cfcba7391edb33600 -SHA1 (patch-openjpeg_libopenjpeg_opj_malloc_h) = 383db0c5909b9d7b33f8da341d82159dbf8594b5 +SHA1 (patch-openjpeg_libopenjpeg_opj_malloc_h) = 4be081d6c4c9bc632ef8d9685fe4167ea3c51484 diff --git a/print/ghostscript/patches/patch-openjpeg_libopenjpeg_opj_malloc_h b/print/ghostscript/patches/patch-openjpeg_libopenjpeg_opj_malloc_h index e1c0914b5ad..573b853483a 100644 --- a/print/ghostscript/patches/patch-openjpeg_libopenjpeg_opj_malloc_h +++ b/print/ghostscript/patches/patch-openjpeg_libopenjpeg_opj_malloc_h @@ -1,4 +1,4 @@ -$NetBSD: patch-openjpeg_libopenjpeg_opj_malloc_h,v 1.1 2012/10/07 14:19:19 mef Exp $ +$NetBSD: patch-openjpeg_libopenjpeg_opj_malloc_h,v 1.2 2012/12/12 16:37:09 bsiegert Exp $ To avoid following problem: | gcc .. (omitted).. g -o ./sobin/gsc ./psi/dxmainc.c \ @@ -13,7 +13,7 @@ To avoid following problem: #define HAVE_MEMALIGN /* Linux x86_64 and OSX always align allocations to 16 bytes */ - #elif !defined(__amd64__) && !defined(__APPLE__) -+ #elif !defined(__amd64__) && !defined(__APPLE__) && !defined(__NetBSD__) && !defined(__DragonFly__) ++ #elif !defined(__amd64__) && !defined(__APPLE__) && !defined(__NetBSD__) && !defined(__DragonFly__) && !defined(__OpenBSD__) #define HAVE_MEMALIGN #include <malloc.h> #endif |