From 916019e417eb7ce10074b3c28465f5eceb6b4cd2 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Sun, 16 May 2004 20:46:30 +0000 Subject: [PATCH] Added to the repository --- patches/argp.diff | 11 +++++++++++ patches/getopt.diff | 24 ++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 patches/argp.diff create mode 100644 patches/getopt.diff diff --git a/patches/argp.diff b/patches/argp.diff new file mode 100644 index 0000000..26c2e9f --- /dev/null +++ b/patches/argp.diff @@ -0,0 +1,11 @@ +--- gnulib/lib/argp-help.c Sun Apr 4 16:32:34 2004 ++++ lib/argp-help.c Sun May 16 13:18:15 2004 +@@ -1690,7 +1690,7 @@ void __argp_help (const struct argp *arg + weak_alias (__argp_help, argp_help) + #endif + +-#ifndef _LIBC ++#ifndef __argp_short_program_name + char *__argp_basename (char *name) + { + char *short_name = strrchr (name, '/'); diff --git a/patches/getopt.diff b/patches/getopt.diff new file mode 100644 index 0000000..6dc0dbf --- /dev/null +++ b/patches/getopt.diff @@ -0,0 +1,24 @@ +Index: lib/getopt.c +--- gnulib/lib/getopt.c Thu Mar 11 15:04:48 2004 ++++ lib/getopt.c Sun May 16 12:34:12 2004 +@@ -48,7 +48,7 @@ + # endif + #endif + +-#ifndef ELIDE_CODE ++#if defined WANT_INCLUDED_GETOPT || !defined ELIDE_CODE + + + /* This needs to come after some library #include +Index: lib/getopt1.c +--- gnulib/lib/getopt1.c Tue Mar 9 21:42:23 2004 ++++ lib/getopt1.c Sun May 16 12:34:36 2004 +@@ -46,7 +46,7 @@ + #endif + #endif + +-#ifndef ELIDE_CODE ++#if defined WANT_INCLUDED_GETOPT || !defined ELIDE_CODE + + + /* This needs to come after some library #include -- 2.45.2