aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2013-02-08 08:24:18 +0000
committerMartin Wilke <miwi@FreeBSD.org>2013-02-08 08:24:18 +0000
commit3281c9daf4ab53cb6e656c82ed3a1319175c67b2 (patch)
tree84e7d1b02efc2b06b6417d526dc47010459a6efb /lang
parent8be7ad3deebe695a7342dac795cb71582c162f93 (diff)
downloadports-3281c9daf4ab53cb6e656c82ed3a1319175c67b2.tar.gz
ports-3281c9daf4ab53cb6e656c82ed3a1319175c67b2.zip
Notes
Diffstat (limited to 'lang')
-rw-r--r--lang/polyml/Makefile7
-rw-r--r--lang/polyml/files/patch-elfexport.h11
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