FreeBSD Bugzilla – Attachment 163779 Details for
Bug 203481
[PATCH] lang/duktape: Update to version 1.4.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
lang_duktape.diff
lang_duktape.diff (text/plain), 3.51 KB, created by
tkato432
on 2015-12-02 17:30:10 UTC
(
hide
)
Description:
lang_duktape.diff
Filename:
MIME Type:
Creator:
tkato432
Created:
2015-12-02 17:30:10 UTC
Size:
3.51 KB
patch
obsolete
>diff -urN /usr/ports/lang/duktape/Makefile lang/duktape/Makefile >--- /usr/ports/lang/duktape/Makefile 2015-09-10 23:51:25.700524000 +0900 >+++ lang/duktape/Makefile 2015-12-03 00:00:00.000000000 +0900 >@@ -1,8 +1,7 @@ > # $FreeBSD: head/lang/duktape/Makefile 396541 2015-09-09 21:48:34Z amdmi3 $ > > PORTNAME= duktape >-PORTVERSION= 1.2.3 >-PORTREVISION= 1 >+PORTVERSION= 1.3.1 > CATEGORIES= lang devel > MASTER_SITES= http://duktape.org/ > >@@ -13,17 +12,25 @@ > LICENSE_FILE= ${WRKSRC}/LICENSE.txt > > USES= libedit tar:xz >- >+USE_CSTD= c99 > MAKEFILE= Makefile.cmdline > ALL_TARGET= duk > > PLIST_FILES= bin/duk > > post-patch: >- @${REINPLACE_CMD} -e "/history\.h/d ; s,readline/,editline/,g " \ >+ @${REINPLACE_CMD} -e \ >+ '/gcc/s|^|#| ; \ >+ s|-Os.*|$$(CFLAGS) $$(CPPFLAGS)| ; \ >+ s|-lm$$|-lm -ledit $$(LDFLAGS)| ; \ >+ /FANCY$$/s|^#||' \ >+ ${WRKSRC}/Makefile.cmdline >+ @${REINPLACE_CMD} -e \ >+ '/history\.h/d ; \ >+ s|readline/|editline/|' \ > ${WRKSRC}/examples/cmdline/duk_cmdline.c > > do-install: >- ${INSTALL_PROGRAM} ${WRKSRC}/duk ${STAGEDIR}${PREFIX}/bin >+ (cd ${WRKSRC} && ${INSTALL_PROGRAM} duk ${STAGEDIR}${PREFIX}/bin) > > .include <bsd.port.mk> >diff -urN /usr/ports/lang/duktape/distinfo lang/duktape/distinfo >--- /usr/ports/lang/duktape/distinfo 2015-08-24 03:50:21.823008000 +0900 >+++ lang/duktape/distinfo 2015-12-03 00:00:00.000000000 +0900 >@@ -1,2 +1,2 @@ >-SHA256 (duktape-1.2.3.tar.xz) = 3c065a0cc4e0264ba01e4c35bc9cb06ff20a695186e69cec9acb6e7c0948e033 >-SIZE (duktape-1.2.3.tar.xz) = 514152 >+SHA256 (duktape-1.3.1.tar.xz) = 34b231ada1b94ba234025138b53310a035544b17d108c939fe109b70cae7a965 >+SIZE (duktape-1.3.1.tar.xz) = 665892 >diff -urN /usr/ports/lang/duktape/files/patch-Makefile.cmdline lang/duktape/files/patch-Makefile.cmdline >--- /usr/ports/lang/duktape/files/patch-Makefile.cmdline 2015-09-10 23:51:25.701015000 +0900 >+++ lang/duktape/files/patch-Makefile.cmdline 1970-01-01 09:00:00.000000000 +0900 >@@ -1,24 +0,0 @@ >---- Makefile.cmdline.orig 2015-08-09 09:27:25 UTC >-+++ Makefile.cmdline >-@@ -8,16 +8,16 @@ DUKTAPE_SOURCES = src/duktape.c >- DUKTAPE_CMDLINE_SOURCES = \ >- examples/cmdline/duk_cmdline.c >- >--CC = gcc >--CCOPTS = -Os -pedantic -std=c99 -Wall -fstrict-aliasing -fomit-frame-pointer >--CCOPTS += -I./src >-+CC ?= gcc >-+CCOPTS = ${CFLAGS} -pedantic -std=c99 -Wall -fstrict-aliasing -fomit-frame-pointer >-+CCOPTS += -I./src ${CPPFLAGS} >- CCLIBS = -lm >- >- # If you have readline, you may want to enable these. On some platforms >- # -lreadline also requires -lncurses (e.g. RHEL), so it is added by default >- # (you may be able to remove it) >--#CCOPTS += -DDUK_CMDLINE_FANCY >--#CCLIBS += -lreadline >-+CCOPTS += -DDUK_CMDLINE_FANCY >-+CCLIBS += ${LDFLAGS} -ledit >- #CCLIBS += -lncurses >- >- # Optional feature defines, see: http://duktape.org/guide.html#compiling >diff -urN /usr/ports/lang/duktape/pkg-descr lang/duktape/pkg-descr >--- /usr/ports/lang/duktape/pkg-descr 2015-09-10 23:51:25.700779000 +0900 >+++ lang/duktape/pkg-descr 2015-12-03 00:00:00.000000000 +0900 >@@ -1,8 +1,8 @@ >-Duktape is an embeddable Javascript engine, with a focus on portability and >-compact footprint. >+Duktape is an embeddable Javascript engine, with a focus on portability >+and compact footprint. > >-Duktape is easy to integrate into a C/C++ project: add duktape.c and duktape.h >-to your build, and use the Duktape API to call Ecmascript functions from C code >-and vice versa. >+Duktape is easy to integrate into a C/C++ project: add duktape.c and >+duktape.h to your build, and use the Duktape API to call Ecmascript >+functions from C code and vice versa. > > WWW: http://duktape.org/
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 203481
:
161614
|
161626
|
163779
|
165702