Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/gawk: drop incorrect patch
@ 2022-10-31  7:26 Yann E. MORIN
  2022-11-03 22:10 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Yann E. MORIN @ 2022-10-31  7:26 UTC (permalink / raw)
  To: buildroot; +Cc: Yann E. MORIN

Commit 8cd06967b9be (gawk: bump version and migrate to autotargets)
added a patch that purportedly reduced the installation size by not
installing the versioned program (gawk-X.Y).

However, the versioned program is a hard-link to the unversioned one,
so, save for a directory entry, it does not take extra space in the
final image.

Drop that patch.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
---
 package/gawk/0001-no-versioned.patch | 16 ----------------
 1 file changed, 16 deletions(-)
 delete mode 100644 package/gawk/0001-no-versioned.patch

diff --git a/package/gawk/0001-no-versioned.patch b/package/gawk/0001-no-versioned.patch
deleted file mode 100644
index c5bbdddeb5..0000000000
--- a/package/gawk/0001-no-versioned.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-Disabled versioned installation of binaries to save space.
-
-Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
-[Gustavo: update for 4.1.2]
-
-diff -Nura gawk-4.1.2.orig/Makefile.in gawk-4.1.2/Makefile.in
---- gawk-4.1.2.orig/Makefile.in	2015-04-29 16:11:09.367925925 -0300
-+++ gawk-4.1.2/Makefile.in	2015-04-29 16:11:25.308466495 -0300
-@@ -1173,6 +1173,7 @@
- # (This is done universally, which may not always be right, but
- # there's no easy way to distinguish GNU from non-GNU systems.)
- install-exec-hook:
-+foo:
- 	(cd $(DESTDIR)$(bindir); \
- 	$(LN) gawk$(EXEEXT) gawk-$(VERSION)$(EXEEXT) 2>/dev/null ; \
- 	if [ ! -f awk$(EXEEXT) ]; \
-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH] package/gawk: drop incorrect patch
  2022-10-31  7:26 [Buildroot] [PATCH] package/gawk: drop incorrect patch Yann E. MORIN
@ 2022-11-03 22:10 ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-11-03 22:10 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: buildroot

On Mon, 31 Oct 2022 08:26:34 +0100
"Yann E. MORIN" <yann.morin.1998@free.fr> wrote:

> Commit 8cd06967b9be (gawk: bump version and migrate to autotargets)
> added a patch that purportedly reduced the installation size by not
> installing the versioned program (gawk-X.Y).
> 
> However, the versioned program is a hard-link to the unversioned one,
> so, save for a directory entry, it does not take extra space in the
> final image.
> 
> Drop that patch.
> 
> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
> ---
>  package/gawk/0001-no-versioned.patch | 16 ----------------
>  1 file changed, 16 deletions(-)
>  delete mode 100644 package/gawk/0001-no-versioned.patch

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-03 22:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-31  7:26 [Buildroot] [PATCH] package/gawk: drop incorrect patch Yann E. MORIN
2022-11-03 22:10 ` Thomas Petazzoni via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox