diff options
-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 |