Added patch to work around weird open() glibc macro thing
This commit is contained in:
parent
775f4aa413
commit
5204be7e44
11
brasero-0.6.0-open.patch
Normal file
11
brasero-0.6.0-open.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- brasero-0.6.0/src/burn-transcode.c~ 2007-07-11 14:48:14.000000000 +0200
|
||||
+++ brasero-0.6.0/src/burn-transcode.c 2007-08-11 20:47:36.000000000 +0200
|
||||
@@ -1402,7 +1402,7 @@
|
||||
int fd;
|
||||
gboolean result;
|
||||
|
||||
- fd = open (transcode->priv->current->dest, O_WRONLY | O_CREAT | O_APPEND);
|
||||
+ fd = (open)(transcode->priv->current->dest, O_WRONLY | O_CREAT | O_APPEND);
|
||||
if (fd == -1) {
|
||||
g_set_error (error,
|
||||
BRASERO_BURN_ERROR,
|
@ -9,6 +9,7 @@ URL: http://www.gnome.org/projects/brasero/
|
||||
Source0: http://ftp.gnome.org/pub/GNOME/sources/brasero/0.6/%{name}-%{version}.tar.bz2
|
||||
Patch0: brasero-0.6.0-tooltips.patch
|
||||
Patch1: brasero-0.6.0-filterbug.patch
|
||||
Patch2: brasero-0.6.0-open.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: gettext intltool
|
||||
@ -45,6 +46,7 @@ desktop.
|
||||
%setup -q
|
||||
%patch0 -p1 -b .tooltips
|
||||
%patch1 -p1 -b .filter
|
||||
%patch2 -p1 -b .open
|
||||
|
||||
|
||||
%build
|
||||
|
Loading…
Reference in New Issue
Block a user