commit: 8cb94ae88569917b422c8b67c7a2de7be689bf1e
Author: Michael Mair-Keimberger <mm1ke <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 25 12:12:16 2026 +0000
Commit: Michael Mair-Keimberger <mm1ke <AT> gentoo <DOT> org>
CommitDate: Wed Feb 25 12:12:16 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cb94ae8
app-editors/nedit: remove unused patch(es)
Signed-off-by: Michael Mair-Keimberger <mm1ke <AT> gentoo.org>
app-editors/nedit/files/nedit-5.6-security.patch | 63 ------------------------
app-editors/nedit/files/nedit-5.7-doc.patch | 13 -----
app-editors/nedit/files/nedit-5.7-ldflags.patch | 17 -------
3 files changed, 93 deletions(-)
diff --git a/app-editors/nedit/files/nedit-5.6-security.patch
b/app-editors/nedit/files/nedit-5.6-security.patch
deleted file mode 100644
index b24ef2355a3c..000000000000
--- a/app-editors/nedit/files/nedit-5.6-security.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-Index: nedit-5.5/source/file.c
-===================================================================
---- nedit-5.5.orig/source/file.c 2004-08-24 11:37:24.000000000 +0200
-+++ nedit-5.5/source/file.c 2010-03-27 18:44:01.000000000 +0100
-@@ -1314,7 +1314,7 @@
- */
- void PrintString(const char *string, int length, Widget parent, const char
*jobName)
- {
-- char tmpFileName[L_tmpnam]; /* L_tmpnam defined in stdio.h */
-+ char *tmpFileName=strdup("/tmp/neditXXXXXX");
- FILE *fp;
- int fd;
-
-@@ -1325,14 +1325,10 @@
- 1. Create a filename
- 2. Open the file with the O_CREAT|O_EXCL flags
- So all an attacker can do is a DoS on the print function. */
-- tmpnam(tmpFileName);
-+ fd = mkstemp(tmpFileName);
-
- /* open the temporary file */
--#ifdef VMS
-- if ((fp = fopen(tmpFileName, "w", "rfm = stmlf")) == NULL)
--#else
-- if ((fd = open(tmpFileName, O_CREAT|O_EXCL|O_WRONLY, S_IRUSR | S_IWUSR))
< 0 || (fp = fdopen(fd, "w")) == NULL)
--#endif /* VMS */
-+ if ((fp = fdopen(fd, "w")) == NULL)
- {
- DialogF(DF_WARN, parent, 1, "Error while Printing",
- "Unable to write file for printing:\n%s", "OK",
-@@ -1346,7 +1342,7 @@
-
- /* write to the file */
- #ifdef IBM_FWRITE_BUG
-- write(fileno(fp), string, length);
-+ write(fd, string, length);
- #else
- fwrite(string, sizeof(char), length, fp);
- #endif
-@@ -1356,6 +1352,7 @@
- "%s not printed:\n%s", "OK", jobName, errorString());
- fclose(fp); /* should call close(fd) in turn! */
- remove(tmpFileName);
-+ free(tmpFileName);
- return;
- }
-
-@@ -1366,6 +1363,7 @@
- "Error closing temp. print file:\n%s", "OK",
- errorString());
- remove(tmpFileName);
-+ free(tmpFileName);
- return;
- }
-
-@@ -1377,6 +1375,7 @@
- PrintFile(parent, tmpFileName, jobName);
- remove(tmpFileName);
- #endif /*VMS*/
-+ free(tmpFileName);
- return;
- }
-
diff --git a/app-editors/nedit/files/nedit-5.7-doc.patch
b/app-editors/nedit/files/nedit-5.7-doc.patch
deleted file mode 100644
index fceb9e1773c8..000000000000
--- a/app-editors/nedit/files/nedit-5.7-doc.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- a/doc/Makefile 2019-05-03 13:18:33.343246393 +0200
-+++ b/doc/Makefile 2019-05-03 13:19:33.110902639 +0200
-@@ -48,8 +48,8 @@
- ../source/help_topic.h ../source/help_data.h: .version help.etx setext
- @ echo "Creating NEdit help code `cat .version`"
- @ ./setext -m -v version="`cat .version`" help.etx
-- @ mv -f help_topic.h ../source
-- @ mv -f help_data.h ../source
-+ @ cp -f help_topic.h ../source
-+ @ cp -f help_data.h ../source
-
- nedit.html: .version help.etx setext
- @ echo "Creating NEdit HTML documentation..."
diff --git a/app-editors/nedit/files/nedit-5.7-ldflags.patch
b/app-editors/nedit/files/nedit-5.7-ldflags.patch
deleted file mode 100644
index b529d3327dd2..000000000000
--- a/app-editors/nedit/files/nedit-5.7-ldflags.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- a/source/Makefile.common 2019-01-19 14:27:14.927734607 +0100
-+++ b/source/Makefile.common 2019-01-19 14:28:46.186729890 +0100
-@@ -20,12 +20,12 @@
- # we only want natural rebuilds to regenerate the link date.
- nedit: $(OBJS) ../util/libNUtil.a $(XMLLIB) $(XLTLIB)
- $(CC) $(CFLAGS) -c linkdate.c -o linkdate.o
-- $(CC) $(CFLAGS) $(OBJS) linkdate.o $(XMLLIB) \
-+ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) linkdate.o $(XMLLIB) \
- $(XLTLIB) ../util/libNUtil.a $(LIBS) -o $@
-
- # Note LIBS isn't quite right here; it links unnecessarily against Motif
- nc: nc.o server_common.o ../util/libNUtil.a
-- $(CC) $(CFLAGS) nc.o server_common.o ../util/libNUtil.a $(LIBS) -o $@
-+ $(CC) $(CFLAGS) $(LDFLAGS) nc.o server_common.o ../util/libNUtil.a
$(LIBS) -o $@
-
- help.o: help.c
- $(CC) $(CFLAGS) $(BIGGER_STRINGS) -c help.c -o $@