Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 209476 Details for
Bug 292189
new ebuild sys-libs/argp-standalone-1.3 - argp from glibc broken out for use with uclibc
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to remove __Throw from function definitions
argp-standalone-1.3-throw-in-funcdef.patch (text/plain), 2.44 KB, created by
Ed Wildgoose
on 2009-11-06 22:29:35 UTC
(
hide
)
Description:
Patch to remove __Throw from function definitions
Filename:
MIME Type:
Creator:
Ed Wildgoose
Created:
2009-11-06 22:29:35 UTC
Size:
2.44 KB
patch
obsolete
># --- T2-COPYRIGHT-NOTE-BEGIN --- ># This copyright note is auto-generated by ./scripts/Create-CopyPatch. ># ># T2 SDE: package/.../rng-tools/throw-in-funcdef.patch.argp-standalone ># Copyright (C) 2006 The T2 SDE Project ># ># More information can be found in the files COPYING and README. ># ># This patch file is dual-licensed. It is available under the license the ># patched project is licensed under, as long as it is an OpenSource license ># as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms ># of the GNU General Public License as published by the Free Software ># Foundation; either version 2 of the License, or (at your option) any later ># version. ># --- T2-COPYRIGHT-NOTE-END --- > > >No __THROW in function implementation. > --jsaw > >--- argp-standalone-1.4-test2/argp.h.orig 2006-01-06 02:29:59.000000000 +0100 >+++ argp-standalone-1.4-test2/argp.h 2006-01-06 02:41:10.000000000 +0100 >@@ -560,17 +560,17 @@ > # endif > > # ifndef ARGP_EI >-# define ARGP_EI extern __inline__ >+# define ARGP_EI extern inline > # endif > > ARGP_EI void >-__argp_usage (__const struct argp_state *__state) __THROW >+__argp_usage (__const struct argp_state *__state) > { > __argp_state_help (__state, stderr, ARGP_HELP_STD_USAGE); > } > > ARGP_EI int >-__option_is_short (__const struct argp_option *__opt) __THROW >+__option_is_short (__const struct argp_option *__opt) > { > if (__opt->flags & OPTION_DOC) > return 0; >@@ -582,7 +582,7 @@ > } > > ARGP_EI int >-__option_is_end (__const struct argp_option *__opt) __THROW >+__option_is_end (__const struct argp_option *__opt) > { > return !__opt->key && !__opt->name && !__opt->doc && !__opt->group; > } >--- argp-standalone-1.4-test2/argp-parse.c.orig 2006-01-06 02:47:48.000000000 +0100 >+++ argp-standalone-1.4-test2/argp-parse.c 2006-01-06 02:48:16.000000000 +0100 >@@ -1290,13 +1290,13 @@ > /* Defined here, in case a user is not inlining the definitions in > * argp.h */ > void >-__argp_usage (__const struct argp_state *__state) __THROW >+__argp_usage (__const struct argp_state *__state) > { > __argp_state_help (__state, stderr, ARGP_HELP_STD_USAGE); > } > > int >-__option_is_short (__const struct argp_option *__opt) __THROW >+__option_is_short (__const struct argp_option *__opt) > { > if (__opt->flags & OPTION_DOC) > return 0; >@@ -1310,7 +1310,7 @@ > } > > int >-__option_is_end (__const struct argp_option *__opt) __THROW >+__option_is_end (__const struct argp_option *__opt) > { > return !__opt->key && !__opt->name && !__opt->doc && !__opt->group; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 292189
:
209475
| 209476