diff options
author | jmc <jmc@pkgsrc.org> | 2003-05-12 20:17:47 +0000 |
---|---|---|
committer | jmc <jmc@pkgsrc.org> | 2003-05-12 20:17:47 +0000 |
commit | 7735e77fc79512ba176a93de4143efc7729d19f3 (patch) | |
tree | f56cc81e677d4e8d159597152e4358fd7192387b /misc/gstreamer | |
parent | b97fb54e11e3177ea898077139767d259242a6d0 (diff) | |
download | pkgsrc-7735e77fc79512ba176a93de4143efc7729d19f3.tar.gz |
Redo siginfo patches to work correctly on -current also
Diffstat (limited to 'misc/gstreamer')
-rw-r--r-- | misc/gstreamer/distinfo | 4 | ||||
-rw-r--r-- | misc/gstreamer/patches/patch-ab | 15 |
2 files changed, 10 insertions, 9 deletions
diff --git a/misc/gstreamer/distinfo b/misc/gstreamer/distinfo index 46cdf715d09..c36ea6cfe60 100644 --- a/misc/gstreamer/distinfo +++ b/misc/gstreamer/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.2 2003/05/11 21:03:37 jmc Exp $ +$NetBSD: distinfo,v 1.3 2003/05/12 20:17:48 jmc Exp $ SHA1 (gstreamer-0.6.1.tar.bz2) = 9d5dbc733a1912d1e180537e6648e994329fbd5b Size (gstreamer-0.6.1.tar.bz2) = 1063325 bytes SHA1 (patch-aa) = 7106102c2310f998f812a39d3eef6af4384f291b -SHA1 (patch-ab) = 36ed56a053345f75a1cfdbf347134b40609faffa +SHA1 (patch-ab) = 709752ba3cf52cc4d2ad4d41573e1add0b0c152c diff --git a/misc/gstreamer/patches/patch-ab b/misc/gstreamer/patches/patch-ab index d96df3e3a27..2be7a55cb76 100644 --- a/misc/gstreamer/patches/patch-ab +++ b/misc/gstreamer/patches/patch-ab @@ -1,7 +1,7 @@ -$NetBSD: patch-ab,v 1.2 2003/05/11 21:03:37 jmc Exp $ +$NetBSD: patch-ab,v 1.3 2003/05/12 20:17:49 jmc Exp $ ---- tools/gst-launch.c.orig Sun Feb 2 00:05:42 2003 -+++ tools/gst-launch.c Sun May 11 15:35:14 2003 +--- gst-launch.c.orig Sun Feb 2 00:05:42 2003 ++++ gst-launch.c Mon May 12 12:14:44 2003 @@ -1,7 +1,9 @@ +#include <errno.h> #include <string.h> @@ -16,7 +16,7 @@ $NetBSD: patch-ab,v 1.2 2003/05/11 21:03:37 jmc Exp $ static guint64 max = 0; static GstClock *s_clock; -+#ifndef SA_SIGINFO ++#ifndef SI_USER +typedef struct { + char *si_addr; + int si_signo; @@ -32,7 +32,7 @@ $NetBSD: patch-ab,v 1.2 2003/05/11 21:03:37 jmc Exp $ } -+#ifndef SA_SIGINFO ++#ifndef SI_USER +void si_handler(int sig, int code, struct sigcontext *scp) +{ + siginfo_t si; @@ -53,9 +53,10 @@ $NetBSD: patch-ab,v 1.2 2003/05/11 21:03:37 jmc Exp $ struct sigaction action; memset (&action, 0, sizeof (action)); -+#ifdef SA_SIGINFO ++#ifdef SI_USER action.sa_sigaction = fault_handler; - action.sa_flags = SA_SIGINFO; +- action.sa_flags = SA_SIGINFO; ++ action.sa_flags = 0; +#else + action.sa_handler = (void (*)(int))si_handler; + action.sa_flags = 0; |