summaryrefslogtreecommitdiffstats
path: root/sysutils/brasero3
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2011-05-29 13:21:52 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2011-05-29 13:21:52 +0800
commit81de69fda832b900b54e9299aeab527004efc838 (patch)
treedd1512ab38ae76ba9899cd529b978cadd04e640b /sysutils/brasero3
parent3ce840067f75bc7fc20e172a1e7e01328a254e6d (diff)
downloadmarcuscom-ports-81de69fda832b900b54e9299aeab527004efc838.tar
marcuscom-ports-81de69fda832b900b54e9299aeab527004efc838.tar.gz
marcuscom-ports-81de69fda832b900b54e9299aeab527004efc838.tar.bz2
marcuscom-ports-81de69fda832b900b54e9299aeab527004efc838.tar.lz
marcuscom-ports-81de69fda832b900b54e9299aeab527004efc838.tar.xz
marcuscom-ports-81de69fda832b900b54e9299aeab527004efc838.tar.zst
marcuscom-ports-81de69fda832b900b54e9299aeab527004efc838.zip
Add a patch to fix growisofs on FreeBSD.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@16015 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils/brasero3')
-rw-r--r--sysutils/brasero3/Makefile3
-rw-r--r--sysutils/brasero3/files/patch-plugins-growisofs-burn-growisofs.c24
2 files changed, 26 insertions, 1 deletions
diff --git a/sysutils/brasero3/Makefile b/sysutils/brasero3/Makefile
index 8d0911ce1..ddd6adcdd 100644
--- a/sysutils/brasero3/Makefile
+++ b/sysutils/brasero3/Makefile
@@ -3,10 +3,11 @@
# Whom: Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/sysutils/brasero3/Makefile,v 1.9 2011/04/10 19:41:37 mezz Exp $
+# $MCom: ports/sysutils/brasero3/Makefile,v 1.10 2011/04/10 20:50:04 mezz Exp $
PORTNAME= brasero
PORTVERSION= 3.0.0
+PORTREVISION= 1
CATEGORIES= sysutils audio multimedia gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3
diff --git a/sysutils/brasero3/files/patch-plugins-growisofs-burn-growisofs.c b/sysutils/brasero3/files/patch-plugins-growisofs-burn-growisofs.c
new file mode 100644
index 000000000..f7ae2b9e6
--- /dev/null
+++ b/sysutils/brasero3/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)) {