From 3ce840067f75bc7fc20e172a1e7e01328a254e6d Mon Sep 17 00:00:00 2001 From: marcus Date: Sun, 29 May 2011 05:20:56 +0000 Subject: Sync with FreeBSD ports. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@16014 df743ca5-7f9a-e211-a948-0013205c9059 --- sysutils/brasero/Makefile | 4 ++-- .../files/patch-plugins-growisofs-burn-growisofs.c | 24 ++++++++++++++++++++++ 2 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 sysutils/brasero/files/patch-plugins-growisofs-burn-growisofs.c (limited to 'sysutils') diff --git a/sysutils/brasero/Makefile b/sysutils/brasero/Makefile index ce8728c6a..c18451ea2 100644 --- a/sysutils/brasero/Makefile +++ b/sysutils/brasero/Makefile @@ -3,11 +3,11 @@ # Whom: Michael Johnson # # $FreeBSD$ -# $MCom: ports/sysutils/brasero/Makefile,v 1.86 2011/04/10 19:41:36 mezz Exp $ +# $MCom: ports/sysutils/brasero/Makefile,v 1.87 2011/04/10 20:50:04 mezz Exp $ PORTNAME= brasero PORTVERSION= 2.32.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils audio multimedia gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 diff --git a/sysutils/brasero/files/patch-plugins-growisofs-burn-growisofs.c b/sysutils/brasero/files/patch-plugins-growisofs-burn-growisofs.c new file mode 100644 index 000000000..f7ae2b9e6 --- /dev/null +++ b/sysutils/brasero/files/patch-plugins-growisofs-burn-growisofs.c @@ -0,0 +1,24 @@ +--- plugins/growisofs/burn-growisofs.c.orig 2011-05-23 20:22:46.000000000 +0700 ++++ plugins/growisofs/burn-growisofs.c 2011-05-23 20:23:15.000000000 +0700 +@@ -502,18 +502,18 @@ + /* FIXME: is it right to mess with it ? + g_ptr_array_add (argv, g_strdup_printf ("-use-the-force-luke=bufsize:%im", 32)); */ + +- if (!g_file_test ("/proc/self/fd/0", G_FILE_TEST_EXISTS)) { ++ if (!g_file_test ("/dev/fd/0", G_FILE_TEST_EXISTS)) { + g_set_error (error, + BRASERO_BURN_ERROR, + BRASERO_BURN_ERROR_FILE_NOT_FOUND, + _("\"%s\" could not be found"), +- "/proc/self/fd/0"); ++ "/dev/fd/0"); + return BRASERO_BURN_ERR; + } + + /* FIXME: should we use DAO ? */ + g_ptr_array_add (argv, g_strdup ("-Z")); +- g_ptr_array_add (argv, g_strdup_printf ("%s=/proc/self/fd/0", device)); ++ g_ptr_array_add (argv, g_strdup_printf ("%s=/dev/fd/0", device)); + g_free (device); + } + else if (BRASERO_IS_TRACK_IMAGE (current)) { -- cgit v1.2.3