Here (both attached and inline) is a patch against libinetutils, which
is necessary to argpify the other components of inetutils.

diff -urNp inetutils/libinetutils/libinetutils.h
inetutils-build/libinetutils/libinetutils.h
--- inetutils/libinetutils/libinetutils.h       2006-10-21 20:54:20.000000000 
+0530
+++ inetutils-build/libinetutils/libinetutils.h 2007-03-31
01:36:11.000000000 +0530
@@ -1,5 +1,5 @@
/* This file is part of GNU inetutils
-   Copyright (C) 2006 Free Software Foundation, Inc.
+   Copyright (C) 2006, 2007 Free Software Foundation, Inc.

   This library is free software; you can redistribute it and/or
   modify it under the terms of the GNU General Public
@@ -16,6 +16,17 @@
   Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
   Boston, MA 02110-1301 USA */

+#define ARGP_PROGRAM_DATA(name, year, authors) \
+const char *argp_program_bug_address = "<" PACKAGE_BUGREPORT ">"; \
+const char *argp_program_version = \
+name " (" PACKAGE_NAME ") " PACKAGE_VERSION "\n\
+Copyright (C) " year " Free Software Foundation, Inc.\n\
+This is free software.  You may redistribute copies of it under the terms of\n\
+the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.\n\
+There is NO WARRANTY, to the extent permitted by law.\n\
+\n\
+Written by " authors ".";
+
void utmp_init (char *line, char *user, char *id);
char *utmp_ptsid (char *line, char *tag);
char *localhost (void);


Happy hacking,
Debarshi
--
GPG key ID: 63D4A5A7
Key server: pgp.mit.edu
diff -urNp inetutils/libinetutils/libinetutils.h inetutils-build/libinetutils/libinetutils.h
--- inetutils/libinetutils/libinetutils.h	2006-10-21 20:54:20.000000000 +0530
+++ inetutils-build/libinetutils/libinetutils.h	2007-03-31 01:36:11.000000000 +0530
@@ -1,5 +1,5 @@
 /* This file is part of GNU inetutils
-   Copyright (C) 2006 Free Software Foundation, Inc.
+   Copyright (C) 2006, 2007 Free Software Foundation, Inc.
 
    This library is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public
@@ -16,6 +16,17 @@
    Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
    Boston, MA 02110-1301 USA */
 
+#define ARGP_PROGRAM_DATA(name, year, authors) \
+const char *argp_program_bug_address = "<" PACKAGE_BUGREPORT ">"; \
+const char *argp_program_version = \
+name " (" PACKAGE_NAME ") " PACKAGE_VERSION "\n\
+Copyright (C) " year " Free Software Foundation, Inc.\n\
+This is free software.  You may redistribute copies of it under the terms of\n\
+the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.\n\
+There is NO WARRANTY, to the extent permitted by law.\n\
+\n\
+Written by " authors ".";
+
 void utmp_init (char *line, char *user, char *id);
 char *utmp_ptsid (char *line, char *tag);
 char *localhost (void);
_______________________________________________
bug-inetutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-inetutils

Reply via email to