diff options
author | marcus <marcus@FreeBSD.org> | 2009-02-27 15:03:53 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2009-02-27 15:03:53 +0800 |
commit | f51a2c1886d772375f6aee6385d2eeb5f26053f6 (patch) | |
tree | fcedd765a4fdb18a56a32b9ed60ad619baeb4470 /sysutils/brasero | |
parent | da68ddf40b62ae41cc1902b90fbc7cb88fdece0e (diff) | |
download | freebsd-ports-gnome-f51a2c1886d772375f6aee6385d2eeb5f26053f6.tar.gz freebsd-ports-gnome-f51a2c1886d772375f6aee6385d2eeb5f26053f6.tar.zst freebsd-ports-gnome-f51a2c1886d772375f6aee6385d2eeb5f26053f6.zip |
Fix infinite loop when adding files to a data project.
Diffstat (limited to 'sysutils/brasero')
-rw-r--r-- | sysutils/brasero/Makefile | 2 | ||||
-rw-r--r-- | sysutils/brasero/files/patch-src_brasero-data-project.c | 38 |
2 files changed, 39 insertions, 1 deletions
diff --git a/sysutils/brasero/Makefile b/sysutils/brasero/Makefile index 2a40884205d9..d915447a33ca 100644 --- a/sysutils/brasero/Makefile +++ b/sysutils/brasero/Makefile @@ -7,7 +7,7 @@ PORTNAME= brasero PORTVERSION= 0.8.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= sysutils audio multimedia gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 diff --git a/sysutils/brasero/files/patch-src_brasero-data-project.c b/sysutils/brasero/files/patch-src_brasero-data-project.c new file mode 100644 index 000000000000..e1f559f12ce1 --- /dev/null +++ b/sysutils/brasero/files/patch-src_brasero-data-project.c @@ -0,0 +1,38 @@ +--- src/brasero-data-project.c.orig 2008-12-14 07:53:07.000000000 -0500 ++++ src/brasero-data-project.c 2009-02-27 01:26:42.000000000 -0500 +@@ -545,7 +545,7 @@ brasero_data_project_uri_to_nodes (Brase + if (graft) + break; + +- dirname (parent); ++ parent = dirname (parent); + } + + if (!graft) { +@@ -721,7 +721,7 @@ brasero_data_project_uri_has_parent (Bra + return TRUE; + } + +- dirname (parent); ++ parent = dirname (parent); + } + + g_free (parent); +@@ -795,7 +795,7 @@ brasero_data_project_uri_is_graft_needed + * node is missing. */ + graft_parent = g_hash_table_lookup (priv->grafts, parent); + while (parent && !graft_parent) { +- dirname (parent); ++ parent = dirname (parent); + graft_parent = g_hash_table_lookup (priv->grafts, parent); + } + g_free (parent); +@@ -2787,7 +2787,7 @@ brasero_data_project_add_excluded_uri (B + break; + + graft = NULL; +- dirname (parent_uri); ++ parent_uri = dirname (parent_uri); + } + g_free (parent_uri); + |