Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v3 0/2] ficl
@ 2026-04-22 16:31 Francois Perrad via buildroot
  2026-04-22 16:31 ` [Buildroot] [PATCH v3 1/2] package/ficl: downgrade to version 3.03 Francois Perrad via buildroot
  2026-04-22 16:31 ` [Buildroot] [PATCH v3 2/2] package/ficl: bump to version 3.065 Francois Perrad via buildroot
  0 siblings, 2 replies; 6+ messages in thread
From: Francois Perrad via buildroot @ 2026-04-22 16:31 UTC (permalink / raw)
  To: buildroot

v2 -> v3

- upgrade to 3.065
- workaround for static_assert / uclibc-ng
- re-add missing Sob

v1 -> v2

- downgrade to 3.03
    - fix .checkpackageignore

- upgrade to 3.05
    - add dependency on gcc 4.6 (C11/static_assert)

Francois Perrad (2):
  package/ficl: downgrade to version 3.03
  package/ficl: bump to version 3.065

 .checkpackageignore                           |  1 -
 package/ficl/0001-fix-Makefile.patch          | 47 -----------------
 ...=> 0001-makefile.linux-pass-LDFLAGS.patch} | 27 ++++++----
 package/ficl/Config.in                        |  6 ++-
 package/ficl/ficl.hash                        |  4 +-
 package/ficl/ficl.mk                          | 51 +++++--------------
 6 files changed, 35 insertions(+), 101 deletions(-)
 delete mode 100644 package/ficl/0001-fix-Makefile.patch
 rename package/ficl/{0002-Makefile.linux-pass-LDFLAGS.patch => 0001-makefile.linux-pass-LDFLAGS.patch} (65%)

-- 
2.43.0

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

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

* [Buildroot] [PATCH v3 1/2] package/ficl: downgrade to version 3.03
  2026-04-22 16:31 [Buildroot] [PATCH v3 0/2] ficl Francois Perrad via buildroot
@ 2026-04-22 16:31 ` Francois Perrad via buildroot
  2026-04-23 19:54   ` Julien Olivain via buildroot
  2026-05-04 14:47   ` Thomas Perale via buildroot
  2026-04-22 16:31 ` [Buildroot] [PATCH v3 2/2] package/ficl: bump to version 3.065 Francois Perrad via buildroot
  1 sibling, 2 replies; 6+ messages in thread
From: Francois Perrad via buildroot @ 2026-04-22 16:31 UTC (permalink / raw)
  To: buildroot

see https://sourceforge.net/p/ficl/news/2025/07/ficl4-is-retiring/

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
 .checkpackageignore                           |  1 -
 package/ficl/0001-fix-Makefile.patch          | 47 -------------------
 package/ficl/0001-missing-include.patch       | 26 ++++++++++
 .../0002-Makefile.linux-pass-LDFLAGS.patch    | 19 ++++----
 package/ficl/ficl.hash                        |  4 +-
 package/ficl/ficl.mk                          | 20 ++++----
 6 files changed, 49 insertions(+), 68 deletions(-)
 delete mode 100644 package/ficl/0001-fix-Makefile.patch
 create mode 100644 package/ficl/0001-missing-include.patch

diff --git a/.checkpackageignore b/.checkpackageignore
index 695e0d50c..6b391d926 100644
--- a/.checkpackageignore
+++ b/.checkpackageignore
@@ -343,7 +343,6 @@ package/ffmpeg/0001-swscale-x86-yuv2rgb-Fix-build-without-SSSE3.patch lib_patch.
 package/ffmpeg/0002-avcodec-vaapi_h264-skip-decode-if-pic-has-no-slices.patch lib_patch.Upstream
 package/ffmpeg/0003-libavutil-Fix-mips-build.patch lib_patch.Upstream
 package/ffmpeg/0004-configure-add-extralibs-to-extralibs_xxx.patch lib_patch.Upstream
-package/ficl/0001-fix-Makefile.patch lib_patch.Upstream
 package/flatbuffers/0001-include-flatbuffers-base.h-fix-build-on-musl.patch lib_patch.Upstream
 package/flex/0001-build-AC_USE_SYSTEM_EXTENSIONS-in-configure.ac.patch lib_patch.Upstream
 package/flex/0002-build-make-it-possible-to-disable-the-build-of-the-f.patch lib_patch.Upstream
diff --git a/package/ficl/0001-fix-Makefile.patch b/package/ficl/0001-fix-Makefile.patch
deleted file mode 100644
index d5a25c43f..000000000
--- a/package/ficl/0001-fix-Makefile.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-fix dependency in Makefiles
-
-there is no longer a sysdep.h file.
-
-Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
-
-diff --git a/Makefile b/Makefile
-index 976d00a..7f73c44 100644
---- a/Makefile
-+++ b/Makefile
-@@ -29,7 +29,7 @@ libficl.so.$(MAJOR).$(MINOR): $(OBJECTS)
- 	-o libficl.so.$(MAJOR).$(MINOR) $(OBJECTS)
- 	ln -sf libficl.so.$(MAJOR).$(MINOR) libficl.so
- 
--main: main.o ficl.h sysdep.h libficl.so.$(MAJOR).$(MINOR)
-+main: main.o ficl.h libficl.so.$(MAJOR).$(MINOR)
- 	$(CC) $(CFLAGS) $(LDFLAGS) main.o -o main -L. -lficl -lm
- 	ln -sf libficl.so.$(MAJOR).$(MINOR) libficl.so.$(MAJOR)
- 
-diff --git a/Makefile.ansi b/Makefile.ansi
-index e510fcd..170e6eb 100644
---- a/Makefile.ansi
-+++ b/Makefile.ansi
-@@ -29,7 +29,7 @@ libficl.so.$(MAJOR).$(MINOR): $(OBJECTS)
- 	-o libficl.so.$(MAJOR).$(MINOR) $(OBJECTS)
- 	ln -sf libficl.so.$(MAJOR).$(MINOR) libficl.so
- 
--main: main.o ficl.h sysdep.h libficl.so.$(MAJOR).$(MINOR)
-+main: main.o ficl.h libficl.so.$(MAJOR).$(MINOR)
- 	$(CC) main.o -o main -L. -lficl -lm
- 	ln -sf libficl.so.$(MAJOR).$(MINOR) libficl.so.$(MAJOR)
- 
-diff --git a/Makefile.linux b/Makefile.linux
-index d447e7e..7f2cdfe 100644
---- a/Makefile.linux
-+++ b/Makefile.linux
-@@ -29,7 +29,7 @@ libficl.so.$(MAJOR).$(MINOR): $(OBJECTS)
- 	-o libficl.so.$(MAJOR).$(MINOR) $(OBJECTS)
- 	ln -sf libficl.so.$(MAJOR).$(MINOR) libficl.so
- 
--main: main.o ficl.h sysdep.h libficl.so.$(MAJOR).$(MINOR)
-+main: main.o ficl.h libficl.so.$(MAJOR).$(MINOR)
- 	$(CC) main.o -o main -L. -lficl -lm
- 	ln -sf libficl.so.$(MAJOR).$(MINOR) libficl.so.$(MAJOR)
- 
--- 
-
diff --git a/package/ficl/0001-missing-include.patch b/package/ficl/0001-missing-include.patch
new file mode 100644
index 000000000..a52089623
--- /dev/null
+++ b/package/ficl/0001-missing-include.patch
@@ -0,0 +1,26 @@
+From 87c78eea2c4ac69c09947c8e49f8e8668640071c Mon Sep 17 00:00:00 2001
+From: Francois Perrad <francois.perrad@gadz.org>
+Date: Sun, 7 Dec 2025 10:15:27 +0100
+Subject: [PATCH] missing include
+
+Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
+Upstream: upstream is dead
+---
+ fileaccess.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/fileaccess.c b/fileaccess.c
+index 738889d..c03d5d6 100644
+--- a/fileaccess.c
++++ b/fileaccess.c
+@@ -4,6 +4,7 @@
+ #include <string.h>
+ #include <ctype.h>
+ #include <sys/stat.h>
++#include <unistd.h>
+ #include "ficl.h"
+ 
+ #if FICL_WANT_FILE
+-- 
+2.43.0
+
diff --git a/package/ficl/0002-Makefile.linux-pass-LDFLAGS.patch b/package/ficl/0002-Makefile.linux-pass-LDFLAGS.patch
index dd9e16412..aa5c00edb 100644
--- a/package/ficl/0002-Makefile.linux-pass-LDFLAGS.patch
+++ b/package/ficl/0002-Makefile.linux-pass-LDFLAGS.patch
@@ -15,6 +15,8 @@ Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
 Upstream: upstream is dead
 [Dario: make the patch to be applied with fuzz factor 0]
 Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
+[francois: downgrade to 3.03]
+Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
 ---
  Makefile.linux | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
@@ -23,14 +25,15 @@ diff --git a/Makefile.linux b/Makefile.linux
 index 5f1a41f..df887e6 100644
 --- a/Makefile.linux
 +++ b/Makefile.linux
-@@ -14,6 +14,6 @@ MINOR = 1.0
- 
- ficl: main.o $(HEADERS) libficl.a
--	$(CC) main.o -o ficl -L. -lficl -lm
-+	$(CC) $(LDFLAGS) main.o -o ficl -L. -lficl -lm
- 
- lib: libficl.so.$(MAJOR).$(MINOR)
- 
+@@ -13,7 +13,7 @@ MAJOR = 3
+ MINOR = 0.1
+ 
+ ficl: testmain.o ficl.h sysdep.h libficl.a
+-	$(CC) testmain.o -o ficl -L. -lficl -lm
++	$(CC) $(LDFLAGS) testmain.o -o ficl -L. -lficl -lm
+ 
+ lib: libficl.so.$(MAJOR).$(MINOR)
+ 
 -- 
 2.35.1
 
diff --git a/package/ficl/ficl.hash b/package/ficl/ficl.hash
index df53c843c..1a4a54e70 100644
--- a/package/ficl/ficl.hash
+++ b/package/ficl/ficl.hash
@@ -1,3 +1,3 @@
 # Locally computed:
-sha256  4daf74f3d3d6f8b86ea7cb47bc24931d50b4809b50ba34ca32e0ca1e972bd3a3  ficl-4.1.0.tar.gz
-sha256  1d1dd1f1cde52e8b607c5ccb6a2e5de878fd1719b8c5a4d31b9cdb343c203d0d  ReadMe.txt
+sha256  064abbea44b2cbbeb53b8df8e5588ed41c4d32dd19bdb897e5d21507691407b2  ficl303.tar.gz
+sha256  18527f5cdc213d29fb65791e153690974e5426b7e989f3b8eee61c2e5f9e5fcd  ReadMe.txt
diff --git a/package/ficl/ficl.mk b/package/ficl/ficl.mk
index c0698a343..ef2e1408c 100644
--- a/package/ficl/ficl.mk
+++ b/package/ficl/ficl.mk
@@ -4,9 +4,11 @@
 #
 ################################################################################
 
-FICL_VERSION_MAJOR = 4.1
-FICL_VERSION = $(FICL_VERSION_MAJOR).0
-FICL_SITE = https://sourceforge.net/projects/ficl/files/OldFiles/Ficl4%20%28retired%29
+FICL_VERSION = 3.03
+FICL_TAG = ficl$(subst .,,$(FICL_VERSION))
+FICL_VERSION_SO = 3.0.1
+FICL_SOURCE = $(FICL_TAG).tar.gz
+FICL_SITE = https://sourceforge.net/projects/ficl/files/ficl-all/$(FICL_TAG)
 FICL_LICENSE = BSD-2-Clause
 FICL_LICENSE_FILES = ReadMe.txt
 FICL_INSTALL_STAGING = YES
@@ -26,14 +28,14 @@ endef
 endif
 
 ifeq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y)
-FICL_BUILD_TARGETS += main libficl.so.$(FICL_VERSION)
+FICL_BUILD_TARGETS += testmain libficl.so.$(FICL_VERSION_SO)
 define FICL_INSTALL_SHARED_BIN
-	$(INSTALL) -D -m 0755 $(@D)/main $(TARGET_DIR)/usr/bin/ficl
+	$(INSTALL) -D -m 0755 $(@D)/testmain $(TARGET_DIR)/usr/bin/ficl
 endef
 define FICL_INSTALL_SHARED_LIB
-	$(INSTALL) -D -m 0755 $(@D)/libficl.so.$(FICL_VERSION) $(1)/usr/lib/libficl.so.$(FICL_VERSION)
-	ln -sf libficl.so.$(FICL_VERSION) $(1)/usr/lib/libficl.so.4
-	ln -sf libficl.so.$(FICL_VERSION) $(1)/usr/lib/libficl.so
+	$(INSTALL) -D -m 0755 $(@D)/libficl.so.$(FICL_VERSION_SO) $(1)/usr/lib/libficl.so.$(FICL_VERSION_SO)
+	ln -sf libficl.so.$(FICL_VERSION_SO) $(1)/usr/lib/libficl.so.3
+	ln -sf libficl.so.$(FICL_VERSION_SO) $(1)/usr/lib/libficl.so
 endef
 endif
 
@@ -46,8 +48,6 @@ define FICL_INSTALL_STAGING_CMDS
 	$(FICL_INSTALL_STATIC_LIB)
 	$(call FICL_INSTALL_SHARED_LIB,$(STAGING_DIR))
 	$(INSTALL) -D -m 0644 $(@D)/ficl.h $(STAGING_DIR)/usr/include/ficl.h
-	$(INSTALL) -D -m 0644 $(@D)/ficllocal.h $(STAGING_DIR)/usr/include/ficllocal.h
-	$(INSTALL) -D -m 0644 $(@D)/ficlplatform/unix.h $(STAGING_DIR)/usr/include/ficlplatform/unix.h
 endef
 
 define FICL_INSTALL_TARGET_CMDS
-- 
2.43.0

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

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

* [Buildroot] [PATCH v3 2/2] package/ficl: bump to version 3.065
  2026-04-22 16:31 [Buildroot] [PATCH v3 0/2] ficl Francois Perrad via buildroot
  2026-04-22 16:31 ` [Buildroot] [PATCH v3 1/2] package/ficl: downgrade to version 3.03 Francois Perrad via buildroot
@ 2026-04-22 16:31 ` Francois Perrad via buildroot
  2026-05-04 14:47   ` Thomas Perale via buildroot
  1 sibling, 1 reply; 6+ messages in thread
From: Francois Perrad via buildroot @ 2026-04-22 16:31 UTC (permalink / raw)
  To: buildroot

- sources are now hosted on Github
- ficl have its own LICENSE file
- remove one upstreamed patch
- support only static lib
- requires C11

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
 ...=> 0001-makefile.linux-pass-LDFLAGS.patch} | 30 ++++++------
 package/ficl/0001-missing-include.patch       | 26 ----------
 package/ficl/Config.in                        |  6 ++-
 package/ficl/ficl.hash                        |  4 +-
 package/ficl/ficl.mk                          | 47 ++++---------------
 5 files changed, 33 insertions(+), 80 deletions(-)
 rename package/ficl/{0002-Makefile.linux-pass-LDFLAGS.patch => 0001-makefile.linux-pass-LDFLAGS.patch} (70%)
 delete mode 100644 package/ficl/0001-missing-include.patch

diff --git a/package/ficl/0002-Makefile.linux-pass-LDFLAGS.patch b/package/ficl/0001-makefile.linux-pass-LDFLAGS.patch
similarity index 70%
rename from package/ficl/0002-Makefile.linux-pass-LDFLAGS.patch
rename to package/ficl/0001-makefile.linux-pass-LDFLAGS.patch
index aa5c00edb..1ac86466d 100644
--- a/package/ficl/0002-Makefile.linux-pass-LDFLAGS.patch
+++ b/package/ficl/0001-makefile.linux-pass-LDFLAGS.patch
@@ -17,23 +17,25 @@ Upstream: upstream is dead
 Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
 [francois: downgrade to 3.03]
 Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
+[francois: upgrade to 3.065]
+Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
 ---
- Makefile.linux | 2 +-
+ makefile.linux | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
-diff --git a/Makefile.linux b/Makefile.linux
-index 5f1a41f..df887e6 100644
---- a/Makefile.linux
-+++ b/Makefile.linux
-@@ -13,7 +13,7 @@ MAJOR = 3
- MINOR = 0.1
- 
- ficl: testmain.o ficl.h sysdep.h libficl.a
--	$(CC) testmain.o -o ficl -L. -lficl -lm
-+	$(CC) $(LDFLAGS) testmain.o -o ficl -L. -lficl -lm
- 
- lib: libficl.so.$(MAJOR).$(MINOR)
- 
+diff --git a/makefile.linux b/makefile.linux
+index 1e467ea..fad7059 100755
+--- a/makefile.linux
++++ b/makefile.linux
+@@ -26,7 +26,7 @@ libficl.a: $(OBJECTS)
+ 
+ # === Console Test executable ===
+ ficl: $(FICL_TEST_OBJ) ficl.h sysdep.h libficl.a
+-	$(CC) $(FICL_TEST_OBJ) -o ficl -L. -lficl -lm
++	$(CC) $(LDFLAGS) $(FICL_TEST_OBJ) -o ficl -L. -lficl -lm
+ 
+ # === Compile rules ===
+ .SUFFIXES: .cxx .cc .c .o
 -- 
 2.35.1
 
diff --git a/package/ficl/0001-missing-include.patch b/package/ficl/0001-missing-include.patch
deleted file mode 100644
index a52089623..000000000
--- a/package/ficl/0001-missing-include.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 87c78eea2c4ac69c09947c8e49f8e8668640071c Mon Sep 17 00:00:00 2001
-From: Francois Perrad <francois.perrad@gadz.org>
-Date: Sun, 7 Dec 2025 10:15:27 +0100
-Subject: [PATCH] missing include
-
-Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
-Upstream: upstream is dead
----
- fileaccess.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/fileaccess.c b/fileaccess.c
-index 738889d..c03d5d6 100644
---- a/fileaccess.c
-+++ b/fileaccess.c
-@@ -4,6 +4,7 @@
- #include <string.h>
- #include <ctype.h>
- #include <sys/stat.h>
-+#include <unistd.h>
- #include "ficl.h"
- 
- #if FICL_WANT_FILE
--- 
-2.43.0
-
diff --git a/package/ficl/Config.in b/package/ficl/Config.in
index 4d9ab4a5b..21861652e 100644
--- a/package/ficl/Config.in
+++ b/package/ficl/Config.in
@@ -1,9 +1,13 @@
 config BR2_PACKAGE_FICL
 	bool "ficl"
+	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_6 # C11/static_assert
 	help
 	  Ficl is a programming language interpreter designed to be
 	  embedded into other systems as a command, macro, and
 	  development prototyping language.
 	  Ficl is an acronym for "Forth Inspired Command Language".
 
-	  http://ficl.sourceforge.net
+	  https://ficl.sourceforge.net/
+
+comment "ficl needs a gcc >= 4.6"
+	depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
diff --git a/package/ficl/ficl.hash b/package/ficl/ficl.hash
index 1a4a54e70..6023708ff 100644
--- a/package/ficl/ficl.hash
+++ b/package/ficl/ficl.hash
@@ -1,3 +1,3 @@
 # Locally computed:
-sha256  064abbea44b2cbbeb53b8df8e5588ed41c4d32dd19bdb897e5d21507691407b2  ficl303.tar.gz
-sha256  18527f5cdc213d29fb65791e153690974e5426b7e989f3b8eee61c2e5f9e5fcd  ReadMe.txt
+sha256  09a4649a68a075999c2bc26129cf233c4d672335a9c68b98ffcbf1bc8962e5e1  ficl3065.tar.gz
+sha256  b7a894f23d7d7302852405b3d1b6fd88e76b4c116a68f046d4547c073c75d3ea  LICENSE
diff --git a/package/ficl/ficl.mk b/package/ficl/ficl.mk
index ef2e1408c..1ab1bb6a3 100644
--- a/package/ficl/ficl.mk
+++ b/package/ficl/ficl.mk
@@ -4,56 +4,29 @@
 #
 ################################################################################
 
-FICL_VERSION = 3.03
+FICL_VERSION = 3.065
 FICL_TAG = ficl$(subst .,,$(FICL_VERSION))
-FICL_VERSION_SO = 3.0.1
 FICL_SOURCE = $(FICL_TAG).tar.gz
-FICL_SITE = https://sourceforge.net/projects/ficl/files/ficl-all/$(FICL_TAG)
-FICL_LICENSE = BSD-2-Clause
-FICL_LICENSE_FILES = ReadMe.txt
+FICL_SITE = $(call github,jwsadler58,ficl,$(FICL_TAG))
+FICL_LICENSE = BSD-3-Clause
+FICL_LICENSE_FILES = LICENSE
 FICL_INSTALL_STAGING = YES
 
-ifeq ($(BR2_STATIC_LIBS),y)
-FICL_BUILD_TARGETS += ficl
-define FICL_INSTALL_STATIC_BIN
-	$(INSTALL) -D -m 0755 $(@D)/ficl $(TARGET_DIR)/usr/bin/ficl
-endef
-endif
-
-ifeq ($(BR2_STATIC_LIBS)$(BR2_SHARED_STATIC_LIBS),y)
-FICL_BUILD_TARGETS += libficl.a
-define FICL_INSTALL_STATIC_LIB
-	$(INSTALL) -D -m 0644 $(@D)/libficl.a $(STAGING_DIR)/usr/lib/libficl.a
-endef
-endif
-
-ifeq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y)
-FICL_BUILD_TARGETS += testmain libficl.so.$(FICL_VERSION_SO)
-define FICL_INSTALL_SHARED_BIN
-	$(INSTALL) -D -m 0755 $(@D)/testmain $(TARGET_DIR)/usr/bin/ficl
-endef
-define FICL_INSTALL_SHARED_LIB
-	$(INSTALL) -D -m 0755 $(@D)/libficl.so.$(FICL_VERSION_SO) $(1)/usr/lib/libficl.so.$(FICL_VERSION_SO)
-	ln -sf libficl.so.$(FICL_VERSION_SO) $(1)/usr/lib/libficl.so.3
-	ln -sf libficl.so.$(FICL_VERSION_SO) $(1)/usr/lib/libficl.so
-endef
-endif
+FICL_DEPENDENCIES = host-python3
 
 define FICL_BUILD_CMDS
-	$(MAKE) -C $(@D) -f Makefile.linux $(TARGET_CONFIGURE_OPTS) \
-		CFLAGS="$(TARGET_CFLAGS) -fgnu89-inline -fPIC -I. -Dlinux" CPPFLAGS="" $(FICL_BUILD_TARGETS)
+	# workaround for static_assert on uclibc-ng < 1.0.42
+	$(MAKE) -C $(@D) -f makefile.linux $(TARGET_CONFIGURE_OPTS) \
+		CFLAGS="$(TARGET_CFLAGS) -std=c11 -Dlinux -D_POSIX_C_SOURCE=200809L -Dstatic_assert=_Static_assert -I. " CPPFLAGS="" ficl
 endef
 
 define FICL_INSTALL_STAGING_CMDS
-	$(FICL_INSTALL_STATIC_LIB)
-	$(call FICL_INSTALL_SHARED_LIB,$(STAGING_DIR))
+	$(INSTALL) -D -m 0644 $(@D)/libficl.a $(STAGING_DIR)/usr/lib/libficl.a
 	$(INSTALL) -D -m 0644 $(@D)/ficl.h $(STAGING_DIR)/usr/include/ficl.h
 endef
 
 define FICL_INSTALL_TARGET_CMDS
-	$(FICL_INSTALL_STATIC_BIN)
-	$(FICL_INSTALL_SHARED_BIN)
-	$(call FICL_INSTALL_SHARED_LIB,$(TARGET_DIR))
+	$(INSTALL) -D -m 0755 $(@D)/ficl $(TARGET_DIR)/usr/bin/ficl
 endef
 
 $(eval $(generic-package))
-- 
2.43.0

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

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

* Re: [Buildroot] [PATCH v3 1/2] package/ficl: downgrade to version 3.03
  2026-04-22 16:31 ` [Buildroot] [PATCH v3 1/2] package/ficl: downgrade to version 3.03 Francois Perrad via buildroot
@ 2026-04-23 19:54   ` Julien Olivain via buildroot
  2026-05-04 14:47   ` Thomas Perale via buildroot
  1 sibling, 0 replies; 6+ messages in thread
From: Julien Olivain via buildroot @ 2026-04-23 19:54 UTC (permalink / raw)
  To: Francois Perrad; +Cc: buildroot

On 22/04/2026 18:31, Francois Perrad via buildroot wrote:
> see https://sourceforge.net/p/ficl/news/2025/07/ficl4-is-retiring/
> 
> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>

Series applied to master, thanks.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH v3 2/2] package/ficl: bump to version 3.065
  2026-04-22 16:31 ` [Buildroot] [PATCH v3 2/2] package/ficl: bump to version 3.065 Francois Perrad via buildroot
@ 2026-05-04 14:47   ` Thomas Perale via buildroot
  0 siblings, 0 replies; 6+ messages in thread
From: Thomas Perale via buildroot @ 2026-05-04 14:47 UTC (permalink / raw)
  To: Francois Perrad; +Cc: Thomas Perale, buildroot

In reply of:
> - sources are now hosted on Github
> - ficl have its own LICENSE file
> - remove one upstreamed patch
> - support only static lib
> - requires C11
> 
> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>

Applied to 2025.02.x & 2026.02.x. Thanks

> ---
>  ...=> 0001-makefile.linux-pass-LDFLAGS.patch} | 30 ++++++------
>  package/ficl/0001-missing-include.patch       | 26 ----------
>  package/ficl/Config.in                        |  6 ++-
>  package/ficl/ficl.hash                        |  4 +-
>  package/ficl/ficl.mk                          | 47 ++++---------------
>  5 files changed, 33 insertions(+), 80 deletions(-)
>  rename package/ficl/{0002-Makefile.linux-pass-LDFLAGS.patch => 0001-makefile.linux-pass-LDFLAGS.patch} (70%)
>  delete mode 100644 package/ficl/0001-missing-include.patch
> 
> diff --git a/package/ficl/0002-Makefile.linux-pass-LDFLAGS.patch b/package/ficl/0001-makefile.linux-pass-LDFLAGS.patch
> similarity index 70%
> rename from package/ficl/0002-Makefile.linux-pass-LDFLAGS.patch
> rename to package/ficl/0001-makefile.linux-pass-LDFLAGS.patch
> index aa5c00edb..1ac86466d 100644
> --- a/package/ficl/0002-Makefile.linux-pass-LDFLAGS.patch
> +++ b/package/ficl/0001-makefile.linux-pass-LDFLAGS.patch
> @@ -17,23 +17,25 @@ Upstream: upstream is dead
>  Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
>  [francois: downgrade to 3.03]
>  Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
> +[francois: upgrade to 3.065]
> +Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
>  ---
> - Makefile.linux | 2 +-
> + makefile.linux | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>  
> -diff --git a/Makefile.linux b/Makefile.linux
> -index 5f1a41f..df887e6 100644
> ---- a/Makefile.linux
> -+++ b/Makefile.linux
> -@@ -13,7 +13,7 @@ MAJOR = 3
> - MINOR = 0.1
> - 
> - ficl: testmain.o ficl.h sysdep.h libficl.a
> --	$(CC) testmain.o -o ficl -L. -lficl -lm
> -+	$(CC) $(LDFLAGS) testmain.o -o ficl -L. -lficl -lm
> - 
> - lib: libficl.so.$(MAJOR).$(MINOR)
> - 
> +diff --git a/makefile.linux b/makefile.linux
> +index 1e467ea..fad7059 100755
> +--- a/makefile.linux
> ++++ b/makefile.linux
> +@@ -26,7 +26,7 @@ libficl.a: $(OBJECTS)
> + 
> + # === Console Test executable ===
> + ficl: $(FICL_TEST_OBJ) ficl.h sysdep.h libficl.a
> +-	$(CC) $(FICL_TEST_OBJ) -o ficl -L. -lficl -lm
> ++	$(CC) $(LDFLAGS) $(FICL_TEST_OBJ) -o ficl -L. -lficl -lm
> + 
> + # === Compile rules ===
> + .SUFFIXES: .cxx .cc .c .o
>  -- 
>  2.35.1
>  
> diff --git a/package/ficl/0001-missing-include.patch b/package/ficl/0001-missing-include.patch
> deleted file mode 100644
> index a52089623..000000000
> --- a/package/ficl/0001-missing-include.patch
> +++ /dev/null
> @@ -1,26 +0,0 @@
> -From 87c78eea2c4ac69c09947c8e49f8e8668640071c Mon Sep 17 00:00:00 2001
> -From: Francois Perrad <francois.perrad@gadz.org>
> -Date: Sun, 7 Dec 2025 10:15:27 +0100
> -Subject: [PATCH] missing include
> -
> -Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
> -Upstream: upstream is dead
> ----
> - fileaccess.c | 1 +
> - 1 file changed, 1 insertion(+)
> -
> -diff --git a/fileaccess.c b/fileaccess.c
> -index 738889d..c03d5d6 100644
> ---- a/fileaccess.c
> -+++ b/fileaccess.c
> -@@ -4,6 +4,7 @@
> - #include <string.h>
> - #include <ctype.h>
> - #include <sys/stat.h>
> -+#include <unistd.h>
> - #include "ficl.h"
> - 
> - #if FICL_WANT_FILE
> --- 
> -2.43.0
> -
> diff --git a/package/ficl/Config.in b/package/ficl/Config.in
> index 4d9ab4a5b..21861652e 100644
> --- a/package/ficl/Config.in
> +++ b/package/ficl/Config.in
> @@ -1,9 +1,13 @@
>  config BR2_PACKAGE_FICL
>  	bool "ficl"
> +	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_6 # C11/static_assert
>  	help
>  	  Ficl is a programming language interpreter designed to be
>  	  embedded into other systems as a command, macro, and
>  	  development prototyping language.
>  	  Ficl is an acronym for "Forth Inspired Command Language".
>  
> -	  http://ficl.sourceforge.net
> +	  https://ficl.sourceforge.net/
> +
> +comment "ficl needs a gcc >= 4.6"
> +	depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
> diff --git a/package/ficl/ficl.hash b/package/ficl/ficl.hash
> index 1a4a54e70..6023708ff 100644
> --- a/package/ficl/ficl.hash
> +++ b/package/ficl/ficl.hash
> @@ -1,3 +1,3 @@
>  # Locally computed:
> -sha256  064abbea44b2cbbeb53b8df8e5588ed41c4d32dd19bdb897e5d21507691407b2  ficl303.tar.gz
> -sha256  18527f5cdc213d29fb65791e153690974e5426b7e989f3b8eee61c2e5f9e5fcd  ReadMe.txt
> +sha256  09a4649a68a075999c2bc26129cf233c4d672335a9c68b98ffcbf1bc8962e5e1  ficl3065.tar.gz
> +sha256  b7a894f23d7d7302852405b3d1b6fd88e76b4c116a68f046d4547c073c75d3ea  LICENSE
> diff --git a/package/ficl/ficl.mk b/package/ficl/ficl.mk
> index ef2e1408c..1ab1bb6a3 100644
> --- a/package/ficl/ficl.mk
> +++ b/package/ficl/ficl.mk
> @@ -4,56 +4,29 @@
>  #
>  ################################################################################
>  
> -FICL_VERSION = 3.03
> +FICL_VERSION = 3.065
>  FICL_TAG = ficl$(subst .,,$(FICL_VERSION))
> -FICL_VERSION_SO = 3.0.1
>  FICL_SOURCE = $(FICL_TAG).tar.gz
> -FICL_SITE = https://sourceforge.net/projects/ficl/files/ficl-all/$(FICL_TAG)
> -FICL_LICENSE = BSD-2-Clause
> -FICL_LICENSE_FILES = ReadMe.txt
> +FICL_SITE = $(call github,jwsadler58,ficl,$(FICL_TAG))
> +FICL_LICENSE = BSD-3-Clause
> +FICL_LICENSE_FILES = LICENSE
>  FICL_INSTALL_STAGING = YES
>  
> -ifeq ($(BR2_STATIC_LIBS),y)
> -FICL_BUILD_TARGETS += ficl
> -define FICL_INSTALL_STATIC_BIN
> -	$(INSTALL) -D -m 0755 $(@D)/ficl $(TARGET_DIR)/usr/bin/ficl
> -endef
> -endif
> -
> -ifeq ($(BR2_STATIC_LIBS)$(BR2_SHARED_STATIC_LIBS),y)
> -FICL_BUILD_TARGETS += libficl.a
> -define FICL_INSTALL_STATIC_LIB
> -	$(INSTALL) -D -m 0644 $(@D)/libficl.a $(STAGING_DIR)/usr/lib/libficl.a
> -endef
> -endif
> -
> -ifeq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y)
> -FICL_BUILD_TARGETS += testmain libficl.so.$(FICL_VERSION_SO)
> -define FICL_INSTALL_SHARED_BIN
> -	$(INSTALL) -D -m 0755 $(@D)/testmain $(TARGET_DIR)/usr/bin/ficl
> -endef
> -define FICL_INSTALL_SHARED_LIB
> -	$(INSTALL) -D -m 0755 $(@D)/libficl.so.$(FICL_VERSION_SO) $(1)/usr/lib/libficl.so.$(FICL_VERSION_SO)
> -	ln -sf libficl.so.$(FICL_VERSION_SO) $(1)/usr/lib/libficl.so.3
> -	ln -sf libficl.so.$(FICL_VERSION_SO) $(1)/usr/lib/libficl.so
> -endef
> -endif
> +FICL_DEPENDENCIES = host-python3
>  
>  define FICL_BUILD_CMDS
> -	$(MAKE) -C $(@D) -f Makefile.linux $(TARGET_CONFIGURE_OPTS) \
> -		CFLAGS="$(TARGET_CFLAGS) -fgnu89-inline -fPIC -I. -Dlinux" CPPFLAGS="" $(FICL_BUILD_TARGETS)
> +	# workaround for static_assert on uclibc-ng < 1.0.42
> +	$(MAKE) -C $(@D) -f makefile.linux $(TARGET_CONFIGURE_OPTS) \
> +		CFLAGS="$(TARGET_CFLAGS) -std=c11 -Dlinux -D_POSIX_C_SOURCE=200809L -Dstatic_assert=_Static_assert -I. " CPPFLAGS="" ficl
>  endef
>  
>  define FICL_INSTALL_STAGING_CMDS
> -	$(FICL_INSTALL_STATIC_LIB)
> -	$(call FICL_INSTALL_SHARED_LIB,$(STAGING_DIR))
> +	$(INSTALL) -D -m 0644 $(@D)/libficl.a $(STAGING_DIR)/usr/lib/libficl.a
>  	$(INSTALL) -D -m 0644 $(@D)/ficl.h $(STAGING_DIR)/usr/include/ficl.h
>  endef
>  
>  define FICL_INSTALL_TARGET_CMDS
> -	$(FICL_INSTALL_STATIC_BIN)
> -	$(FICL_INSTALL_SHARED_BIN)
> -	$(call FICL_INSTALL_SHARED_LIB,$(TARGET_DIR))
> +	$(INSTALL) -D -m 0755 $(@D)/ficl $(TARGET_DIR)/usr/bin/ficl
>  endef
>  
>  $(eval $(generic-package))
> -- 
> 2.43.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH v3 1/2] package/ficl: downgrade to version 3.03
  2026-04-22 16:31 ` [Buildroot] [PATCH v3 1/2] package/ficl: downgrade to version 3.03 Francois Perrad via buildroot
  2026-04-23 19:54   ` Julien Olivain via buildroot
@ 2026-05-04 14:47   ` Thomas Perale via buildroot
  1 sibling, 0 replies; 6+ messages in thread
From: Thomas Perale via buildroot @ 2026-05-04 14:47 UTC (permalink / raw)
  To: Francois Perrad; +Cc: Thomas Perale, buildroot

In reply of:
> see https://sourceforge.net/p/ficl/news/2025/07/ficl4-is-retiring/
> 
> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>

Applied to 2025.02.x & 2026.02.x. Thanks

> ---
>  .checkpackageignore                           |  1 -
>  package/ficl/0001-fix-Makefile.patch          | 47 -------------------
>  package/ficl/0001-missing-include.patch       | 26 ++++++++++
>  .../0002-Makefile.linux-pass-LDFLAGS.patch    | 19 ++++----
>  package/ficl/ficl.hash                        |  4 +-
>  package/ficl/ficl.mk                          | 20 ++++----
>  6 files changed, 49 insertions(+), 68 deletions(-)
>  delete mode 100644 package/ficl/0001-fix-Makefile.patch
>  create mode 100644 package/ficl/0001-missing-include.patch
> 
> diff --git a/.checkpackageignore b/.checkpackageignore
> index 695e0d50c..6b391d926 100644
> --- a/.checkpackageignore
> +++ b/.checkpackageignore
> @@ -343,7 +343,6 @@ package/ffmpeg/0001-swscale-x86-yuv2rgb-Fix-build-without-SSSE3.patch lib_patch.
>  package/ffmpeg/0002-avcodec-vaapi_h264-skip-decode-if-pic-has-no-slices.patch lib_patch.Upstream
>  package/ffmpeg/0003-libavutil-Fix-mips-build.patch lib_patch.Upstream
>  package/ffmpeg/0004-configure-add-extralibs-to-extralibs_xxx.patch lib_patch.Upstream
> -package/ficl/0001-fix-Makefile.patch lib_patch.Upstream
>  package/flatbuffers/0001-include-flatbuffers-base.h-fix-build-on-musl.patch lib_patch.Upstream
>  package/flex/0001-build-AC_USE_SYSTEM_EXTENSIONS-in-configure.ac.patch lib_patch.Upstream
>  package/flex/0002-build-make-it-possible-to-disable-the-build-of-the-f.patch lib_patch.Upstream
> diff --git a/package/ficl/0001-fix-Makefile.patch b/package/ficl/0001-fix-Makefile.patch
> deleted file mode 100644
> index d5a25c43f..000000000
> --- a/package/ficl/0001-fix-Makefile.patch
> +++ /dev/null
> @@ -1,47 +0,0 @@
> -fix dependency in Makefiles
> -
> -there is no longer a sysdep.h file.
> -
> -Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
> -
> -diff --git a/Makefile b/Makefile
> -index 976d00a..7f73c44 100644
> ---- a/Makefile
> -+++ b/Makefile
> -@@ -29,7 +29,7 @@ libficl.so.$(MAJOR).$(MINOR): $(OBJECTS)
> - 	-o libficl.so.$(MAJOR).$(MINOR) $(OBJECTS)
> - 	ln -sf libficl.so.$(MAJOR).$(MINOR) libficl.so
> - 
> --main: main.o ficl.h sysdep.h libficl.so.$(MAJOR).$(MINOR)
> -+main: main.o ficl.h libficl.so.$(MAJOR).$(MINOR)
> - 	$(CC) $(CFLAGS) $(LDFLAGS) main.o -o main -L. -lficl -lm
> - 	ln -sf libficl.so.$(MAJOR).$(MINOR) libficl.so.$(MAJOR)
> - 
> -diff --git a/Makefile.ansi b/Makefile.ansi
> -index e510fcd..170e6eb 100644
> ---- a/Makefile.ansi
> -+++ b/Makefile.ansi
> -@@ -29,7 +29,7 @@ libficl.so.$(MAJOR).$(MINOR): $(OBJECTS)
> - 	-o libficl.so.$(MAJOR).$(MINOR) $(OBJECTS)
> - 	ln -sf libficl.so.$(MAJOR).$(MINOR) libficl.so
> - 
> --main: main.o ficl.h sysdep.h libficl.so.$(MAJOR).$(MINOR)
> -+main: main.o ficl.h libficl.so.$(MAJOR).$(MINOR)
> - 	$(CC) main.o -o main -L. -lficl -lm
> - 	ln -sf libficl.so.$(MAJOR).$(MINOR) libficl.so.$(MAJOR)
> - 
> -diff --git a/Makefile.linux b/Makefile.linux
> -index d447e7e..7f2cdfe 100644
> ---- a/Makefile.linux
> -+++ b/Makefile.linux
> -@@ -29,7 +29,7 @@ libficl.so.$(MAJOR).$(MINOR): $(OBJECTS)
> - 	-o libficl.so.$(MAJOR).$(MINOR) $(OBJECTS)
> - 	ln -sf libficl.so.$(MAJOR).$(MINOR) libficl.so
> - 
> --main: main.o ficl.h sysdep.h libficl.so.$(MAJOR).$(MINOR)
> -+main: main.o ficl.h libficl.so.$(MAJOR).$(MINOR)
> - 	$(CC) main.o -o main -L. -lficl -lm
> - 	ln -sf libficl.so.$(MAJOR).$(MINOR) libficl.so.$(MAJOR)
> - 
> --- 
> -
> diff --git a/package/ficl/0001-missing-include.patch b/package/ficl/0001-missing-include.patch
> new file mode 100644
> index 000000000..a52089623
> --- /dev/null
> +++ b/package/ficl/0001-missing-include.patch
> @@ -0,0 +1,26 @@
> +From 87c78eea2c4ac69c09947c8e49f8e8668640071c Mon Sep 17 00:00:00 2001
> +From: Francois Perrad <francois.perrad@gadz.org>
> +Date: Sun, 7 Dec 2025 10:15:27 +0100
> +Subject: [PATCH] missing include
> +
> +Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
> +Upstream: upstream is dead
> +---
> + fileaccess.c | 1 +
> + 1 file changed, 1 insertion(+)
> +
> +diff --git a/fileaccess.c b/fileaccess.c
> +index 738889d..c03d5d6 100644
> +--- a/fileaccess.c
> ++++ b/fileaccess.c
> +@@ -4,6 +4,7 @@
> + #include <string.h>
> + #include <ctype.h>
> + #include <sys/stat.h>
> ++#include <unistd.h>
> + #include "ficl.h"
> + 
> + #if FICL_WANT_FILE
> +-- 
> +2.43.0
> +
> diff --git a/package/ficl/0002-Makefile.linux-pass-LDFLAGS.patch b/package/ficl/0002-Makefile.linux-pass-LDFLAGS.patch
> index dd9e16412..aa5c00edb 100644
> --- a/package/ficl/0002-Makefile.linux-pass-LDFLAGS.patch
> +++ b/package/ficl/0002-Makefile.linux-pass-LDFLAGS.patch
> @@ -15,6 +15,8 @@ Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
>  Upstream: upstream is dead
>  [Dario: make the patch to be applied with fuzz factor 0]
>  Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
> +[francois: downgrade to 3.03]
> +Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
>  ---
>   Makefile.linux | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> @@ -23,14 +25,15 @@ diff --git a/Makefile.linux b/Makefile.linux
>  index 5f1a41f..df887e6 100644
>  --- a/Makefile.linux
>  +++ b/Makefile.linux
> -@@ -14,6 +14,6 @@ MINOR = 1.0
> - 
> - ficl: main.o $(HEADERS) libficl.a
> --	$(CC) main.o -o ficl -L. -lficl -lm
> -+	$(CC) $(LDFLAGS) main.o -o ficl -L. -lficl -lm
> - 
> - lib: libficl.so.$(MAJOR).$(MINOR)
> - 
> +@@ -13,7 +13,7 @@ MAJOR = 3
> + MINOR = 0.1
> + 
> + ficl: testmain.o ficl.h sysdep.h libficl.a
> +-	$(CC) testmain.o -o ficl -L. -lficl -lm
> ++	$(CC) $(LDFLAGS) testmain.o -o ficl -L. -lficl -lm
> + 
> + lib: libficl.so.$(MAJOR).$(MINOR)
> + 
>  -- 
>  2.35.1
>  
> diff --git a/package/ficl/ficl.hash b/package/ficl/ficl.hash
> index df53c843c..1a4a54e70 100644
> --- a/package/ficl/ficl.hash
> +++ b/package/ficl/ficl.hash
> @@ -1,3 +1,3 @@
>  # Locally computed:
> -sha256  4daf74f3d3d6f8b86ea7cb47bc24931d50b4809b50ba34ca32e0ca1e972bd3a3  ficl-4.1.0.tar.gz
> -sha256  1d1dd1f1cde52e8b607c5ccb6a2e5de878fd1719b8c5a4d31b9cdb343c203d0d  ReadMe.txt
> +sha256  064abbea44b2cbbeb53b8df8e5588ed41c4d32dd19bdb897e5d21507691407b2  ficl303.tar.gz
> +sha256  18527f5cdc213d29fb65791e153690974e5426b7e989f3b8eee61c2e5f9e5fcd  ReadMe.txt
> diff --git a/package/ficl/ficl.mk b/package/ficl/ficl.mk
> index c0698a343..ef2e1408c 100644
> --- a/package/ficl/ficl.mk
> +++ b/package/ficl/ficl.mk
> @@ -4,9 +4,11 @@
>  #
>  ################################################################################
>  
> -FICL_VERSION_MAJOR = 4.1
> -FICL_VERSION = $(FICL_VERSION_MAJOR).0
> -FICL_SITE = https://sourceforge.net/projects/ficl/files/OldFiles/Ficl4%20%28retired%29
> +FICL_VERSION = 3.03
> +FICL_TAG = ficl$(subst .,,$(FICL_VERSION))
> +FICL_VERSION_SO = 3.0.1
> +FICL_SOURCE = $(FICL_TAG).tar.gz
> +FICL_SITE = https://sourceforge.net/projects/ficl/files/ficl-all/$(FICL_TAG)
>  FICL_LICENSE = BSD-2-Clause
>  FICL_LICENSE_FILES = ReadMe.txt
>  FICL_INSTALL_STAGING = YES
> @@ -26,14 +28,14 @@ endef
>  endif
>  
>  ifeq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y)
> -FICL_BUILD_TARGETS += main libficl.so.$(FICL_VERSION)
> +FICL_BUILD_TARGETS += testmain libficl.so.$(FICL_VERSION_SO)
>  define FICL_INSTALL_SHARED_BIN
> -	$(INSTALL) -D -m 0755 $(@D)/main $(TARGET_DIR)/usr/bin/ficl
> +	$(INSTALL) -D -m 0755 $(@D)/testmain $(TARGET_DIR)/usr/bin/ficl
>  endef
>  define FICL_INSTALL_SHARED_LIB
> -	$(INSTALL) -D -m 0755 $(@D)/libficl.so.$(FICL_VERSION) $(1)/usr/lib/libficl.so.$(FICL_VERSION)
> -	ln -sf libficl.so.$(FICL_VERSION) $(1)/usr/lib/libficl.so.4
> -	ln -sf libficl.so.$(FICL_VERSION) $(1)/usr/lib/libficl.so
> +	$(INSTALL) -D -m 0755 $(@D)/libficl.so.$(FICL_VERSION_SO) $(1)/usr/lib/libficl.so.$(FICL_VERSION_SO)
> +	ln -sf libficl.so.$(FICL_VERSION_SO) $(1)/usr/lib/libficl.so.3
> +	ln -sf libficl.so.$(FICL_VERSION_SO) $(1)/usr/lib/libficl.so
>  endef
>  endif
>  
> @@ -46,8 +48,6 @@ define FICL_INSTALL_STAGING_CMDS
>  	$(FICL_INSTALL_STATIC_LIB)
>  	$(call FICL_INSTALL_SHARED_LIB,$(STAGING_DIR))
>  	$(INSTALL) -D -m 0644 $(@D)/ficl.h $(STAGING_DIR)/usr/include/ficl.h
> -	$(INSTALL) -D -m 0644 $(@D)/ficllocal.h $(STAGING_DIR)/usr/include/ficllocal.h
> -	$(INSTALL) -D -m 0644 $(@D)/ficlplatform/unix.h $(STAGING_DIR)/usr/include/ficlplatform/unix.h
>  endef
>  
>  define FICL_INSTALL_TARGET_CMDS
> -- 
> 2.43.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2026-05-04 14:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-22 16:31 [Buildroot] [PATCH v3 0/2] ficl Francois Perrad via buildroot
2026-04-22 16:31 ` [Buildroot] [PATCH v3 1/2] package/ficl: downgrade to version 3.03 Francois Perrad via buildroot
2026-04-23 19:54   ` Julien Olivain via buildroot
2026-05-04 14:47   ` Thomas Perale via buildroot
2026-04-22 16:31 ` [Buildroot] [PATCH v3 2/2] package/ficl: bump to version 3.065 Francois Perrad via buildroot
2026-05-04 14:47   ` Thomas Perale via buildroot

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