pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/elf Drop unnecessary casts after fixing constnes...
details: https://anonhg.NetBSD.org/pkgsrc/rev/7c6a79a71e7f
branches: trunk
changeset: 652944:7c6a79a71e7f
user: joerg <joerg%pkgsrc.org@localhost>
date: Wed Jun 10 14:57:52 2015 +0000
description:
Drop unnecessary casts after fixing constness of the prototypes.
diffstat:
devel/elf/distinfo | 4 +++-
devel/elf/patches/patch-include_command.h | 13 +++++++++++++
devel/elf/patches/patch-src_main.c | 26 ++++++++++++++++++++++++++
3 files changed, 42 insertions(+), 1 deletions(-)
diffs (62 lines):
diff -r c8ca9ed6cdae -r 7c6a79a71e7f devel/elf/distinfo
--- a/devel/elf/distinfo Wed Jun 10 14:54:07 2015 +0000
+++ b/devel/elf/distinfo Wed Jun 10 14:57:52 2015 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2013/10/16 12:32:34 roy Exp $
+$NetBSD: distinfo,v 1.6 2015/06/10 14:57:52 joerg Exp $
SHA1 (elf-0.5.3.tar.gz) = 7cf3ea7d098b239c7b70405a2641dfcd55a49c37
RMD160 (elf-0.5.3.tar.gz) = f3198b4183c9bd6d288013847e525c21c972afff
@@ -6,3 +6,5 @@
SHA1 (patch-aa) = a8e3d3e981e14fc3b3d51d7a9113f8a75225f2dc
SHA1 (patch-configure) = ece37ad216857d56b6e4e67d593871c798626f75
SHA1 (patch-configure.in) = 0347b9e69632e12018e40e50c66d8a141346b2a3
+SHA1 (patch-include_command.h) = 1797fa9010bbc04970c2a36a71f0c2ceb7085474
+SHA1 (patch-src_main.c) = a52da4f884bb62d62ce95af5ed9ad81acaeee7bc
diff -r c8ca9ed6cdae -r 7c6a79a71e7f devel/elf/patches/patch-include_command.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/elf/patches/patch-include_command.h Wed Jun 10 14:57:52 2015 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-include_command.h,v 1.1 2015/06/10 14:57:52 joerg Exp $
+
+--- include/command.h.orig 2015-06-09 23:23:54.000000000 +0000
++++ include/command.h
+@@ -10,6 +10,6 @@ char *commands[] = {
+ };
+
+ void initrl(void);
+-char **completion(char *, int, int);
+-char *match(char *, int);
++char **completion(const char *, int, int);
++char *match(const char *, int);
+ char **find_command(char *);
diff -r c8ca9ed6cdae -r 7c6a79a71e7f devel/elf/patches/patch-src_main.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/elf/patches/patch-src_main.c Wed Jun 10 14:57:52 2015 +0000
@@ -0,0 +1,26 @@
+$NetBSD: patch-src_main.c,v 1.1 2015/06/10 14:57:52 joerg Exp $
+
+--- src/main.c.orig 2015-06-09 23:23:22.000000000 +0000
++++ src/main.c
+@@ -594,18 +594,18 @@ char **find_command(char *name){
+
+
+ void initrl(void){
+- rl_attempted_completion_function=(CPPFunction *)completion;
++ rl_attempted_completion_function=completion;
+ }
+
+
+-char **completion(char *text, int start, int end){
++char **completion(const char *text, int start, int end){
+ char **matches=(char **)NULL;
+
+ if(!start) matches=(char **)completion_matches(text, match);
+ return matches;
+ }
+
+-char *match(char *text, int state){
++char *match(const char *text, int state){
+ static int i, len;
+
+ if(!state){
Home |
Main Index |
Thread Index |
Old Index