public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/gnucobol/, dev-lang/gnucobol/files/
@ 2023-12-20 21:56 Alfredo Tupone
  0 siblings, 0 replies; 2+ messages in thread
From: Alfredo Tupone @ 2023-12-20 21:56 UTC (permalink / raw
  To: gentoo-commits

commit:     dacd3a7b9111a3a590da3ce4a4a04dff012e5790
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 20 21:55:59 2023 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Dec 20 21:56:31 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dacd3a7b

dev-lang/gnucobol: fix undefined symbol

Closes: https://bugs.gentoo.org/913558
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-lang/gnucobol/files/gnucobol-3.1.2-ncurses.patch | 20 ++++++++++++++++++++
 dev-lang/gnucobol/gnucobol-3.1.2.ebuild              |  7 +++++--
 2 files changed, 25 insertions(+), 2 deletions(-)

diff --git a/dev-lang/gnucobol/files/gnucobol-3.1.2-ncurses.patch b/dev-lang/gnucobol/files/gnucobol-3.1.2-ncurses.patch
new file mode 100644
index 000000000000..b778f57764b1
--- /dev/null
+++ b/dev-lang/gnucobol/files/gnucobol-3.1.2-ncurses.patch
@@ -0,0 +1,20 @@
+--- a/configure.ac	2023-12-20 22:48:44.764596449 +0100
++++ b/configure.ac	2023-12-20 22:50:10.493170634 +0100
+@@ -1109,7 +1109,7 @@
+            USE_CURSES="missing_header"
+          fi], [])], [])
+     if test "$USE_CURSES" = "ncursesw"; then
+-      LIBCOB_LIBS="$LIBCOB_LIBS -lncursesw"
++      LIBCOB_LIBS="$LIBCOB_LIBS $(ncursesw6-config --libs)"
+     fi
+   else
+     if test "$USE_CURSES" = "ncursesw"; then
+@@ -1128,7 +1128,7 @@
+               USE_CURSES="missing_header"
+             fi], [])], [])], [])
+     if test "$USE_CURSES" = "ncurses"; then
+-      LIBCOB_LIBS="$LIBCOB_LIBS -lncurses"
++      LIBCOB_LIBS="$LIBCOB_LIBS $(ncurses6-config --libs)"
+     fi
+   else
+     if test "$USE_CURSES" = "ncurses"; then

diff --git a/dev-lang/gnucobol/gnucobol-3.1.2.ebuild b/dev-lang/gnucobol/gnucobol-3.1.2.ebuild
index b6419a90cf82..bfd13e668871 100644
--- a/dev-lang/gnucobol/gnucobol-3.1.2.ebuild
+++ b/dev-lang/gnucobol/gnucobol-3.1.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -26,7 +26,10 @@ BDEPEND="sys-devel/libtool"
 
 DOCS=( AUTHORS ChangeLog NEWS README README.md )
 
-PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
+PATCHES=(
+	"${FILESDIR}"/${P}-gentoo.patch
+	"${FILESDIR}"/${P}-ncurses.patch
+)
 
 src_prepare() {
 	default


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

* [gentoo-commits] repo/gentoo:master commit in: dev-lang/gnucobol/, dev-lang/gnucobol/files/
@ 2024-03-10 14:17 Alfredo Tupone
  0 siblings, 0 replies; 2+ messages in thread
From: Alfredo Tupone @ 2024-03-10 14:17 UTC (permalink / raw
  To: gentoo-commits

commit:     c91502542cc1530cb70ba4f6dd510e5b4da6a992
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 10 10:19:05 2024 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Mar 10 14:16:53 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9150254

dev-lang/gnucobol: include parser.h

Closes: https://bugs.gentoo.org/925712
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-lang/gnucobol/files/gnucobol-3.2-libxml.patch | 10 ++++++++++
 dev-lang/gnucobol/gnucobol-3.2.ebuild             |  1 +
 2 files changed, 11 insertions(+)

diff --git a/dev-lang/gnucobol/files/gnucobol-3.2-libxml.patch b/dev-lang/gnucobol/files/gnucobol-3.2-libxml.patch
new file mode 100644
index 000000000000..b6c4f5002565
--- /dev/null
+++ b/dev-lang/gnucobol/files/gnucobol-3.2-libxml.patch
@@ -0,0 +1,10 @@
+--- a/libcob/common.c	2024-03-10 11:12:23.253391905 +0100
++++ b/libcob/common.c	2024-03-10 11:12:46.433130551 +0100
+@@ -136,6 +136,7 @@
+ #if defined (WITH_XML2)
+ #include <libxml/xmlversion.h>
+ #include <libxml/xmlwriter.h>
++#include <libxml/parser.h>
+ #endif
+ 
+ #if defined (WITH_CJSON)

diff --git a/dev-lang/gnucobol/gnucobol-3.2.ebuild b/dev-lang/gnucobol/gnucobol-3.2.ebuild
index 26cb539a6333..8bbbcbd6d2d9 100644
--- a/dev-lang/gnucobol/gnucobol-3.2.ebuild
+++ b/dev-lang/gnucobol/gnucobol-3.2.ebuild
@@ -28,6 +28,7 @@ DOCS=( AUTHORS ChangeLog NEWS README README.md )
 
 PATCHES=(
 	"${FILESDIR}"/${PN}-3.1.2-gentoo.patch
+	"${FILESDIR}"/${P}-libxml.patch
 )
 
 src_prepare() {


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

end of thread, other threads:[~2024-03-10 14:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-20 21:56 [gentoo-commits] repo/gentoo:master commit in: dev-lang/gnucobol/, dev-lang/gnucobol/files/ Alfredo Tupone
  -- strict thread matches above, loose matches on Subject: below --
2024-03-10 14:17 Alfredo Tupone

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