bug-inetutils
[Top][All Lists]
Advanced

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

[bug-inetutils] Patches for submission -- libinetutils


From: Debarshi 'Rishi' Ray
Subject: [bug-inetutils] Patches for submission -- libinetutils
Date: Mon, 21 May 2007 00:17:37 +0530

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

Attachment: libinetutils-argp.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]