From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Aug 24 18:50:29 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26A45106567F for ; Wed, 24 Aug 2011 18:50:29 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 050518FC1B for ; Wed, 24 Aug 2011 18:50:29 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p7OIoS72013268 for ; Wed, 24 Aug 2011 18:50:28 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p7OIoSj4013262; Wed, 24 Aug 2011 18:50:28 GMT (envelope-from gnats) Resent-Date: Wed, 24 Aug 2011 18:50:28 GMT Resent-Message-Id: <201108241850.p7OIoSj4013262@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, KATO Tsuguru Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 856FD106564A for ; Wed, 24 Aug 2011 18:45:09 +0000 (UTC) (envelope-from tkato432@yahoo.com) Received: from msa105lp.auone-net.jp (msa105lp.auone-net.jp [222.3.140.168]) by mx1.freebsd.org (Postfix) with ESMTP id 2B59A8FC17 for ; Wed, 24 Aug 2011 18:45:09 +0000 (UTC) Received: from localhost.localdomain (ZT038043.ppp.dion.ne.jp [59.128.38.43]) by msa105lp.auone-net.jp (au one net msa) with ESMTP id 8442D50036 for ; Thu, 25 Aug 2011 03:45:04 +0900 (JST) Message-Id: <20110825033740.78d3f8e2.tkato432@yahoo.com> Date: Thu, 25 Aug 2011 03:37:40 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/160122: Update port: lang/libjit to 0.1.2 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Aug 2011 18:50:29 -0000 >Number: 160122 >Category: ports >Synopsis: Update port: lang/libjit to 0.1.2 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Aug 24 18:50:28 UTC 2011 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 7.4-RELEASE-p2 i386 >Organization: >Environment: >Description: - Update to version 0.1.2 Remove file: files/extra-jit-rules-interp.h files/patch-aa files/patch-ab files/patch-ac files/patch-ad files/patch-ltmain.sh >How-To-Repeat: >Fix: diff -urN /usr/ports/lang/libjit/Makefile lang/libjit/Makefile --- /usr/ports/lang/libjit/Makefile 2011-08-03 15:37:12.000000000 +0900 +++ lang/libjit/Makefile 2011-08-22 04:32:06.000000000 +0900 @@ -6,21 +6,21 @@ # PORTNAME= libjit -PORTVERSION= 0.1.0 -PORTREVISION= 1 +PORTVERSION= 0.1.2 CATEGORIES= lang -MASTER_SITES= http://download.savannah.gnu.org/releases/dotgnu-pnet/ +MASTER_SITES= SAVANNAH/dotgnu-pnet/libjit-releases MAINTAINER= ports@FreeBSD.org COMMENT= Libjit implements Just-In-Time compilation functionality -BROKEN= does not fetch +LICENSE= LGPL21 LGPL3 +LICENSE_COMB= dual -USE_AUTOTOOLS= libtool +USE_GNOME= gnomehack USE_GMAKE= yes -GNU_CONFIGURE= yes - +USE_AUTOTOOLS= libtool USE_LDCONFIG= yes +MAKE_JOBS_SAFE= yes INFO= libjit MAN3= libjit.3 @@ -36,15 +36,7 @@ .endif post-patch: -# fix for amd64, Upstream forgot a header file - ${CP} ${FILESDIR}/extra-jit-rules-interp.h ${WRKSRC}/jit/jit-rules-interp.h @${REINPLACE_CMD} -e 's|#undef HAVE_TGMATH_H||' \ ${WRKSRC}/config.h.in -post-configure: -.if ${ARCH} != "amd64" - @${REINPLACE_CMD} -e 's|$$pic_flag -DPIC||' \ - ${WRKSRC}/libtool -.endif - .include diff -urN /usr/ports/lang/libjit/distinfo lang/libjit/distinfo --- /usr/ports/lang/libjit/distinfo 2011-07-04 02:06:40.000000000 +0900 +++ lang/libjit/distinfo 2011-08-22 04:04:23.000000000 +0900 @@ -1,2 +1,2 @@ -SHA256 (libjit-0.1.0.tar.gz) = 8d04ff4fcb99aea354b0ff0000e91b04a5c403b0d63cfc3c49115617b363d271 -SIZE (libjit-0.1.0.tar.gz) = 1092908 +SHA256 (libjit-0.1.2.tar.gz) = f1650938b8f7cd1cd5280f6197f02c2161841d7d66beecf8f9c2d4115cb195d0 +SIZE (libjit-0.1.2.tar.gz) = 1195466 diff -urN /usr/ports/lang/libjit/files/extra-jit-rules-interp.h lang/libjit/files/extra-jit-rules-interp.h --- /usr/ports/lang/libjit/files/extra-jit-rules-interp.h 2008-11-30 19:05:56.000000000 +0900 +++ lang/libjit/files/extra-jit-rules-interp.h 1970-01-01 09:00:00.000000000 +0900 @@ -1,103 +0,0 @@ -/* - * jit-rules-interp.h - Rules that define the interpreter characteristics. - * - * Copyright (C) 2004 Southern Storm Software, Pty Ltd. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#ifndef _JIT_RULES_INTERP_H -#define _JIT_RULES_INTERP_H - -#include "jit-interp.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/* - * Information about all of the registers, in allocation order. - */ -#define JIT_REG_INFO \ - {"r0", 0, -1, JIT_REG_ALL | JIT_REG_CALL_USED | \ - JIT_REG_IN_STACK}, \ - {"r1", 1, -1, JIT_REG_ALL | JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ - {"r2", 2, -1, JIT_REG_ALL | JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ - {"r3", 3, -1, JIT_REG_ALL | JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ - {"r4", 4, -1, JIT_REG_ALL | JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ - {"r5", 5, -1, JIT_REG_ALL | JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ - {"r6", 6, -1, JIT_REG_ALL | JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ - {"r7", 7, -1, JIT_REG_ALL | JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ - {"r8", 8, -1, JIT_REG_ALL | JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ - {"r9", 9, -1, JIT_REG_ALL | JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ - {"r10", 10, -1, JIT_REG_ALL | JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ - {"r11", 11, -1, JIT_REG_ALL | JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ - {"r12", 12, -1, JIT_REG_ALL | JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ - {"r13", 13, -1, JIT_REG_ALL | JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ - {"r14", 14, -1, JIT_REG_ALL | JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ - {"r15", 15, -1, JIT_REG_ALL | JIT_REG_CALL_USED | \ - JIT_REG_IN_STACK}, -#define JIT_NUM_REGS 16 -#define JIT_NUM_GLOBAL_REGS 0 - -#define JIT_REG_STACK 1 -#define JIT_REG_STACK_START 0 -#define JIT_REG_STACK_END 15 - -/* - * Define to 1 if we should always load values into registers - * before operating on them. i.e. the CPU does not have reg-mem - * and mem-reg addressing modes. - */ -#define JIT_ALWAYS_REG_REG 1 - -/* - * The maximum number of bytes to allocate for the prolog. - * This may be shortened once we know the true prolog size. - */ -#define JIT_PROLOG_SIZE jit_function_interp_size - -/* - * Preferred alignment for the start of functions. - */ -#define JIT_FUNCTION_ALIGNMENT (sizeof(void *)) - -/* - * Define this to 1 if the platform allows reads and writes on - * any byte boundary. Define to 0 if only properly-aligned - * memory accesses are allowed. - */ -#define JIT_ALIGN_OVERRIDES 0 - -/* - * Extra state information that is added to the "jit_gencode" structure. - */ -#define jit_extra_gen_state \ - int working_area; \ - int max_working_area; \ - int extra_working_space -#define jit_extra_gen_init(gen) \ - do { \ - (gen)->working_area = 0; \ - (gen)->max_working_area = 0; \ - (gen)->extra_working_space = 0; \ - } while (0) -#define jit_extra_gen_cleanup(gen) do { ; } while (0) - -#ifdef __cplusplus -}; -#endif - -#endif /* _JIT_RULES_INTERP_H */ diff -urN /usr/ports/lang/libjit/files/patch-aa lang/libjit/files/patch-aa --- /usr/ports/lang/libjit/files/patch-aa 2004-04-29 17:30:56.000000000 +0900 +++ lang/libjit/files/patch-aa 1970-01-01 09:00:00.000000000 +0900 @@ -1,12 +0,0 @@ ---- jit/jit-apply.c.orig Tue Apr 27 00:21:55 2004 -+++ jit/jit-apply.c Tue Apr 27 00:23:21 2004 -@@ -23,6 +23,9 @@ - #include "jit-apply-rules.h" - #include "jit-apply-func.h" - #include "jit-cache.h" -+#ifdef __FreeBSD__ -+ #include -+#endif - #if HAVE_ALLOCA_H - #include - #endif diff -urN /usr/ports/lang/libjit/files/patch-ab lang/libjit/files/patch-ab --- /usr/ports/lang/libjit/files/patch-ab 2004-04-29 17:30:56.000000000 +0900 +++ lang/libjit/files/patch-ab 1970-01-01 09:00:00.000000000 +0900 @@ -1,12 +0,0 @@ ---- jit/jit-insn.c.orig Tue Apr 27 00:22:44 2004 -+++ jit/jit-insn.c Tue Apr 27 00:23:09 2004 -@@ -21,6 +21,9 @@ - #include "jit-internal.h" - #include "jit-rules.h" - #include -+#ifdef __FreeBSD__ -+ #include -+#endif - #if HAVE_ALLOCA_H - #include - #endif diff -urN /usr/ports/lang/libjit/files/patch-ac lang/libjit/files/patch-ac --- /usr/ports/lang/libjit/files/patch-ac 2004-08-10 00:37:07.000000000 +0900 +++ lang/libjit/files/patch-ac 1970-01-01 09:00:00.000000000 +0900 @@ -1,12 +0,0 @@ ---- jit/jit-interp.c.orig Sun Aug 8 14:47:39 2004 -+++ jit/jit-interp.c Sun Aug 8 14:48:08 2004 -@@ -33,6 +33,9 @@ - #if HAVE_ALLOCA_H - #include - #endif -+#ifdef __FreeBSD__ -+ #include -+#endif - #ifdef JIT_WIN32_PLATFORM - #include - #ifndef alloca diff -urN /usr/ports/lang/libjit/files/patch-ad lang/libjit/files/patch-ad --- /usr/ports/lang/libjit/files/patch-ad 2004-04-29 17:30:56.000000000 +0900 +++ lang/libjit/files/patch-ad 1970-01-01 09:00:00.000000000 +0900 @@ -1,12 +0,0 @@ ---- tools/gen-apply.c.orig Tue Apr 27 00:26:20 2004 -+++ tools/gen-apply.c Tue Apr 27 00:26:40 2004 -@@ -22,6 +22,9 @@ - #include "jit-apply-func.h" - #include - #include -+#ifdef __FreeBSD__ -+ #include -+#endif - #if HAVE_ALLOCA_H - #include - #endif diff -urN /usr/ports/lang/libjit/files/patch-ltmain.sh lang/libjit/files/patch-ltmain.sh --- /usr/ports/lang/libjit/files/patch-ltmain.sh 2008-11-09 06:24:56.000000000 +0900 +++ lang/libjit/files/patch-ltmain.sh 1970-01-01 09:00:00.000000000 +0900 @@ -1,38 +0,0 @@ ---- ltmain.sh.orig 2008-11-09 00:28:51.000000000 +0800 -+++ ltmain.sh 2008-11-09 00:32:32.000000000 +0800 -@@ -3420,7 +3420,7 @@ - if test "$?" -eq 0 ; then - ldd_output=`ldd conftest` - for i in $deplibs; do -- name="`expr $i : '-l\(.*\)'`" -+ name="`expr X$i : 'X-l\(.*\)'`" - # If $name is empty we are operating on a -L argument. - if test "$name" != "" && test "$name" -ne "0"; then - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then -@@ -3457,7 +3457,7 @@ - # Error occurred in the first compile. Let's try to salvage - # the situation: Compile a separate program for each library. - for i in $deplibs; do -- name="`expr $i : '-l\(.*\)'`" -+ name="`expr X$i : 'X-l\(.*\)'`" - # If $name is empty we are operating on a -L argument. - if test "$name" != "" && test "$name" != "0"; then - $rm conftest -@@ -3509,7 +3509,7 @@ - set dummy $deplibs_check_method - file_magic_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"` - for a_deplib in $deplibs; do -- name="`expr $a_deplib : '-l\(.*\)'`" -+ name="`expr X$a_deplib : 'X-l\(.*\)'`" - # If $name is empty we are operating on a -L argument. - if test "$name" != "" && test "$name" != "0"; then - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then -@@ -3578,7 +3578,7 @@ - set dummy $deplibs_check_method - match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"` - for a_deplib in $deplibs; do -- name="`expr $a_deplib : '-l\(.*\)'`" -+ name="`expr X$a_deplib : 'X-l\(.*\)'`" - # If $name is empty we are operating on a -L argument. - if test -n "$name" && test "$name" != "0"; then - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then diff -urN /usr/ports/lang/libjit/pkg-descr lang/libjit/pkg-descr --- /usr/ports/lang/libjit/pkg-descr 2004-04-29 17:30:56.000000000 +0900 +++ lang/libjit/pkg-descr 2011-08-22 05:45:44.000000000 +0900 @@ -9,4 +9,4 @@ then libjit will fall back to interpreting the code. This way, you don't need to write your own interpreter for your bytecode format if you don't want to. -WWW: http://www.southern-storm.com.au/libjit.html +WWW: http://www.gnu.org/software/dotgnu/ diff -urN /usr/ports/lang/libjit/pkg-plist lang/libjit/pkg-plist --- /usr/ports/lang/libjit/pkg-plist 2008-11-09 06:24:56.000000000 +0900 +++ lang/libjit/pkg-plist 2011-08-22 04:28:32.000000000 +0900 @@ -1,5 +1,5 @@ -include/jit/jit-arch.h include/jit/jit-apply.h +include/jit/jit-arch.h include/jit/jit-block.h include/jit/jit-common.h include/jit/jit-context.h @@ -19,6 +19,7 @@ include/jit/jit-opcode.h include/jit/jit-plus.h include/jit/jit-type.h +include/jit/jit-unwind.h include/jit/jit-util.h include/jit/jit-value.h include/jit/jit-walk.h >Release-Note: >Audit-Trail: >Unformatted: