* [gentoo-commits] repo/gentoo:master commit in: net-libs/rpcsvc-proto/files/
@ 2020-05-21 8:22 Sergei Trofimovich
0 siblings, 0 replies; 2+ messages in thread
From: Sergei Trofimovich @ 2020-05-21 8:22 UTC (permalink / raw
To: gentoo-commits
commit: 64cd87f5a8fe6e37c9195fa58c487b1e452ab9b9
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Wed May 20 15:34:31 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Thu May 21 08:22:44 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64cd87f5
net-libs/rpcsvc-proto: remove unused patch(es)
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
.../files/rpcsvc-proto-1.4-external-libintl.patch | 47 ----------------------
1 file changed, 47 deletions(-)
diff --git a/net-libs/rpcsvc-proto/files/rpcsvc-proto-1.4-external-libintl.patch b/net-libs/rpcsvc-proto/files/rpcsvc-proto-1.4-external-libintl.patch
deleted file mode 100644
index a5088735bbb..00000000000
--- a/net-libs/rpcsvc-proto/files/rpcsvc-proto-1.4-external-libintl.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-From 2527c37f956aa38408e251587556a6c8389af319 Mon Sep 17 00:00:00 2001
-From: Sergei Trofimovich <slyfox@gentoo.org>
-Date: Sun, 29 Dec 2019 23:38:28 +0000
-Subject: [PATCH] configure.ac: autodetect need for external libintl
-
-uclibc-ng and macos standard libraries don't provide libintl
-facilities. As a result build fails as
-(x86_64-gentoo-linux-uclibc example):
-
-```
-...
-gcc -g -O2 -o rpcgen rpc_clntout.o rpc_cout.o rpc_hout.o rpc_main.o rpc_parse.o rpc_sample.o rpc_scan.o rpc_svcout.o rpc_tblout.o rpc_util.o
-/usr/lib/gcc/x86_64-gentoo-linux-uclibc/9.2.0/../../../../x86_64-gentoo-linux-uclibc/bin/ld: rpc_main.o: in function `usage':
-/root/rpcsvc-proto/rpcgen/rpc_main.c:1403: undefined reference to `libintl_gettext'
-/usr/lib/gcc/x86_64-gentoo-linux-uclibc/9.2.0/../../../../x86_64-gentoo-linux-uclibc/bin/ld: /root/rpcsvc-proto/rpcgen/rpc_main.c:1404: undefined reference to `libintl_gettext'
-...
-```
-
-The change is simple: add gettext m4 macros to detect need
-for libintl and link to an external library if needed.
-
-Tested on x86_64-glibc and x86_64-uclibc-ng.
-
-Reported-by: Anton
-Bug: https://bugs.gentoo.org/637084
-Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
-
---- a/configure.ac
-+++ b/configure.ac
-@@ -16,4 +16,7 @@ AC_ISC_POSIX
- AC_PROG_INSTALL
- AC_PROG_MAKE_SET
-
-+AM_GNU_GETTEXT([external])
-+AM_GNU_GETTEXT_VERSION([0.18.1])
-+
- AC_OUTPUT([Makefile rpcgen/Makefile rpcsvc/Makefile])
---- a/rpcgen/Makefile.am
-+++ b/rpcgen/Makefile.am
-@@ -10,3 +10,4 @@ noinst_HEADERS = proto.h rpc_parse.h rpc_scan.h rpc_util.h
- rpcgen_SOURCES = rpc_clntout.c rpc_cout.c rpc_hout.c rpc_main.c \
- rpc_parse.c rpc_sample.c rpc_scan.c rpc_svcout.c rpc_tblout.c \
- rpc_util.c
-+rpcgen_LDADD = $(LIBINTL)
---
-2.24.1
-
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/rpcsvc-proto/files/
@ 2023-08-29 7:49 Conrad Kostecki
0 siblings, 0 replies; 2+ messages in thread
From: Conrad Kostecki @ 2023-08-29 7:49 UTC (permalink / raw
To: gentoo-commits
commit: 6224cc9e8fc46385e18d62bd1c5fa96801e13d18
Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Mon Aug 28 19:48:12 2023 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Tue Aug 29 07:48:24 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6224cc9e
net-libs/rpcsvc-proto: remove unused patch(es)
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/32498
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
.../files/rpcsvc-proto-1.4.3-lfs64.patch | 70 ----------------------
1 file changed, 70 deletions(-)
diff --git a/net-libs/rpcsvc-proto/files/rpcsvc-proto-1.4.3-lfs64.patch b/net-libs/rpcsvc-proto/files/rpcsvc-proto-1.4.3-lfs64.patch
deleted file mode 100644
index 8d45fac6151b..000000000000
--- a/net-libs/rpcsvc-proto/files/rpcsvc-proto-1.4.3-lfs64.patch
+++ /dev/null
@@ -1,70 +0,0 @@
-From https://github.com/thkukuk/rpcsvc-proto/commit/2527c37f956aa38408e251587556a6c8389af319.patch Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Sun, 11 Dec 2022 21:42:59 -0800
-Subject: [PATCH] Use AC_SYS_LARGEFILE macro to control largefile support
-
-The autoconf macro AC_SYS_LARGEFILE defines _FILE_OFFSET_BITS=64
-where necessary to ensure that off_t and all interfaces using off_t
-are 64bit, even on 32bit systems.
-
-replace stat64 by equivalent stat struct/func
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
---- a/configure.ac
-+++ b/configure.ac
-@@ -8,6 +8,7 @@ AC_PREFIX_DEFAULT(/usr)
- AC_SUBST(PACKAGE)
- AC_SUBST(VERSION)
-
-+AC_SYS_LARGEFILE
- AC_PROG_CC
- AC_GNU_SOURCE
- AM_PROG_CC_C_O
---- a/rpcgen/rpc_main.c
-+++ b/rpcgen/rpc_main.c
-@@ -62,12 +62,6 @@
- #define EXTEND 1 /* alias for TRUE */
- #define DONT_EXTEND 0 /* alias for FALSE */
-
--#ifdef __APPLE__
--# if __DARWIN_ONLY_64_BIT_INO_T
--# define stat64 stat
--# endif
--#endif
--
- struct commandline
- {
- int cflag; /* xdr C routines */
-@@ -337,9 +331,9 @@ clear_args (void)
- static void
- find_cpp (void)
- {
-- struct stat64 buf;
-+ struct stat buf;
-
-- if (stat64 (CPP, &buf) == 0)
-+ if (stat (CPP, &buf) == 0)
- return;
-
- if (cppDefined) /* user specified cpp but it does not exist */
-@@ -1125,17 +1119,17 @@ putarg (int whereto, const char *cp)
- static void
- checkfiles (const char *infile, const char *outfile)
- {
-- struct stat64 buf;
-+ struct stat buf;
-
- if (infile) /* infile ! = NULL */
-- if (stat64 (infile, &buf) < 0)
-+ if (stat (infile, &buf) < 0)
- {
- perror (infile);
- crash ();
- }
- if (outfile)
- {
-- if (stat64 (outfile, &buf) < 0)
-+ if (stat (outfile, &buf) < 0)
- return; /* file does not exist */
- else
- {
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-08-29 7:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-29 7:49 [gentoo-commits] repo/gentoo:master commit in: net-libs/rpcsvc-proto/files/ Conrad Kostecki
-- strict thread matches above, loose matches on Subject: below --
2020-05-21 8:22 Sergei Trofimovich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox