diff options
6 files changed, 60 insertions, 2 deletions
diff --git a/sysutils/gnome-system-tools/Makefile b/sysutils/gnome-system-tools/Makefile index 86a6f4199..1dca8a647 100644 --- a/sysutils/gnome-system-tools/Makefile +++ b/sysutils/gnome-system-tools/Makefile @@ -7,7 +7,7 @@ PORTNAME= gnomesystemtools PORTVERSION= 1.2.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/gnome-system-tools/1.2 diff --git a/sysutils/gnome-system-tools/files/patch-src_common_gst-auth.c b/sysutils/gnome-system-tools/files/patch-src_common_gst-auth.c new file mode 100644 index 000000000..9272d9181 --- /dev/null +++ b/sysutils/gnome-system-tools/files/patch-src_common_gst-auth.c @@ -0,0 +1,18 @@ +--- src/common/gst-auth.c.orig Thu Mar 10 14:39:18 2005 ++++ src/common/gst-auth.c Thu Mar 10 14:39:50 2005 +@@ -142,12 +142,12 @@ gst_auth_run_term (GstTool *tool, gchar + unsetenv("LANG"); + unsetenv("LANGUAGE"); + +- dup2 (p[1], 1); +- dup2 (p[1], 2); ++ dup2 (p[1], STDOUT_FILENO); ++ /*dup2 (p[1], 2);*/ + close (p[0]); + + execv (args[0], args); +- exit (255); ++ _exit (255); + } else { + #ifndef __FreeBSD__ + /* Linux's su works ok with echo disabling */ diff --git a/sysutils/gnome-system-tools/files/patch-src_common_gst-tool.c b/sysutils/gnome-system-tools/files/patch-src_common_gst-tool.c new file mode 100644 index 000000000..5134f30e5 --- /dev/null +++ b/sysutils/gnome-system-tools/files/patch-src_common_gst-tool.c @@ -0,0 +1,11 @@ +--- src/common/gst-tool.c.orig Thu Mar 10 14:39:54 2005 ++++ src/common/gst-tool.c Thu Mar 10 14:40:00 2005 +@@ -1653,7 +1653,7 @@ poll_backend (GstTool *tool) + struct pollfd fd; + + fd.fd = tool->read_fd; +- fd.events = POLLIN || POLLPRI; ++ fd.events = POLLIN | POLLPRI; + + while (poll (&fd, 1, 100) <= 0) { + while (gtk_events_pending ()) diff --git a/sysutils/gnomesystemtools/Makefile b/sysutils/gnomesystemtools/Makefile index 86a6f4199..1dca8a647 100644 --- a/sysutils/gnomesystemtools/Makefile +++ b/sysutils/gnomesystemtools/Makefile @@ -7,7 +7,7 @@ PORTNAME= gnomesystemtools PORTVERSION= 1.2.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/gnome-system-tools/1.2 diff --git a/sysutils/gnomesystemtools/files/patch-src_common_gst-auth.c b/sysutils/gnomesystemtools/files/patch-src_common_gst-auth.c new file mode 100644 index 000000000..9272d9181 --- /dev/null +++ b/sysutils/gnomesystemtools/files/patch-src_common_gst-auth.c @@ -0,0 +1,18 @@ +--- src/common/gst-auth.c.orig Thu Mar 10 14:39:18 2005 ++++ src/common/gst-auth.c Thu Mar 10 14:39:50 2005 +@@ -142,12 +142,12 @@ gst_auth_run_term (GstTool *tool, gchar + unsetenv("LANG"); + unsetenv("LANGUAGE"); + +- dup2 (p[1], 1); +- dup2 (p[1], 2); ++ dup2 (p[1], STDOUT_FILENO); ++ /*dup2 (p[1], 2);*/ + close (p[0]); + + execv (args[0], args); +- exit (255); ++ _exit (255); + } else { + #ifndef __FreeBSD__ + /* Linux's su works ok with echo disabling */ diff --git a/sysutils/gnomesystemtools/files/patch-src_common_gst-tool.c b/sysutils/gnomesystemtools/files/patch-src_common_gst-tool.c new file mode 100644 index 000000000..5134f30e5 --- /dev/null +++ b/sysutils/gnomesystemtools/files/patch-src_common_gst-tool.c @@ -0,0 +1,11 @@ +--- src/common/gst-tool.c.orig Thu Mar 10 14:39:54 2005 ++++ src/common/gst-tool.c Thu Mar 10 14:40:00 2005 +@@ -1653,7 +1653,7 @@ poll_backend (GstTool *tool) + struct pollfd fd; + + fd.fd = tool->read_fd; +- fd.events = POLLIN || POLLPRI; ++ fd.events = POLLIN | POLLPRI; + + while (poll (&fd, 1, 100) <= 0) { + while (gtk_events_pending ()) |