浏览代码

Added to the repository

Sergey Poznyakoff 21 年之前
父节点
当前提交
916019e417
共有 2 个文件被更改,包括 35 次插入0 次删除
  1. 11 0
      patches/argp.diff
  2. 24 0
      patches/getopt.diff

+ 11 - 0
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, '/');

+ 24 - 0
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