diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2010-08-11 18:03:03 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2010-08-11 18:03:03 +0000 |
commit | 74e7af02fbcaece256876dbe9118f26c5c057cff (patch) | |
tree | a13b60bba9fb83ac2aa66126436009e10ee063cb | |
parent | 22f6eded46fb93e09a96520ba612b6fd55922de2 (diff) | |
download | ports-74e7af02fbcaece256876dbe9118f26c5c057cff.tar.gz ports-74e7af02fbcaece256876dbe9118f26c5c057cff.zip |
Notes
-rw-r--r-- | deskutils/xfce4-generic-slider/Makefile | 1 | ||||
-rw-r--r-- | deskutils/xfce4-generic-slider/files/patch-generic-slider.c | 23 |
2 files changed, 24 insertions, 0 deletions
diff --git a/deskutils/xfce4-generic-slider/Makefile b/deskutils/xfce4-generic-slider/Makefile index 297a561c6e5b..016c739e2ec6 100644 --- a/deskutils/xfce4-generic-slider/Makefile +++ b/deskutils/xfce4-generic-slider/Makefile @@ -7,6 +7,7 @@ PORTNAME= xfce4-generic-slider PORTVERSION= 0.0.20100604 +PORTREVISION= 1 CATEGORIES= deskutils MASTER_SITES= CRITICAL diff --git a/deskutils/xfce4-generic-slider/files/patch-generic-slider.c b/deskutils/xfce4-generic-slider/files/patch-generic-slider.c new file mode 100644 index 000000000000..74b441607893 --- /dev/null +++ b/deskutils/xfce4-generic-slider/files/patch-generic-slider.c @@ -0,0 +1,23 @@ +--- ./generic-slider.c.orig 2010-06-04 23:25:59.000000000 +0200 ++++ ./generic-slider.c 2010-08-11 19:55:41.000000000 +0200 +@@ -162,15 +162,15 @@ + arglist[num_args - 1] = NULL; + + /* Forks */ +- ++ + pid = fork(); +- if (pid == -1) { +- fprintf(stderr, "Could not fork a new process\n"); +- } else if (pid == 0) { ++ if(pid==0) { ++ wait(); ++ } else { + execvp(arglist[0], arglist); + perror("execvp"); +- _exit(-1); + } ++ + } + + static gint scroll_slider_cb(GtkWidget *widget, GdkEventScroll *event, GList *stupid_hack) { |