aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-05-08 18:54:50 +0800
committerarved <arved@FreeBSD.org>2004-05-08 18:54:50 +0800
commitf8d6ab106f7b0ef7f34c53273060d9c54d1b2dd7 (patch)
tree9ce3df99434b55b95be2e2cce89154655a2c8db1 /devel
parent730ff7566f7d26d6674fe79d0cb14a091120f1e2 (diff)
downloadfreebsd-ports-gnome-f8d6ab106f7b0ef7f34c53273060d9c54d1b2dd7.tar.gz
freebsd-ports-gnome-f8d6ab106f7b0ef7f34c53273060d9c54d1b2dd7.tar.zst
freebsd-ports-gnome-f8d6ab106f7b0ef7f34c53273060d9c54d1b2dd7.zip
Unbreak boehm-gc on 32bit platforms.
Submitted by: Ryan Beasley <ryanb@goddamnbastard.org> pointy hat^2 to: arved
Diffstat (limited to 'devel')
-rw-r--r--devel/boehm-gc/files/patch-dyn_load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/boehm-gc/files/patch-dyn_load.c b/devel/boehm-gc/files/patch-dyn_load.c
index e0f6f0cdadf4..f843bdb93336 100644
--- a/devel/boehm-gc/files/patch-dyn_load.c
+++ b/devel/boehm-gc/files/patch-dyn_load.c
@@ -5,7 +5,7 @@
* define it similarly for any ELF systems that don't. */
# ifndef ElfW
+#ifdef __FreeBSD__
-+#if ELFSIZE == 32
++#if __ELF_WORD_SIZE == 32
+#define ElfW(type) Elf32_##type
+#else
+#define ElfW(type) Elf64_##type