Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 674758 Details for
Bug 756367
dev-lang/duktape-2.6.0: fails to apply patch
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-dev-lang-duktape-fix-respect-tc-env-patch.patch
0001-dev-lang-duktape-fix-respect-tc-env-patch.patch (text/plain), 2.47 KB, created by
Ionen Wolkens
on 2020-11-24 21:32:08 UTC
(
hide
)
Description:
0001-dev-lang-duktape-fix-respect-tc-env-patch.patch
Filename:
MIME Type:
Creator:
Ionen Wolkens
Created:
2020-11-24 21:32:08 UTC
Size:
2.47 KB
patch
obsolete
>From b9445bad6471430f1d3d8215c0571a6829154365 Mon Sep 17 00:00:00 2001 >From: Ionen Wolkens <sudinave@gmail.com> >Date: Tue, 24 Nov 2020 16:27:53 -0500 >Subject: [PATCH] dev-lang/duktape: fix respect-tc-env patch > >Closes: https://bugs.gentoo.org/756367 >Package-Manager: Portage-3.0.10, Repoman-3.0.2 >Signed-off-by: Ionen Wolkens <sudinave@gmail.com> >--- > dev-lang/duktape/duktape-2.6.0.ebuild | 4 ++-- > .../duktape/files/duktape-2.6.0-respect-tc-env.patch | 12 ++++++------ > 2 files changed, 8 insertions(+), 8 deletions(-) > >diff --git a/dev-lang/duktape/duktape-2.6.0.ebuild b/dev-lang/duktape/duktape-2.6.0.ebuild >index 44af7070693..1037f1a821b 100644 >--- a/dev-lang/duktape/duktape-2.6.0.ebuild >+++ b/dev-lang/duktape/duktape-2.6.0.ebuild >@@ -20,6 +20,8 @@ PATCHES=( > ) > > src_prepare() { >+ default >+ > # Set install path > sed -i "s#INSTALL_PREFIX = /usr/local#INSTALL_PREFIX = ${ED}/usr#" \ > Makefile.sharedlibrary || die "failed to set install path" >@@ -33,8 +35,6 @@ src_prepare() { > Makefile.sharedlibrary || die > > mv Makefile.sharedlibrary Makefile || die "failed to rename makefile" >- >- default > } > > src_compile() { >diff --git a/dev-lang/duktape/files/duktape-2.6.0-respect-tc-env.patch b/dev-lang/duktape/files/duktape-2.6.0-respect-tc-env.patch >index ab58e7f9a6d..cb92d0ab8d3 100644 >--- a/dev-lang/duktape/files/duktape-2.6.0-respect-tc-env.patch >+++ b/dev-lang/duktape/files/duktape-2.6.0-respect-tc-env.patch >@@ -1,8 +1,8 @@ >-diff --git a/Makefile b/Makefile >+diff --git a/Makefile.sharedlibrary b/Makefile.sharedlibrary > index 156ea96..a0997b1 100644 >---- a/Makefile >-+++ b/Makefile >-@@ -52,7 +52,7 @@ INSTALL_PREFIX = /var/tmp/portage/dev-lang/duktape-2.6.0/image/usr >+--- a/Makefile.sharedlibrary >++++ b/Makefile.sharedlibrary >+@@ -52,7 +52,7 @@ INSTALL_PREFIX = /usr/local > DUKTAPE_SRCDIR = ./src > #DUKTAPE_SRCDIR = ./src-noline > >@@ -29,5 +29,5 @@ index 156ea96..a0997b1 100644 > > CCOPTS = -I./examples/cmdline > duk: >-- $(CC) $(CCOPTS) -I$(INSTALL_PREFIX)/include -L$(INSTALL_PREFIX)/lib64 -Wall -Wextra -Os -o $@ ./examples/cmdline/duk_cmdline.c -lduktape -lm >-+ $(CC) $(CCOPTS) -I$(INSTALL_PREFIX)/include -L$(INSTALL_PREFIX)/lib64 ${CFLAGS} -o $@ ./examples/cmdline/duk_cmdline.c -lduktape -lm >+- $(CC) $(CCOPTS) -I$(INSTALL_PREFIX)/include -L$(INSTALL_PREFIX)/lib -Wall -Wextra -Os -o $@ ./examples/cmdline/duk_cmdline.c -lduktape -lm >++ $(CC) $(CCOPTS) -I$(INSTALL_PREFIX)/include -L$(INSTALL_PREFIX)/lib ${CFLAGS} -o $@ ./examples/cmdline/duk_cmdline.c -lduktape -lm >-- >2.29.2 >
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 756367
:
674749
|
674752
| 674758