summaryrefslogtreecommitdiff
path: root/flx
diff options
context:
space:
mode:
authorBertrand Jacquin <bertrand@jacquin.bzh>2023-01-21 17:13:50 +0000
committerBertrand Jacquin <bertrand@jacquin.bzh>2023-01-21 17:16:15 +0000
commit9c2eca959cbd3b426c3854f6b0b35a792d186d96 (patch)
tree91ce5ed0882aada815a0ace65365dc02f328413b /flx
parentsys-auth/pam_pwdfile: deprecate eutils (diff)
downloadportage-9c2eca959cbd3b426c3854f6b0b35a792d186d96.tar.xz
flx/flx: deprecate eutils
Diffstat (limited to 'flx')
-rw-r--r--flx/flx/files/0.1.35-flx-explicit-definition-of-major.patch21
-rw-r--r--flx/flx/files/0.1.35-flx-remove-duplicate-definition-of-Progname.patch21
-rw-r--r--flx/flx/flx-0.1.35.ebuild4
-rw-r--r--flx/flx/flx-9999.ebuild2
4 files changed, 46 insertions, 2 deletions
diff --git a/flx/flx/files/0.1.35-flx-explicit-definition-of-major.patch b/flx/flx/files/0.1.35-flx-explicit-definition-of-major.patch
new file mode 100644
index 00000000..2e743045
--- /dev/null
+++ b/flx/flx/files/0.1.35-flx-explicit-definition-of-major.patch
@@ -0,0 +1,21 @@
+From 36dda2c476f0d3c6c45b389507c6d6003883adc6 Mon Sep 17 00:00:00 2001
+From: Bertrand Jacquin <bertrand@jacquin.bzh>
+Date: Sat, 21 Jan 2023 17:12:08 +0000
+Subject: [PATCH] flx: explicit definition of major()
+
+---
+ flx/fct1.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/flx/fct1.c b/flx/fct1.c
+index 9fa4a2d49c2b..7a892e166186 100644
+--- a/flx/fct1.c
++++ b/flx/fct1.c
+@@ -13,6 +13,7 @@
+ #include <string.h>
+ #include <time.h>
+ #include <stdlib.h>
++#include <sys/sysmacros.h>
+
+ #include "flx.h"
+ #include "utils.h"
diff --git a/flx/flx/files/0.1.35-flx-remove-duplicate-definition-of-Progname.patch b/flx/flx/files/0.1.35-flx-remove-duplicate-definition-of-Progname.patch
new file mode 100644
index 00000000..4748ef38
--- /dev/null
+++ b/flx/flx/files/0.1.35-flx-remove-duplicate-definition-of-Progname.patch
@@ -0,0 +1,21 @@
+From e7b768fe92c40ada8a9142668b31f494251afa92 Mon Sep 17 00:00:00 2001
+From: Bertrand Jacquin <bertrand@jacquin.bzh>
+Date: Sat, 21 Jan 2023 17:10:55 +0000
+Subject: [PATCH] flx: remove duplicate definition of Progname
+
+---
+ flx/arg.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/flx/arg.c b/flx/arg.c
+index 1ed8848dd216..a0ec8cdebeae 100644
+--- a/flx/arg.c
++++ b/flx/arg.c
+@@ -11,7 +11,6 @@
+ #define TSHORT 2
+ #define TLONG 4
+
+-char *Progname ;
+
+
+ /* show usage for program with ParamOptions global pointer
diff --git a/flx/flx/flx-0.1.35.ebuild b/flx/flx/flx-0.1.35.ebuild
index e4f5af61..c1db2d82 100644
--- a/flx/flx/flx-0.1.35.ebuild
+++ b/flx/flx/flx-0.1.35.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit git-r3 toolchain-funcs eutils
+inherit git-r3 toolchain-funcs
DESCRIPTION="Formilux Tools"
HOMEPAGE="http://git.formilux.org/?p=dist/src/flxutils.git"
@@ -17,6 +17,8 @@ IUSE=""
PATCHES=(
"${FILESDIR}/${PV}-MEDIUM-Remove-strip-and-uclibc.patch"
"${FILESDIR}/${PV}-MEDIUM-Respect-CFLAGS-and-LDFLAGS.patch"
+ "${FILESDIR}/${PV}-flx-remove-duplicate-definition-of-Progname.patch"
+ "${FILESDIR}/${PV}-flx-explicit-definition-of-major.patch"
)
src_prepare () {
diff --git a/flx/flx/flx-9999.ebuild b/flx/flx/flx-9999.ebuild
index 39026e96..9562484a 100644
--- a/flx/flx/flx-9999.ebuild
+++ b/flx/flx/flx-9999.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit git-r3 toolchain-funcs eutils
+inherit git-r3 toolchain-funcs
DESCRIPTION="Formilux Tools"
HOMEPAGE="http://git.formilux.org/?p=dist/src/flxutils.git"