ports/157401: port update octave-forge-nan
Stephen Montgomery-Smith
stephen at missouri.edu
Sun May 29 20:40:04 UTC 2011
>Number: 157401
>Category: ports
>Synopsis: port update octave-forge-nan
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sun May 29 20:40:03 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Stephen Montgomery-Smith
>Release: FreeBSD 8.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD wilberforce 8.2-STABLE FreeBSD 8.2-STABLE #0: Sat May 28 10:38:33 CDT 2011 stephen at wilberforce:/usr/obj/usr/src/sys/GENERIC i386
>Description:
port update octave-forge-nan
>How-To-Repeat:
>Fix:
This includes a new file files/patch-xptopen.cpp
diff -urN /usr/ports/math/octave-forge-nan/Makefile octave-forge-nan/Makefile
--- /usr/ports/math/octave-forge-nan/Makefile 2010-06-02 16:23:45.000000000 +0000
+++ octave-forge-nan/Makefile 2011-05-29 20:17:53.000000000 +0000
@@ -6,14 +6,20 @@
#
PORTNAME= octave-forge-nan
-PORTVERSION= 1.0.9
-PORTREVISION= 3
+PORTVERSION= 2.4.4
CATEGORIES= math
MAINTAINER= stephen at missouri.edu
COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
-GNU_CONFIGURE= yes
+
+WRKSRC= ${WRKDIR}/NaN/src
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/Mk/bsd.octave.mk"
+
+ALL_TARGET= octave
+
+post-build:
+ cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz NaN
+
.include <bsd.port.post.mk>
diff -urN /usr/ports/math/octave-forge-nan/distinfo octave-forge-nan/distinfo
--- /usr/ports/math/octave-forge-nan/distinfo 2011-03-20 19:53:15.000000000 +0000
+++ octave-forge-nan/distinfo 2011-05-27 22:52:05.000000000 +0000
@@ -1,2 +1,2 @@
-SHA256 (octave-forge/nan-1.0.9.tar.gz) = 4b8c8d8c1e3418dc1b60ec1e7f7ac22df5a5347890e6764c841c85313b11548a
-SIZE (octave-forge/nan-1.0.9.tar.gz) = 80145
+SHA256 (octave-forge/nan-2.4.4.tar.gz) = e0f0969b334134df8147b315970bf4e07b069d82bedaa5eeb497a633710b695a
+SIZE (octave-forge/nan-2.4.4.tar.gz) = 1021577
diff -urN /usr/ports/math/octave-forge-nan/files/patch-xptopen.cpp octave-forge-nan/files/patch-xptopen.cpp
--- /usr/ports/math/octave-forge-nan/files/patch-xptopen.cpp 1970-01-01 00:00:00.000000000 +0000
+++ octave-forge-nan/files/patch-xptopen.cpp 2011-05-27 23:35:25.000000000 +0000
@@ -0,0 +1,17 @@
+--- xptopen.cpp-orig 2011-05-27 18:23:08.000000000 -0500
++++ xptopen.cpp 2011-05-27 18:34:19.000000000 -0500
+@@ -77,6 +77,14 @@
+ #include <byteswap.h>
+ #endif
+
++#include <sys/param.h>
++#if (defined(BSD) && (BSD >= 199103))
++#include <machine/endian.h>
++#define __BIG_ENDIAN _BIG_ENDIAN
++#define __LITTLE_ENDIAN _LITTLE_ENDIAN
++#define __BYTE_ORDER _BYTE_ORDER
++#endif
++
+ #ifdef _WIN32
+ #define __LITTLE_ENDIAN 1234
+ #define __BIG_ENDIAN 4321
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list