summaryrefslogtreecommitdiff
path: root/lang/guile2
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2017-02-25 23:32:16 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2017-02-25 23:32:16 +0000
commitbd9737ceb969924a9adbca46146c2f5846e49999 (patch)
tree0cfe6a11822594d57f824838e6d839a3caa920e5 /lang/guile2
parentUpdate to 1.0.0 (diff)
lang/guile2: Update version 2.0.11=>2.0.14 [1]
- Remove upstream-ed diff[1] - fix missing dependency on makeinfo[2] PR: 216841[1] 214892[2] Submitted by: ashish[1] freebsd@skinc.ru[2]
Notes
Notes: svn path=/head/; revision=434843
Diffstat (limited to 'lang/guile2')
-rw-r--r--lang/guile2/Makefile15
-rw-r--r--lang/guile2/distinfo5
-rw-r--r--lang/guile2/files/patch-156119b0223cf14d335ebda84701a69b2ba9575762
-rw-r--r--lang/guile2/files/patch-libguile_____scm.h (renamed from lang/guile2/files/patch-libguile___scm.h)6
-rw-r--r--lang/guile2/files/patch-libguile_filesys.c12
-rw-r--r--lang/guile2/files/patch-libguile_gen-scmconfig.c8
-rw-r--r--lang/guile2/files/patch-libguile_numbers.c6
-rw-r--r--lang/guile2/files/patch-libguile_pthread-threads.h8
-rw-r--r--lang/guile2/pkg-plist9
9 files changed, 43 insertions, 88 deletions
diff --git a/lang/guile2/Makefile b/lang/guile2/Makefile
index 1d13f4ab94dd..176e5802eb8b 100644
--- a/lang/guile2/Makefile
+++ b/lang/guile2/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= guile
-PORTVERSION= 2.0.11
-PORTREVISION= 3
+PORTVERSION= 2.0.14
CATEGORIES= lang scheme
MASTER_SITES= GNU
PKGNAMESUFFIX= 2
@@ -13,18 +12,18 @@ COMMENT= GNU Ubiquitous Intelligent Language for Extension
LICENSE= LGPL21
-BROKEN_powerpc64= Does not build
-
LIB_DEPENDS= libgmp.so:math/gmp \
libltdl.so:devel/libltdl \
libunistring.so:devel/libunistring \
- libffi.so.6:devel/libffi
+ libffi.so:devel/libffi
CONFLICTS_INSTALL= guile-[0-9]*
+BROKEN_powerpc64= Does not build
BROKEN_sparc64= fails to compile: errors in complex.h
-USES= charsetfix gmake libtool ncurses pathfix pkgconfig readline
+USES= charsetfix gmake libtool makeinfo ncurses pathfix pkgconfig \
+ readline
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
@@ -43,8 +42,8 @@ THREADS_LIB_DEPENDS= libgc-threaded.so:devel/boehm-gc-threaded
THREADS_LIB_DEPENDS_OFF= libgc.so:devel/boehm-gc
REINPLACE_FILES= libguile/smob.c libguile/filesys.c libguile/gc.c \
- libguile/mallocs.c libguile/eval.c libguile/gc-malloc.c \
- libguile/ports.c
+ libguile/mallocs.c libguile/eval.c \
+ libguile/gc-malloc.c libguile/ports.c
INFO= guile r5rs
diff --git a/lang/guile2/distinfo b/lang/guile2/distinfo
index f1012251bfc8..b2490986ea9b 100644
--- a/lang/guile2/distinfo
+++ b/lang/guile2/distinfo
@@ -1,2 +1,3 @@
-SHA256 (guile-2.0.11.tar.gz) = e6786c934346fa2e38e46d8d81a622bb1c16d130153523f6129fcd79ef1fb040
-SIZE (guile-2.0.11.tar.gz) = 7516053
+TIMESTAMP = 1487980204
+SHA256 (guile-2.0.14.tar.gz) = 8aeb2f353881282fe01694cce76bb72f7ffdd296a12c7a1a39255c27b0dfe5f1
+SIZE (guile-2.0.14.tar.gz) = 7823099
diff --git a/lang/guile2/files/patch-156119b0223cf14d335ebda84701a69b2ba95757 b/lang/guile2/files/patch-156119b0223cf14d335ebda84701a69b2ba95757
deleted file mode 100644
index 8283463ad489..000000000000
--- a/lang/guile2/files/patch-156119b0223cf14d335ebda84701a69b2ba95757
+++ /dev/null
@@ -1,62 +0,0 @@
-From 156119b0223cf14d335ebda84701a69b2ba95757 Mon Sep 17 00:00:00 2001
-From: Mark H Weaver <mhw@netris.org>
-Date: Sat, 20 Sep 2014 03:49:46 -0400
-Subject: [PATCH] Do not assume that 64-bit integers will be 64-bit aligned.
-
-* libguile/foreign.c (raw_bytecode, objcode_cells):
-* libguile/gsubr.c (raw_bytecode, objcode_cells): Use SCM_ALIGNED to
- ensure 64-bit alignment.
-
---- libguile/foreign.c.orig 2014-01-21 21:20:53 UTC
-+++ libguile/foreign.c
-@@ -1,4 +1,4 @@
--/* Copyright (C) 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
-+/* Copyright (C) 2010-2014 Free Software Foundation, Inc.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public License
-@@ -814,7 +814,7 @@ SCM_DEFINE (scm_pointer_to_procedure, "p
-
- static const struct
- {
-- scm_t_uint64 dummy; /* ensure 8-byte alignment; perhaps there's a better way */
-+ SCM_ALIGNED (8) scm_t_uint64 dummy; /* alignment */
- const scm_t_uint8 bytes[10 * (sizeof (struct scm_objcode) + 8
- + sizeof (struct scm_objcode) + 32)];
- } raw_bytecode = {
-@@ -867,7 +867,7 @@ make_objcode_trampoline (unsigned int na
-
- static const struct
- {
-- scm_t_uint64 dummy; /* alignment */
-+ SCM_ALIGNED (8) scm_t_uint64 dummy; /* alignment */
- scm_t_cell cells[10 * 2]; /* 10 double cells */
- } objcode_cells = {
- 0,
---- libguile/gsubr.c.orig 2012-07-02 09:28:13 UTC
-+++ libguile/gsubr.c
-@@ -1,4 +1,5 @@
--/* Copyright (C) 1995,1996,1997,1998,1999,2000,2001, 2006, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
-+/* Copyright (C) 1995-2001, 2006, 2008-2011,
-+ * 2014 Free Software Foundation, Inc.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public License
-@@ -213,7 +214,7 @@
- */
- static const struct
- {
-- scm_t_uint64 dummy; /* ensure 8-byte alignment; perhaps there's a better way */
-+ SCM_ALIGNED (8) scm_t_uint64 dummy; /* alignment */
- const scm_t_uint8 bytes[121 * (sizeof (struct scm_objcode) + 16
- + sizeof (struct scm_objcode) + 32)];
- } raw_bytecode = {
-@@ -317,7 +318,7 @@ static const struct
-
- static const struct
- {
-- scm_t_uint64 dummy; /* alignment */
-+ SCM_ALIGNED (8) scm_t_uint64 dummy; /* alignment */
- scm_t_cell cells[121 * 2]; /* 11*11 double cells */
- } objcode_cells = {
- 0,
diff --git a/lang/guile2/files/patch-libguile___scm.h b/lang/guile2/files/patch-libguile_____scm.h
index fb370d5b8f74..1c5f854843e5 100644
--- a/lang/guile2/files/patch-libguile___scm.h
+++ b/lang/guile2/files/patch-libguile_____scm.h
@@ -1,6 +1,6 @@
---- libguile/__scm.h 2008-02-23 18:14:28.106264450 -0600
-+++ libguile/__scm.h 2008-02-23 18:15:41.306005478 -0600
-@@ -544,7 +544,8 @@
+--- libguile/__scm.h.orig 2014-01-21 21:25:11 UTC
++++ libguile/__scm.h
+@@ -544,7 +544,8 @@ typedef void *scm_t_subr;
* that all the state of the process is contained in the stack.
*/
diff --git a/lang/guile2/files/patch-libguile_filesys.c b/lang/guile2/files/patch-libguile_filesys.c
new file mode 100644
index 000000000000..135030ac6257
--- /dev/null
+++ b/lang/guile2/files/patch-libguile_filesys.c
@@ -0,0 +1,12 @@
+--- libguile/filesys.c.orig 2017-02-06 04:37:29 UTC
++++ libguile/filesys.c
+@@ -1486,6 +1486,9 @@ SCM_DEFINE (scm_i_mkstemp, "mkstemp!", 1
+ mode_bits = scm_i_mode_bits (mode);
+ }
+
++#ifdef __FreeBSD__
++ open_flags &= O_APPEND | O_DIRECT | O_SHLOCK | O_EXLOCK | O_CLOEXEC;
++#endif
+ SCM_SYSCALL (rv = mkostemp (c_tmpl, open_flags));
+ if (rv == -1)
+ SCM_SYSERROR;
diff --git a/lang/guile2/files/patch-libguile_gen-scmconfig.c b/lang/guile2/files/patch-libguile_gen-scmconfig.c
index f2b35b8d5934..15879ac9ecd2 100644
--- a/lang/guile2/files/patch-libguile_gen-scmconfig.c
+++ b/lang/guile2/files/patch-libguile_gen-scmconfig.c
@@ -1,8 +1,8 @@
---- libguile/gen-scmconfig.c 2008-02-23 21:38:39.310330888 -0600
-+++ libguile/gen-scmconfig.c 2008-02-23 21:39:32.909873567 -0600
-@@ -123,6 +123,7 @@
+--- libguile/gen-scmconfig.c.orig 2014-03-16 22:43:13 UTC
++++ libguile/gen-scmconfig.c
+@@ -138,6 +138,7 @@
- #include "gen-scmconfig.h"
+ #include <libguile/gen-scmconfig.h>
+#define _ANSI_SOURCE
#include <stdio.h>
diff --git a/lang/guile2/files/patch-libguile_numbers.c b/lang/guile2/files/patch-libguile_numbers.c
index 5b36c7f11ef3..ea13cc1c21c3 100644
--- a/lang/guile2/files/patch-libguile_numbers.c
+++ b/lang/guile2/files/patch-libguile_numbers.c
@@ -1,6 +1,6 @@
---- libguile/numbers.c 2008-07-09 14:50:22.000000000 +0800
-+++ libguile/numbers.c 2008-07-09 14:53:05.000000000 +0800
-@@ -183,7 +183,7 @@
+--- libguile/numbers.c.orig 2014-03-12 13:24:54 UTC
++++ libguile/numbers.c
+@@ -183,7 +183,7 @@ static double atanh (double x) { return
#if defined (GUILE_I)
diff --git a/lang/guile2/files/patch-libguile_pthread-threads.h b/lang/guile2/files/patch-libguile_pthread-threads.h
index 42f5934bb506..97eb6e8d8779 100644
--- a/lang/guile2/files/patch-libguile_pthread-threads.h
+++ b/lang/guile2/files/patch-libguile_pthread-threads.h
@@ -1,6 +1,6 @@
---- libguile/pthread-threads.h 2008-02-27 10:31:41.564950412 -0600
-+++ libguile/pthread-threads.h 2008-02-27 10:36:08.383652510 -0600
-@@ -26,6 +26,9 @@
+--- libguile/pthread-threads.h.orig 2012-07-02 09:28:13 UTC
++++ libguile/pthread-threads.h
+@@ -27,6 +27,9 @@
*/
#include <pthread.h>
@@ -9,4 +9,4 @@
+#endif
#include <sched.h>
- /* Threads
+ /* `libgc' defines wrapper procedures for pthread calls. */
diff --git a/lang/guile2/pkg-plist b/lang/guile2/pkg-plist
index 79d340640338..08be2ff75934 100644
--- a/lang/guile2/pkg-plist
+++ b/lang/guile2/pkg-plist
@@ -113,6 +113,7 @@ include/guile/%%GUILE_VER%%/libguile/tags.h
include/guile/%%GUILE_VER%%/libguile/threads.h
include/guile/%%GUILE_VER%%/libguile/throw.h
include/guile/%%GUILE_VER%%/libguile/trees.h
+include/guile/%%GUILE_VER%%/libguile/unicode.h
include/guile/%%GUILE_VER%%/libguile/uniform.h
include/guile/%%GUILE_VER%%/libguile/validate.h
include/guile/%%GUILE_VER%%/libguile/values.h
@@ -127,8 +128,8 @@ include/guile/%%GUILE_VER%%/libguile/weaks.h
lib/libguile-%%GUILE_VER%%.a
lib/libguile-%%GUILE_VER%%.so
lib/libguile-%%GUILE_VER%%.so.22
-lib/libguile-%%GUILE_VER%%.so.22.7.2
-lib/libguile-%%GUILE_VER%%.so.22.7.2-gdb.scm
+lib/libguile-%%GUILE_VER%%.so.22.8.1
+lib/libguile-%%GUILE_VER%%.so.22.8.1-gdb.scm
lib/libguilereadline-v-18.a
lib/libguilereadline-v-18.so
lib/libguilereadline-v-18.so.18
@@ -201,6 +202,7 @@ lib/guile/%%GUILE_VER%%/ccache/ice-9/syncase.go
lib/guile/%%GUILE_VER%%/ccache/ice-9/threads.go
lib/guile/%%GUILE_VER%%/ccache/ice-9/time.go
lib/guile/%%GUILE_VER%%/ccache/ice-9/top-repl.go
+lib/guile/%%GUILE_VER%%/ccache/ice-9/unicode.go
lib/guile/%%GUILE_VER%%/ccache/ice-9/vlist.go
lib/guile/%%GUILE_VER%%/ccache/ice-9/weak-vector.go
lib/guile/%%GUILE_VER%%/ccache/language/assembly.go
@@ -322,6 +324,7 @@ lib/guile/%%GUILE_VER%%/ccache/srfi/srfi-19.go
lib/guile/%%GUILE_VER%%/ccache/srfi/srfi-2.go
lib/guile/%%GUILE_VER%%/ccache/srfi/srfi-26.go
lib/guile/%%GUILE_VER%%/ccache/srfi/srfi-27.go
+lib/guile/%%GUILE_VER%%/ccache/srfi/srfi-28.go
lib/guile/%%GUILE_VER%%/ccache/srfi/srfi-31.go
lib/guile/%%GUILE_VER%%/ccache/srfi/srfi-34.go
lib/guile/%%GUILE_VER%%/ccache/srfi/srfi-35.go
@@ -470,6 +473,7 @@ share/aclocal/guile.m4
%%DATADIR%%/%%GUILE_VER%%/ice-9/threads.scm
%%DATADIR%%/%%GUILE_VER%%/ice-9/time.scm
%%DATADIR%%/%%GUILE_VER%%/ice-9/top-repl.scm
+%%DATADIR%%/%%GUILE_VER%%/ice-9/unicode.scm
%%DATADIR%%/%%GUILE_VER%%/ice-9/vlist.scm
%%DATADIR%%/%%GUILE_VER%%/ice-9/weak-vector.scm
%%DATADIR%%/%%GUILE_VER%%/language/assembly.scm
@@ -591,6 +595,7 @@ share/aclocal/guile.m4
%%DATADIR%%/%%GUILE_VER%%/srfi/srfi-2.scm
%%DATADIR%%/%%GUILE_VER%%/srfi/srfi-26.scm
%%DATADIR%%/%%GUILE_VER%%/srfi/srfi-27.scm
+%%DATADIR%%/%%GUILE_VER%%/srfi/srfi-28.scm
%%DATADIR%%/%%GUILE_VER%%/srfi/srfi-31.scm
%%DATADIR%%/%%GUILE_VER%%/srfi/srfi-34.scm
%%DATADIR%%/%%GUILE_VER%%/srfi/srfi-35.scm