pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

agm: Fix more warnings from a compiler



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Wed Jul 27 22:06:18 2016 +0200
Changeset:	c8e77604dcc095d71276e8c27d140b7e70e20f1a

Modified Files:
	agm/distinfo
	agm/patches/patch-agm.h
	agm/patches/patch-gobble.c
	agm/patches/patch-listfuncs.c
	agm/patches/patch-main.c
	agm/patches/patch-output.c
	agm/patches/patch-process.c
	agm/patches/patch-progress.c
	agm/patches/patch-sort.c
	agm/patches/patch-wordfuncs.c

Log Message:
agm: Fix more warnings from a compiler

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c8e77604dcc095d71276e8c27d140b7e70e20f1a

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 agm/distinfo                  | 18 +++++++++---------
 agm/patches/patch-agm.h       |  9 +++++++--
 agm/patches/patch-gobble.c    |  2 +-
 agm/patches/patch-listfuncs.c |  2 +-
 agm/patches/patch-main.c      |  2 +-
 agm/patches/patch-output.c    |  2 +-
 agm/patches/patch-process.c   |  4 ++--
 agm/patches/patch-progress.c  |  2 +-
 agm/patches/patch-sort.c      |  2 +-
 agm/patches/patch-wordfuncs.c |  2 +-
 10 files changed, 25 insertions(+), 20 deletions(-)

diffs:
diff --git a/agm/distinfo b/agm/distinfo
index 1bbebd9..21ec7b7 100644
--- a/agm/distinfo
+++ b/agm/distinfo
@@ -5,12 +5,12 @@ RMD160 (agm-1.3.1.tar.gz) = b348b99ef9ef58f474d7a0acff572c369bbaf55e
 SHA512 (agm-1.3.1.tar.gz) = 143c6c3a31e542f59bbb0fab4372a2747f78b299fff07b9f136b41c930423b27a56f1c9635efa1248caf05d0449f6e63a0c5ed86d136a1c3ffa6309d64297687
 Size (agm-1.3.1.tar.gz) = 420211 bytes
 SHA1 (patch-Makefile) = 49f935efd6da8434f746989128fd1b6574f27369
-SHA1 (patch-agm.h) = 532bc4877dd89f0ba8f74b7a1e98b5d772b38e03
-SHA1 (patch-gobble.c) = 553d6db718e8a327412337865c20a72f8f10cb88
-SHA1 (patch-listfuncs.c) = 1f373ab86980f1ea327815e5d732ee3dbebfb5a0
-SHA1 (patch-main.c) = 48bfcf7e7c8b3fba25ef2e88f635eaac1b229ba0
-SHA1 (patch-output.c) = c9563d602a621ea9e515b690162ea26d1532c312
-SHA1 (patch-process.c) = 1a6668a805a384d03569d6691359c7b0a31915fb
-SHA1 (patch-progress.c) = fb9eec5f49342bce1516943668a85e6ea43a2c67
-SHA1 (patch-sort.c) = 9f8c2f11ec9591ca237722072262f2a8d628dd47
-SHA1 (patch-wordfuncs.c) = 3a10e0f27e5b9fe91efb942986ca7f4c9c0ef13c
+SHA1 (patch-agm.h) = 739e4595c0c7e8bdb609118a8bdd19c92501bcbe
+SHA1 (patch-gobble.c) = d3cc77cde6963af86d598369fce82bd8af5d0a46
+SHA1 (patch-listfuncs.c) = 2d57007f32c1d01c30f674efc1e28baa20fbe148
+SHA1 (patch-main.c) = 06032f012b0cb1260e7b3144e1daa902cfe9a0a4
+SHA1 (patch-output.c) = 83080510bb2dddc7d83337628ee6eeb8ce4a13d5
+SHA1 (patch-process.c) = eb4a9187b9f8ef7792d6882184f41b34dee02e85
+SHA1 (patch-progress.c) = 85ef83e2fe8f0a06654ab9dc0b62369ab98237ef
+SHA1 (patch-sort.c) = 8346bf2a8c0c16b4d28a245444016f5b95968990
+SHA1 (patch-wordfuncs.c) = 8e37496eddfa201c00b312bcfc48a672b903e8ae
diff --git a/agm/patches/patch-agm.h b/agm/patches/patch-agm.h
index 8c227cc..178b3e0 100644
--- a/agm/patches/patch-agm.h
+++ b/agm/patches/patch-agm.h
@@ -1,8 +1,8 @@
 $NetBSD$
 
---- agm.h.orig	1998-03-18 01:02:29.000000000 +0000
+--- agm.h.orig	2016-07-27 20:00:36.476968160 +0000
 +++ agm.h
-@@ -134,5 +134,5 @@ extern struct wnode *lstart, *lend;
+@@ -134,5 +134,10 @@ extern struct wnode *lstart, *lend;
  extern char main_RCSid[], gobble_RCSid[], listfuncs_RCSid[], output_RCSid[],
              process_RCSid[], sort_RCSid[], wordfuncs_RCSid[], progress_RCSid[];
  
@@ -10,3 +10,8 @@ $NetBSD$
 -extern void arm_timer(), disarm_timer();
 +extern void copysmall(char *, char *);
 +extern void arm_timer(void), disarm_timer(void);
++extern int contains (char *, char *, unsigned int *);
++extern int addword (char *, struct wnode **, struct wnode **);
++estern int eliminate (char *, char *, char *);
++extern void print_prevs (int);
++extern void destroy_list (struct wnode *, struct wnode *);
diff --git a/agm/patches/patch-gobble.c b/agm/patches/patch-gobble.c
index eedc16d..e34002e 100644
--- a/agm/patches/patch-gobble.c
+++ b/agm/patches/patch-gobble.c
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- gobble.c.orig	2016-07-27 19:51:51.430466649 +0000
+--- gobble.c.orig	2016-07-27 20:00:36.480413430 +0000
 +++ gobble.c
 @@ -22,8 +22,11 @@ char gobble_RCSid[] = "Revision: 1.4 $";
  
diff --git a/agm/patches/patch-listfuncs.c b/agm/patches/patch-listfuncs.c
index 56086e9..5605fe2 100644
--- a/agm/patches/patch-listfuncs.c
+++ b/agm/patches/patch-listfuncs.c
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- listfuncs.c.orig	2016-07-27 19:51:51.433931684 +0000
+--- listfuncs.c.orig	2016-07-27 20:00:36.483808973 +0000
 +++ listfuncs.c
 @@ -18,8 +18,10 @@ char listfuncs_RCSid[] = "Revision: 1.3 
  
diff --git a/agm/patches/patch-main.c b/agm/patches/patch-main.c
index 6f6e97c..c7a4489 100644
--- a/agm/patches/patch-main.c
+++ b/agm/patches/patch-main.c
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- main.c.orig	2016-07-27 19:51:51.437389107 +0000
+--- main.c.orig	2016-07-27 20:00:36.487265418 +0000
 +++ main.c
 @@ -60,6 +60,7 @@ char main_RCSid[] = "Revision: 1.11 $";
  #include "agm.h"
diff --git a/agm/patches/patch-output.c b/agm/patches/patch-output.c
index a51c6b0..d25f965 100644
--- a/agm/patches/patch-output.c
+++ b/agm/patches/patch-output.c
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- output.c.orig	2016-07-27 19:51:51.440788492 +0000
+--- output.c.orig	2016-07-27 20:00:36.490687012 +0000
 +++ output.c
 @@ -24,8 +24,8 @@ char output_RCSid[] = "Revision: 1.5 $";
  
diff --git a/agm/patches/patch-process.c b/agm/patches/patch-process.c
index f672c4c..e33e75c 100644
--- a/agm/patches/patch-process.c
+++ b/agm/patches/patch-process.c
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- process.c.orig	2016-07-27 09:17:40.620865989 +0000
+--- process.c.orig	2016-07-27 20:00:36.494105114 +0000
 +++ process.c
 @@ -27,14 +27,11 @@ char process_RCSid[] = "Revision: 1.6 $"
  
@@ -8,7 +8,7 @@ $NetBSD$
  
 -process (word, ls, le, minlen, maxw, depth)
 +void
-+process (char *word, struct vnode *ls, struct vnode *le, unsigned int minlen, unsigned int maxw, unsigned int depth)
++process (char *word, struct wnode *ls, struct wnode *le, unsigned int minlen, unsigned int maxw, unsigned int depth)
      /* searches the list ls - le for words which can be extracted from
         word; if a word extracts exactly, the words in prevs are printed out,
         otherwise, a sublist is built, and process() called recursively */
diff --git a/agm/patches/patch-progress.c b/agm/patches/patch-progress.c
index 23ee18a..d5d41cc 100644
--- a/agm/patches/patch-progress.c
+++ b/agm/patches/patch-progress.c
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- progress.c.orig	2016-07-27 19:51:51.447604861 +0000
+--- progress.c.orig	2016-07-27 20:00:36.497489413 +0000
 +++ progress.c
 @@ -7,18 +7,20 @@ char progress_RCSid[] = "Revision: 1.1 $
  
diff --git a/agm/patches/patch-sort.c b/agm/patches/patch-sort.c
index 1fa116c..fe142a2 100644
--- a/agm/patches/patch-sort.c
+++ b/agm/patches/patch-sort.c
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- sort.c.orig	2016-07-27 19:51:51.450998798 +0000
+--- sort.c.orig	2016-07-27 20:00:36.500874201 +0000
 +++ sort.c
 @@ -14,9 +14,8 @@ char sort_RCSid[] = "Revision: 1.2 $";
  
diff --git a/agm/patches/patch-wordfuncs.c b/agm/patches/patch-wordfuncs.c
index dc13dce..2b54d8d 100644
--- a/agm/patches/patch-wordfuncs.c
+++ b/agm/patches/patch-wordfuncs.c
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- wordfuncs.c.orig	2016-07-27 19:51:51.454404538 +0000
+--- wordfuncs.c.orig	2016-07-27 20:00:36.504275890 +0000
 +++ wordfuncs.c
 @@ -14,9 +14,9 @@ char wordfuncs_RCSid[] = "Revision: 1.2 
  


Home | Main Index | Thread Index | Old Index