summaryrefslogtreecommitdiff
path: root/editors/emacs/patches
diff options
context:
space:
mode:
authorVineet Kumar <git@vineetk.net>2026-06-15 14:54:51 -0400
committerVineet Kumar <git@vineetk.net>2026-06-15 14:54:51 -0400
commite81f04fa53e7e01afdc834d9c22b5c982c98f59b (patch)
tree763d6d68516ca9d184ddd2402978adcc4027a99d /editors/emacs/patches
parent92e45e47c29ec037842c4a34ebc0c14143d413ff (diff)
remove all ports to start from clean slateHEADmaster
This is due to the following two reasons: 1. it's very out of date compared with current ports tree (like by 2+ years!) - some of the ports here were mainly just updates I didn't upstream, which have since now been part of openbsd, like verilator 2. removing dependencies is a lot of headache to stay in sync and/or for ports I no longer use - e.g. dbus is very difficult to remove in a desktop while patching to remove from gtk and downstream - I don't want to spend more time reducing number of dependencies when I can be working instead. I no longer have as much free time as I did in high school :(
Diffstat (limited to 'editors/emacs/patches')
-rw-r--r--editors/emacs/patches/CVS/Entries5
-rw-r--r--editors/emacs/patches/CVS/Repository1
-rw-r--r--editors/emacs/patches/CVS/Root1
-rw-r--r--editors/emacs/patches/patch-Makefile_in23
-rw-r--r--editors/emacs/patches/patch-lisp_files_el13
-rw-r--r--editors/emacs/patches/patch-lisp_vc_vc_el20
-rw-r--r--editors/emacs/patches/patch-src_emacs_c33
7 files changed, 0 insertions, 96 deletions
diff --git a/editors/emacs/patches/CVS/Entries b/editors/emacs/patches/CVS/Entries
deleted file mode 100644
index c379b87..0000000
--- a/editors/emacs/patches/CVS/Entries
+++ /dev/null
@@ -1,5 +0,0 @@
1/patch-Makefile_in/1.8/Tue Apr 19 11:54:34 2022//
2/patch-lisp_files_el/1.8/Thu Sep 22 07:16:16 2022//
3/patch-lisp_vc_vc_el/1.7/Tue Apr 19 11:54:34 2022//
4/patch-src_emacs_c/1.4/Thu Sep 22 07:16:16 2022//
5D
diff --git a/editors/emacs/patches/CVS/Repository b/editors/emacs/patches/CVS/Repository
deleted file mode 100644
index 6e2d831..0000000
--- a/editors/emacs/patches/CVS/Repository
+++ /dev/null
@@ -1 +0,0 @@
1ports/editors/emacs/patches
diff --git a/editors/emacs/patches/CVS/Root b/editors/emacs/patches/CVS/Root
deleted file mode 100644
index 3811072..0000000
--- a/editors/emacs/patches/CVS/Root
+++ /dev/null
@@ -1 +0,0 @@
1/cvs
diff --git a/editors/emacs/patches/patch-Makefile_in b/editors/emacs/patches/patch-Makefile_in
deleted file mode 100644
index ce3255f..0000000
--- a/editors/emacs/patches/patch-Makefile_in
+++ /dev/null
@@ -1,23 +0,0 @@
1- don't compress man and info pages.
2
3Index: Makefile.in
4--- Makefile.in.orig
5+++ Makefile.in
6@@ -693,7 +693,7 @@ install-info: info
7 for f in `ls $$elt $$elt-[1-9] $$elt-[1-9][0-9] 2>/dev/null`; do \
8 (cd "$${thisdir}"; \
9 ${INSTALL_DATA} ${srcdir}/info/$$f "$(DESTDIR)${infodir}/$$f"); \
10- [ -n "${GZIP_PROG}" ] || continue ; \
11+ [ -n "" ] || continue ; \
12 rm -f "$(DESTDIR)${infodir}/$$f.gz"; \
13 ${GZIP_PROG} -9n "$(DESTDIR)${infodir}/$$f"; \
14 done; \
15@@ -717,7 +717,7 @@ install-man:
16 dest=`echo "$${page}" | sed -e 's/\.1$$//' -e '$(TRANSFORM)'`.1; \
17 (cd "$${thisdir}"; \
18 ${INSTALL_DATA} ${mansrcdir}/$${page} "$(DESTDIR)${man1dir}/$${dest}"); \
19- [ -n "${GZIP_PROG}" ] || continue ; \
20+ [ -n "" ] || continue ; \
21 rm -f "$(DESTDIR)${man1dir}/$${dest}.gz"; \
22 ${GZIP_PROG} -9n "$(DESTDIR)${man1dir}/$${dest}" || true; \
23 done
diff --git a/editors/emacs/patches/patch-lisp_files_el b/editors/emacs/patches/patch-lisp_files_el
deleted file mode 100644
index 722eda9..0000000
--- a/editors/emacs/patches/patch-lisp_files_el
+++ /dev/null
@@ -1,13 +0,0 @@
1- open ports tree patches in diff-mode.
2
3Index: lisp/files.el
4--- lisp/files.el.orig
5+++ lisp/files.el
6@@ -2925,6 +2925,7 @@ ARC\\|ZIP\\|LZH\\|LHA\\|ZOO\\|[JEW]AR\\|XPI\\|RAR\\|CB
7 ("\\.\\(as\\|mi\\|sm\\)2\\'" . snmpv2-mode)
8 ("\\.\\(diffs?\\|patch\\|rej\\)\\'" . diff-mode)
9 ("\\.\\(dif\\|pat\\)\\'" . diff-mode) ; for MS-DOS
10+ ("/patch-[^/]*$" . diff-mode)
11 ("\\.[eE]?[pP][sS]\\'" . ps-mode)
12 ("\\.\\(?:PDF\\|DVI\\|OD[FGPST]\\|DOCX\\|XLSX?\\|PPTX?\\|pdf\\|djvu\\|dvi\\|od[fgpst]\\|docx\\|xlsx?\\|pptx?\\)\\'" . doc-view-mode-maybe)
13 ("configure\\.\\(ac\\|in\\)\\'" . autoconf-mode)
diff --git a/editors/emacs/patches/patch-lisp_vc_vc_el b/editors/emacs/patches/patch-lisp_vc_vc_el
deleted file mode 100644
index 93cf9d1..0000000
--- a/editors/emacs/patches/patch-lisp_vc_vc_el
+++ /dev/null
@@ -1,20 +0,0 @@
1Drop messages that slow down VC with big repositories.
2
3Index: lisp/vc/vc.el
4--- lisp/vc/vc.el.orig
5+++ lisp/vc/vc.el
6@@ -3193,13 +3193,11 @@ to provide the `find-revision' operation instead."
7 (defun vc-file-tree-walk (dirname func &rest args)
8 "Walk recursively through DIRNAME.
9 Invoke FUNC f ARGS on each VC-managed file f underneath it."
10- (vc-file-tree-walk-internal (expand-file-name dirname) func args)
11- (message "Traversing directory %s...done" dirname))
12+ (vc-file-tree-walk-internal (expand-file-name dirname) func args))
13
14 (defun vc-file-tree-walk-internal (file func args)
15 (if (not (file-directory-p file))
16 (when (vc-backend file) (apply func file args))
17- (message "Traversing directory %s..." (abbreviate-file-name file))
18 (let ((dir (file-name-as-directory file)))
19 (mapcar
20 (lambda (f) (or
diff --git a/editors/emacs/patches/patch-src_emacs_c b/editors/emacs/patches/patch-src_emacs_c
deleted file mode 100644
index f08cdc3..0000000
--- a/editors/emacs/patches/patch-src_emacs_c
+++ /dev/null
@@ -1,33 +0,0 @@
1Don't use printf %n.
2
3Index: src/emacs.c
4--- src/emacs.c.orig
5+++ src/emacs.c
6@@ -2746,21 +2746,13 @@ shut_down_emacs (int sig, Lisp_Object stuff)
7 reset_all_sys_modes ();
8 if (sig && sig != SIGTERM)
9 {
10- static char const fmt[] = "Fatal error %d: %n%s\n";
11- char buf[max ((sizeof fmt - sizeof "%d%n%s\n"
12- + INT_STRLEN_BOUND (int) + 1),
13- min (PIPE_BUF, MAX_ALLOCA))];
14+ static char const fmt[] = "Fatal error %d: ";
15+ char buf[sizeof fmt - strlen ("%d") + INT_STRLEN_BOUND (int) + 1];
16 char const *sig_desc = safe_strsignal (sig);
17- int nlen;
18- int buflen = snprintf (buf, sizeof buf, fmt, sig, &nlen, sig_desc);
19- if (0 <= buflen && buflen < sizeof buf)
20- emacs_write (STDERR_FILENO, buf, buflen);
21- else
22- {
23- emacs_write (STDERR_FILENO, buf, nlen);
24- emacs_write (STDERR_FILENO, sig_desc, strlen (sig_desc));
25- emacs_write (STDERR_FILENO, fmt + sizeof fmt - 2, 1);
26- }
27+ snprintf (buf, sizeof buf, fmt, sig);
28+ emacs_write (STDERR_FILENO, buf, strlen (buf));
29+ emacs_write (STDERR_FILENO, sig_desc, strlen (sig_desc));
30+ emacs_write (STDERR_FILENO, "\n", 1);
31 }
32 }
33 #else