From 6ca8c2ef2bffdfec8cc95c049ac3f2230dc6ca82 Mon Sep 17 00:00:00 2001
From: Till Wegmüller <toasterson@gmail.com>
Date: Sun, 07 Apr 2024 19:19:55 +0200
Subject: [PATCH] component(library/readline): Update to 8.2.10 with 6.3 as new compat

---
 components/library/readline/readline.p5m |   32 +++++++++++++-------------------
 1 files changed, 13 insertions(+), 19 deletions(-)

diff --git a/components/library/readline/readline.p5m b/components/library/readline/readline.p5m
index a66c5fe..48be3c8 100644
--- a/components/library/readline/readline.p5m
+++ b/components/library/readline/readline.p5m
@@ -23,17 +23,7 @@
 set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
 set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
 
-#license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'
-
-# This license action only needed for the old readline 5.2 libraries.
-license readline-5.license license=GPLv2 \
-    com.oracle.info.description="GNU readline version 5 libraries" \
-    com.oracle.info.name=readline com.oracle.info.tpno=$(TPNO_V5) \
-    com.oracle.info.version=$(COMPONENT_VERSION)
-license readline.license license="GPLv3, FDLv1.3" \
-    com.oracle.info.description="GNU readline" com.oracle.info.name=readline \
-    com.oracle.info.tpno=$(TPNO_V6) \
-    com.oracle.info.version=$(COMPONENT_VERSION)
+license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'
 
 <transform file path=.+/share/info/dir -> drop>
 
@@ -47,18 +37,22 @@
 file path=usr/include/readline/rlstdc.h
 file path=usr/include/readline/rltypedefs.h
 file path=usr/include/readline/tilde.h
-link path=usr/lib/$(MACH64)/libhistory.so target=libhistory.so.6
-file path=usr/lib/$(MACH64)/libhistory.so.5
+link path=usr/lib/$(MACH64)/libhistory.so target=libhistory.so.8
 file path=usr/lib/$(MACH64)/libhistory.so.6
-link path=usr/lib/$(MACH64)/libreadline.so target=libreadline.so.6
-file path=usr/lib/$(MACH64)/libreadline.so.5
+file path=usr/lib/$(MACH64)/libhistory.so.8
+link path=usr/lib/$(MACH64)/libreadline.so target=libreadline.so.8
 file path=usr/lib/$(MACH64)/libreadline.so.6
-link path=usr/lib/libhistory.so target=libhistory.so.6
-file path=usr/lib/libhistory.so.5
+file path=usr/lib/$(MACH64)/libreadline.so.8
+file path=usr/lib/$(MACH64)/pkgconfig/history.pc
+file path=usr/lib/$(MACH64)/pkgconfig/readline.pc
+link path=usr/lib/libhistory.so target=libhistory.so.8
 file path=usr/lib/libhistory.so.6
-link path=usr/lib/libreadline.so target=libreadline.so.6
-file path=usr/lib/libreadline.so.5
+file path=usr/lib/libhistory.so.8
+link path=usr/lib/libreadline.so target=libreadline.so.8
 file path=usr/lib/libreadline.so.6
+file path=usr/lib/libreadline.so.8
+file path=usr/lib/pkgconfig/history.pc
+file path=usr/lib/pkgconfig/readline.pc
 file path=usr/share/doc/readline/CHANGES
 file path=usr/share/doc/readline/INSTALL
 file path=usr/share/doc/readline/README

--
Gitblit v1.9.3