summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorjmc <jmc@pkgsrc.org>2003-05-12 20:17:47 +0000
committerjmc <jmc@pkgsrc.org>2003-05-12 20:17:47 +0000
commit7735e77fc79512ba176a93de4143efc7729d19f3 (patch)
treef56cc81e677d4e8d159597152e4358fd7192387b /graphics
parentb97fb54e11e3177ea898077139767d259242a6d0 (diff)
downloadpkgsrc-7735e77fc79512ba176a93de4143efc7729d19f3.tar.gz
Redo siginfo patches to work correctly on -current also
Diffstat (limited to 'graphics')
-rw-r--r--graphics/swfdec/distinfo4
-rw-r--r--graphics/swfdec/patches/patch-ab13
2 files changed, 9 insertions, 8 deletions
diff --git a/graphics/swfdec/distinfo b/graphics/swfdec/distinfo
index ff2432945d2..481bec218c9 100644
--- a/graphics/swfdec/distinfo
+++ b/graphics/swfdec/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.3 2003/05/11 10:05:13 jmc Exp $
+$NetBSD: distinfo,v 1.4 2003/05/12 20:17:47 jmc Exp $
SHA1 (swfdec-0.2.1.tar.gz) = e2c3b2257fefab0d4c45be24f351340735cc0674
Size (swfdec-0.2.1.tar.gz) = 325500 bytes
SHA1 (patch-aa) = ae2cd8ffb34d09c709378cc3b45510cb5d738305
-SHA1 (patch-ab) = b13d137473b9b0dd640c76bc74acf00666029375
+SHA1 (patch-ab) = 2a2a6b335ddb0ebce2aee38eb004d4b6e26f19b7
SHA1 (patch-ac) = 13d5317380add698baa4e14a0187622325cd3a6a
diff --git a/graphics/swfdec/patches/patch-ab b/graphics/swfdec/patches/patch-ab
index 38e3e469cb2..91f2e905289 100644
--- a/graphics/swfdec/patches/patch-ab
+++ b/graphics/swfdec/patches/patch-ab
@@ -1,7 +1,7 @@
-$NetBSD: patch-ab,v 1.2 2003/05/11 10:05:13 jmc Exp $
+$NetBSD: patch-ab,v 1.3 2003/05/12 20:17:48 jmc Exp $
--- player/swf_play.c.orig Wed Feb 5 20:19:27 2003
-+++ player/swf_play.c Sun May 11 04:39:15 2003
++++ player/swf_play.c Mon May 12 11:43:12 2003
@@ -15,6 +15,8 @@
#include <signal.h>
#include <sys/wait.h>
@@ -15,7 +15,7 @@ $NetBSD: patch-ab,v 1.2 2003/05/11 10:05:13 jmc Exp $
static gboolean render_idle(gpointer data);
/* fault handling stuff */
-+#ifndef SA_SIGINFO
++#ifndef SI_USER
+typedef struct {
+ char *si_addr;
+ int si_signo;
@@ -31,7 +31,7 @@ $NetBSD: patch-ab,v 1.2 2003/05/11 10:05:13 jmc Exp $
_exit(0);
}
-+#ifndef SA_SIGINFO
++#ifndef SI_USER
+void si_handler(int sig, int code, struct sigcontext *scp)
+{
+ siginfo_t si;
@@ -52,9 +52,10 @@ $NetBSD: patch-ab,v 1.2 2003/05/11 10:05:13 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;