diff options
author | miwi <miwi@FreeBSD.org> | 2013-02-08 16:24:18 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2013-02-08 16:24:18 +0800 |
commit | 62cf772282dcaff934119eda11c05443d1df0e9c (patch) | |
tree | 84e7d1b02efc2b06b6417d526dc47010459a6efb /lang/polyml | |
parent | bd559d2b1a52f30512291acf28cd081b75ced0c0 (diff) | |
download | freebsd-ports-gnome-62cf772282dcaff934119eda11c05443d1df0e9c.tar.gz freebsd-ports-gnome-62cf772282dcaff934119eda11c05443d1df0e9c.tar.zst freebsd-ports-gnome-62cf772282dcaff934119eda11c05443d1df0e9c.zip |
- Fix a segfault on startup
- While here trim header
PR: ports/173446
Submitted by: Imre Vadasz <imre@vdsz.com>
Approved by: maintainer
Diffstat (limited to 'lang/polyml')
-rw-r--r-- | lang/polyml/Makefile | 7 | ||||
-rw-r--r-- | lang/polyml/files/patch-elfexport.h | 11 |
2 files changed, 13 insertions, 5 deletions
diff --git a/lang/polyml/Makefile b/lang/polyml/Makefile index b00ceb84da78..dea433bcc970 100644 --- a/lang/polyml/Makefile +++ b/lang/polyml/Makefile @@ -1,12 +1,9 @@ -# New ports collection makefile for: polyml -# Date created: 09 July 2005 -# Whom: Timothy Bourke <timbob@bigpond.com> -# +# Created by: Timothy Bourke <timbob@bigpond.com> # $FreeBSD$ -# PORTNAME= polyml PORTVERSION= 5.4.1 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= SF DISTNAME= ${PORTNAME}.${PORTVERSION} diff --git a/lang/polyml/files/patch-elfexport.h b/lang/polyml/files/patch-elfexport.h new file mode 100644 index 000000000000..e111f2f7326d --- /dev/null +++ b/lang/polyml/files/patch-elfexport.h @@ -0,0 +1,11 @@ +--- libpolyml/elfexport.h.orgi 2013-02-08 16:01:09.000000000 +0800 ++++ libpolyml/elfexport.h 2013-02-08 16:01:43.000000000 +0800 +@@ -37,7 +37,7 @@ + #define ElfXX_Sym Elf64_Sym + #define ElfXX_Ehdr Elf64_Ehdr + #define ElfXX_Shdr Elf64_Shdr +-#define ELFXX_R_INFO(_y, _z) ELF64_R_INFO(_y, _z) ++#define ELFXX_R_INFO(_y, _z) ELF64_R_INFO((Elf64_Xword)(_y), _z) + #define ELFXX_ST_INFO(_y, _z) ELF64_ST_INFO(_y, _z) + #define ELFCLASSXX ELFCLASS64 + #else |