* [gentoo-commits] repo/gentoo:master commit in: sys-devel/dev86/files/
@ 2017-02-09 22:37 David Seifert
0 siblings, 0 replies; 2+ messages in thread
From: David Seifert @ 2017-02-09 22:37 UTC (permalink / raw
To: gentoo-commits
commit: 59fcd0f85d4744a59c48312ffcb22026394643ea
Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Thu Feb 9 19:47:52 2017 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu Feb 9 22:35:37 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59fcd0f8
sys-devel/dev86: remove unused patches
Closes: https://github.com/gentoo/gentoo/pull/3897
sys-devel/dev86/files/dev86-0.16.17-fortify.patch | 43 -----------------------
sys-devel/dev86/files/dev86-0.16.17-make382.patch | 11 ------
2 files changed, 54 deletions(-)
diff --git a/sys-devel/dev86/files/dev86-0.16.17-fortify.patch b/sys-devel/dev86/files/dev86-0.16.17-fortify.patch
deleted file mode 100644
index 715d0c4ca6..0000000000
--- a/sys-devel/dev86/files/dev86-0.16.17-fortify.patch
+++ /dev/null
@@ -1,43 +0,0 @@
---- dev86-0.16.17/bcc/bcc.c
-+++ dev86-0.16.17/bcc/bcc.c
-@@ -19,6 +19,7 @@
- #ifdef __STDC__
- #include <stdlib.h>
- #ifndef MSDOS
-+#include <limits.h>
- #include <unistd.h>
- #endif
- #else
-@@ -596,12 +597,17 @@
- }
- }
-
--void
--command_reset()
--{
- #ifndef MAXPATHLEN
-+#ifdef PATH_MAX
-+#define MAXPATHLEN PATH_MAX
-+#else
- #define MAXPATHLEN 1024
- #endif
-+#endif
-+
-+void
-+command_reset()
-+{
- char buf[MAXPATHLEN];
- char ** prefix;
- char * saved_cmd;
-@@ -1308,11 +1314,7 @@
-
- for(d=s=ptr; d && *s; s=d)
- {
--#ifdef MAXPATHLEN
- char buf[MAXPATHLEN];
--#else
-- char buf[1024];
--#endif
-
- free(temp);
- d=strchr(s, ':');
diff --git a/sys-devel/dev86/files/dev86-0.16.17-make382.patch b/sys-devel/dev86/files/dev86-0.16.17-make382.patch
deleted file mode 100644
index e7ce0651c6..0000000000
--- a/sys-devel/dev86/files/dev86-0.16.17-make382.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- libc/i386sys/Makefile
-+++ libc/i386sys/Makefile
-@@ -12,7 +12,7 @@
- DOBJ=opendir.o closedir.o readdir.o
-
- ifeq ($(LIB_CPU)-$(LIB_OS),i386-ELKS)
--OBJ=$(LOBJ3) $(LOBJ) $(EOBJ) $(DOBJ) setjmp3.o
-+OBJ=$(LOBJ) $(LOBJ) $(EOBJ) $(DOBJ) setjmp3.o
- SYSCALLS=syscalls
-
- CFLAGS=$(ARCH) $(CCFLAGS) $(DEFS)
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-devel/dev86/files/
@ 2025-07-08 18:55 Michael Mair-Keimberger
0 siblings, 0 replies; 2+ messages in thread
From: Michael Mair-Keimberger @ 2025-07-08 18:55 UTC (permalink / raw
To: gentoo-commits
commit: 315b686a24f295f0f2ead134bed94f069da9d93a
Author: Michael Mair-Keimberger <mm1ke <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 8 18:44:49 2025 +0000
Commit: Michael Mair-Keimberger <mm1ke <AT> gentoo <DOT> org>
CommitDate: Tue Jul 8 18:54:39 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=315b686a
sys-devel/dev86: remove unused patches
Signed-off-by: Michael Mair-Keimberger <mm1ke <AT> gentoo.org>
sys-devel/dev86/files/dev86-0.16.19-fortify.patch | 23 ------
sys-devel/dev86/files/dev86-0.16.21-make.patch | 82 ----------------------
.../dev86-0.16.21-non-void-return-clang.patch | 15 ----
...0.16.21-void-return-check-msdos-clang-fix.patch | 20 ------
sys-devel/dev86/files/dev86-pic.patch | 20 ------
5 files changed, 160 deletions(-)
diff --git a/sys-devel/dev86/files/dev86-0.16.19-fortify.patch b/sys-devel/dev86/files/dev86-0.16.19-fortify.patch
deleted file mode 100644
index 366808c96d20..000000000000
--- a/sys-devel/dev86/files/dev86-0.16.19-fortify.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- dev86-0.16.19/bcc/bcc.c
-+++ dev86-0.16.19/bcc/bcc.c
-@@ -596,12 +597,17 @@
- }
- }
-
--void
--command_reset()
--{
- #ifndef MAXPATHLEN
-+#ifdef PATH_MAX
-+#define MAXPATHLEN PATH_MAX
-+#else
- #define MAXPATHLEN 1024
- #endif
-+#endif
-+
-+void
-+command_reset()
-+{
- char buf[MAXPATHLEN];
- char ** prefix;
- char * saved_cmd;
diff --git a/sys-devel/dev86/files/dev86-0.16.21-make.patch b/sys-devel/dev86/files/dev86-0.16.21-make.patch
deleted file mode 100644
index 248ff5814dbc..000000000000
--- a/sys-devel/dev86/files/dev86-0.16.21-make.patch
+++ /dev/null
@@ -1,82 +0,0 @@
-From f14f78efcd5c865b470173dc06959c8de61e9711 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
-Date: Thu, 8 Mar 2018 19:31:17 +0100
-Subject: [PATCH] build: Always use $(MAKE) to spawn sub-make
-
-Always use $(MAKE) instead of literal 'make' to spawn the correct make
-variant. Otherwise, e.g. when using 'gmake' on FreeBSD the Makefiles
-spawn BSD make and things fail because of incompatible MAKEFLAGS
-set by GNU make.
----
- bootblocks/Makefile | 10 +++++-----
- libbsd/Makefile | 2 +-
- makefile.in | 2 +-
- 3 files changed, 7 insertions(+), 7 deletions(-)
-
-diff --git a/bootblocks/Makefile b/bootblocks/Makefile
-index d954ea1..2887d86 100644
---- a/bootblocks/Makefile
-+++ b/bootblocks/Makefile
-@@ -55,31 +55,31 @@ fs_min.o: minix.h
-
- bootfile.sys: $(MSRC) $(MINC)
- @rm -f $(MOBJ)
-- make 'CFLAGS=$(CFLAGS) -DDOSFLOPPY' monitor.out
-+ $(MAKE) 'CFLAGS=$(CFLAGS) -DDOSFLOPPY' monitor.out
- mv monitor.out bootfile.sys
- @rm -f $(MOBJ)
-
- boottar.sys: $(MSRC) $(MINC) tarboot.bin
- @rm -f $(MOBJ)
-- make 'CFLAGS=$(CFLAGS) -DTARFLOPPY' monitor.out
-+ $(MAKE) 'CFLAGS=$(CFLAGS) -DTARFLOPPY' monitor.out
- mv monitor.out boottar.sys
- @rm -f $(MOBJ)
-
- bootminix.sys: $(MSRC) $(MINC) minix.bin
- @rm -f $(MOBJ)
-- make 'CFLAGS=$(CFLAGS) -DMINFLOPPY' monitor.out
-+ $(MAKE) 'CFLAGS=$(CFLAGS) -DMINFLOPPY' monitor.out
- mv monitor.out bootminix.sys
- @rm -f $(MOBJ)
-
- monitor.sys: $(MSRC) $(MINC)
- @rm -f $(MOBJ)
-- make monitor.out
-+ $(MAKE) monitor.out
- mv monitor.out monitor.sys
- @rm -f $(MOBJ)
-
- monitor: $(MSRC) $(MINC)
- @rm -f $(MOBJ)
-- make 'CFLAGS=-ansi $(DEFS)' monitor.out
-+ $(MAKE) 'CFLAGS=-ansi $(DEFS)' monitor.out
- mv monitor.out monitor
- @rm -f $(MOBJ)
-
-diff --git a/libbsd/Makefile b/libbsd/Makefile
-index 2b29f72..722b86d 100644
---- a/libbsd/Makefile
-+++ b/libbsd/Makefile
-@@ -29,7 +29,7 @@ install: all
- install -m 644 $(LIBBSD) $(LIBDIR)/i86
-
- tests: dummy
-- make -C tests
-+ $(MAKE) -C tests
-
- $(LIBBSD): $(OBJS)
- $(AR) rc $(LIBBSD) $(OBJS)
-diff --git a/makefile.in b/makefile.in
-index b586da1..97ea519 100644
---- a/makefile.in
-+++ b/makefile.in
-@@ -326,7 +326,7 @@ config: ;
- #endif
-
- makec:
-- echo 'cd $$1 ; shift ; make "$$@"' > makec
-+ echo 'cd $$1 ; shift ; $(MAKE) "$$@"' > makec
- chmod +x makec
-
- versions: bcc/version.h
diff --git a/sys-devel/dev86/files/dev86-0.16.21-non-void-return-clang.patch b/sys-devel/dev86/files/dev86-0.16.21-non-void-return-clang.patch
deleted file mode 100644
index cb42e5707dcf..000000000000
--- a/sys-devel/dev86/files/dev86-0.16.21-non-void-return-clang.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-Return void properly, else clang aborts with
-* tok_io.c:231:6: error: non-void function 'do_control' should return a value [-Wreturn-type]
-See also: https://bugs.gentoo.org/show_bug.cgi?id=523096
-
---- dev86-0.16.21/unproto/tok_io.c
-+++ dev86-0.16.21/unproto/tok_io.c
-@@ -189,7 +189,7 @@
-
- /* do_control - parse control line */
-
--static int do_control()
-+static void do_control()
- {
- struct token *t;
- int line;
diff --git a/sys-devel/dev86/files/dev86-0.16.21-void-return-check-msdos-clang-fix.patch b/sys-devel/dev86/files/dev86-0.16.21-void-return-check-msdos-clang-fix.patch
deleted file mode 100644
index 39e3a1296c21..000000000000
--- a/sys-devel/dev86/files/dev86-0.16.21-void-return-check-msdos-clang-fix.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/bootblocks/makeboot.c 2020-11-30 00:28:40.383078094 +0300
-+++ b/bootblocks/makeboot.c 2020-11-30 00:28:26.969025659 +0300
-@@ -183,6 +183,8 @@
- unsigned char bpb_flags[100];
- int has_bpb_overrides = 0;
-
-+static void check_msdos();
-+
- main(argc, argv)
- int argc;
- char ** argv;
-@@ -1122,7 +1124,7 @@
-
- /**************************************************************************/
-
--check_msdos()
-+static void check_msdos()
- {
- decode_super(buffer);
- if( dosflds[DOS_CLUST].value == 0 ) /* MSDOS v1.0 */
diff --git a/sys-devel/dev86/files/dev86-pic.patch b/sys-devel/dev86/files/dev86-pic.patch
deleted file mode 100644
index 23158d188b02..000000000000
--- a/sys-devel/dev86/files/dev86-pic.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- dev86-0.16.21/elksemu/elks.c.orig 2005-11-04 01:35:37.000000000 +0100
-+++ dev86-0.16.21/elksemu/elks.c 2005-11-04 01:45:28.000000000 +0100
-@@ -129,8 +129,17 @@
- static inline int vm86_mine(struct vm86_struct* v86)
- {
- int __res;
-+#ifndef __PIC__
- __asm__ __volatile__("int $0x80\n"
- :"=a" (__res):"a" ((int)OLD_SYS_vm86), "b" ((int)v86));
-+#else
-+ __asm__ __volatile__(
-+ "movl %%ebx,%%ecx\n\t"
-+ "movl %2,%%ebx\n\t"
-+ "int $0x80\n\t"
-+ "movl %%ecx,%%ebx\n\t"
-+ :"=a" (__res):"a" ((int)OLD_SYS_vm86), "r" ((int)v86) : "ecx");
-+#endif
- return __res;
- }
- #endif
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-07-08 18:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-08 18:55 [gentoo-commits] repo/gentoo:master commit in: sys-devel/dev86/files/ Michael Mair-Keimberger
-- strict thread matches above, loose matches on Subject: below --
2017-02-09 22:37 David Seifert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox