summaryrefslogtreecommitdiff
path: root/sdk/recipes/patches/libiconv/m68k-unknown-amigaos/srclib.signal.in.h.p
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2014-12-19 15:47:03 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2014-12-19 15:47:03 +0000
commit8a361ac4bd1b3d5d643b7eb18fe86aa5ef53a079 (patch)
tree9fb12fbc3a0c80da4570880af5639f40d4522c87 /sdk/recipes/patches/libiconv/m68k-unknown-amigaos/srclib.signal.in.h.p
parent110cc76ad1289310bf8c57183917b0ad58abf6d6 (diff)
downloadtoolchains-8a361ac4bd1b3d5d643b7eb18fe86aa5ef53a079.tar.gz
toolchains-8a361ac4bd1b3d5d643b7eb18fe86aa5ef53a079.tar.bz2
Fix libiconv m68k-amigaos build
Diffstat (limited to 'sdk/recipes/patches/libiconv/m68k-unknown-amigaos/srclib.signal.in.h.p')
-rw-r--r--sdk/recipes/patches/libiconv/m68k-unknown-amigaos/srclib.signal.in.h.p72
1 files changed, 72 insertions, 0 deletions
diff --git a/sdk/recipes/patches/libiconv/m68k-unknown-amigaos/srclib.signal.in.h.p b/sdk/recipes/patches/libiconv/m68k-unknown-amigaos/srclib.signal.in.h.p
new file mode 100644
index 0000000..93ee6a9
--- /dev/null
+++ b/sdk/recipes/patches/libiconv/m68k-unknown-amigaos/srclib.signal.in.h.p
@@ -0,0 +1,72 @@
+--- srclib/signal.in.h.orig 2011-08-07 14:42:06.000000000 +0100
++++ srclib/signal.in.h 2014-01-15 00:57:27.620548058 +0000
+@@ -168,69 +168,6 @@
+
+ # endif
+
+-/* Test whether a given signal is contained in a signal set. */
+-# if @HAVE_POSIX_SIGNALBLOCKING@
+-/* This function is defined as a macro on MacOS X. */
+-# if defined __cplusplus && defined GNULIB_NAMESPACE
+-# undef sigismember
+-# endif
+-# else
+-_GL_FUNCDECL_SYS (sigismember, int, (const sigset_t *set, int sig)
+- _GL_ARG_NONNULL ((1)));
+-# endif
+-_GL_CXXALIAS_SYS (sigismember, int, (const sigset_t *set, int sig));
+-_GL_CXXALIASWARN (sigismember);
+-
+-/* Initialize a signal set to the empty set. */
+-# if @HAVE_POSIX_SIGNALBLOCKING@
+-/* This function is defined as a macro on MacOS X. */
+-# if defined __cplusplus && defined GNULIB_NAMESPACE
+-# undef sigemptyset
+-# endif
+-# else
+-_GL_FUNCDECL_SYS (sigemptyset, int, (sigset_t *set) _GL_ARG_NONNULL ((1)));
+-# endif
+-_GL_CXXALIAS_SYS (sigemptyset, int, (sigset_t *set));
+-_GL_CXXALIASWARN (sigemptyset);
+-
+-/* Add a signal to a signal set. */
+-# if @HAVE_POSIX_SIGNALBLOCKING@
+-/* This function is defined as a macro on MacOS X. */
+-# if defined __cplusplus && defined GNULIB_NAMESPACE
+-# undef sigaddset
+-# endif
+-# else
+-_GL_FUNCDECL_SYS (sigaddset, int, (sigset_t *set, int sig)
+- _GL_ARG_NONNULL ((1)));
+-# endif
+-_GL_CXXALIAS_SYS (sigaddset, int, (sigset_t *set, int sig));
+-_GL_CXXALIASWARN (sigaddset);
+-
+-/* Remove a signal from a signal set. */
+-# if @HAVE_POSIX_SIGNALBLOCKING@
+-/* This function is defined as a macro on MacOS X. */
+-# if defined __cplusplus && defined GNULIB_NAMESPACE
+-# undef sigdelset
+-# endif
+-# else
+-_GL_FUNCDECL_SYS (sigdelset, int, (sigset_t *set, int sig)
+- _GL_ARG_NONNULL ((1)));
+-# endif
+-_GL_CXXALIAS_SYS (sigdelset, int, (sigset_t *set, int sig));
+-_GL_CXXALIASWARN (sigdelset);
+-
+-/* Fill a signal set with all possible signals. */
+-# if @HAVE_POSIX_SIGNALBLOCKING@
+-/* This function is defined as a macro on MacOS X. */
+-# if defined __cplusplus && defined GNULIB_NAMESPACE
+-# undef sigfillset
+-# endif
+-# else
+-_GL_FUNCDECL_SYS (sigfillset, int, (sigset_t *set) _GL_ARG_NONNULL ((1)));
+-# endif
+-_GL_CXXALIAS_SYS (sigfillset, int, (sigset_t *set));
+-_GL_CXXALIASWARN (sigfillset);
+-
+ /* Return the set of those blocked signals that are pending. */
+ # if !@HAVE_POSIX_SIGNALBLOCKING@
+ _GL_FUNCDECL_SYS (sigpending, int, (sigset_t *set) _GL_ARG_NONNULL ((1)));