Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Feb 2013 08:24:18 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r311918 - in head/lang/polyml: . files
Message-ID:  <201302080824.r188OIvF011502@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Fri Feb  8 08:24:18 2013
New Revision: 311918
URL: http://svnweb.freebsd.org/changeset/ports/311918

Log:
  - Fix a segfault on startup
  - While here trim header
  
  PR:		ports/173446
  Submitted by:	Imre Vadasz <imre@vdsz.com>
  Approved by:	maintainer

Added:
  head/lang/polyml/files/
  head/lang/polyml/files/patch-elfexport.h   (contents, props changed)
Modified:
  head/lang/polyml/Makefile   (contents, props changed)

Modified: head/lang/polyml/Makefile
==============================================================================
--- head/lang/polyml/Makefile	Fri Feb  8 08:10:15 2013	(r311917)
+++ head/lang/polyml/Makefile	Fri Feb  8 08:24:18 2013	(r311918)
@@ -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}

Added: head/lang/polyml/files/patch-elfexport.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/polyml/files/patch-elfexport.h	Fri Feb  8 08:24:18 2013	(r311918)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302080824.r188OIvF011502>