pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
emacs-git: remove patch
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By: wiz
Date: Fri Jul 17 23:21:58 2026 +0200
Changeset: 502980250433f407cbc1719418b89b8b068b986e
Modified Files:
emacs-git/distinfo
Removed Files:
emacs-git/patches/patch-lib_getopt1.c
Log Message:
emacs-git: remove patch
fixed slightly differently upstream
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=502980250433f407cbc1719418b89b8b068b986e
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
emacs-git/distinfo | 1 -
emacs-git/patches/patch-lib_getopt1.c | 25 -------------------------
2 files changed, 26 deletions(-)
diffs:
diff --git a/emacs-git/distinfo b/emacs-git/distinfo
index 94f3f01abf..e7bbff4940 100644
--- a/emacs-git/distinfo
+++ b/emacs-git/distinfo
@@ -1,4 +1,3 @@
$NetBSD$
SHA1 (patch-Makefile.in) = 1babbbeda525935718778225ccc0cc2d0e118454
-SHA1 (patch-lib_getopt1.c) = 7a56f7381d15d29942ee34fd0c3bbffe33b2fb4b
diff --git a/emacs-git/patches/patch-lib_getopt1.c b/emacs-git/patches/patch-lib_getopt1.c
deleted file mode 100644
index 188cba4a5f..0000000000
--- a/emacs-git/patches/patch-lib_getopt1.c
+++ /dev/null
@@ -1,25 +0,0 @@
-$NetBSD$
-
-Fix getopt1.c:31:34: warning: useless cast to type 'char **' [-Wuseless-cast]
-From upstream.
-
---- lib/getopt1.c.orig 2026-07-14 17:23:34.000000000 +0000
-+++ lib/getopt1.c
-@@ -28,7 +28,7 @@ getopt_long (int argc, char *__getopt_argv_const *argv
- getopt_long (int argc, char *__getopt_argv_const *argv, const char *options,
- const struct option *long_options, int *opt_index)
- {
-- return _getopt_internal (argc, (char **) argv, options, long_options,
-+ return _getopt_internal (argc, (char **) { argv }, options, long_options,
- opt_index, 0, 0);
- }
-
-@@ -51,7 +51,7 @@ getopt_long_only (int argc, char *__getopt_argv_const
- const char *options,
- const struct option *long_options, int *opt_index)
- {
-- return _getopt_internal (argc, (char **) argv, options, long_options,
-+ return _getopt_internal (argc, (char **) { argv }, options, long_options,
- opt_index, 1, 0);
- }
-
Home |
Main Index |
Thread Index |
Old Index