[csw-devel] SF.net SVN: gar:[14922] csw/mgar/pkg/rl/trunk
dmichelsen at users.sourceforge.net
dmichelsen at users.sourceforge.net
Tue Jun 28 11:59:45 CEST 2011
Revision: 14922
http://gar.svn.sourceforge.net/gar/?rev=14922&view=rev
Author: dmichelsen
Date: 2011-06-28 09:59:44 +0000 (Tue, 28 Jun 2011)
Log Message:
-----------
rl: Add missing patch
Modified Paths:
--------------
csw/mgar/pkg/rl/trunk/Makefile
Added Paths:
-----------
csw/mgar/pkg/rl/trunk/files/0002-Rename-option.patch
Modified: csw/mgar/pkg/rl/trunk/Makefile
===================================================================
--- csw/mgar/pkg/rl/trunk/Makefile 2011-06-28 09:29:50 UTC (rev 14921)
+++ csw/mgar/pkg/rl/trunk/Makefile 2011-06-28 09:59:44 UTC (rev 14922)
@@ -13,6 +13,7 @@
DISTFILES = $(DISTNAME).tar.gz
PATCHFILES += 0001-Add-missing-typedef.patch
+PATCHFILES += 0002-Rename-option.patch
# Not gonna do it
# TEST_SCRIPTS =
Added: csw/mgar/pkg/rl/trunk/files/0002-Rename-option.patch
===================================================================
--- csw/mgar/pkg/rl/trunk/files/0002-Rename-option.patch (rev 0)
+++ csw/mgar/pkg/rl/trunk/files/0002-Rename-option.patch 2011-06-28 09:59:44 UTC (rev 14922)
@@ -0,0 +1,48 @@
+From 18d824bd040abbed1d0259e655ab67eefa11a915 Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Tue, 28 Jun 2011 11:55:17 +0200
+Subject: [PATCH] Rename option
+
+---
+ getopt_long.c | 2 +-
+ getopt_long.h | 4 ++--
+ 2 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/getopt_long.c b/getopt_long.c
+index 09f6245..a53d677 100644
+--- a/getopt_long.c
++++ b/getopt_long.c
+@@ -37,7 +37,7 @@
+ int
+ getopt_long(int argc,char * const argv[],
+ const char *optstring,
+- const struct option *longopts,int *longindex)
++ const struct _option *longopts,int *longindex)
+ {
+ int i; /* for looping through options */
+ int l; /* for length */
+diff --git a/getopt_long.h b/getopt_long.h
+index 0f03e4d..de715ef 100644
+--- a/getopt_long.h
++++ b/getopt_long.h
+@@ -28,7 +28,7 @@
+ #define optional_argument 2
+
+
+-typedef struct option {
++typedef struct _option {
+ const char *name;
+ int has_arg;
+ int *flag;
+@@ -44,7 +44,7 @@ typedef struct option {
+ */
+ int getopt_long(int argc,char * const argv[],
+ const char *optstring,
+- const struct option *longopts,int *longindex);
++ const struct _option *longopts,int *longindex);
+
+
+ #endif /* _GETOPT_LONG_H */
+--
+1.7.5.4
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list