Merge lp:~kamalmostafa/ubuntu/lucid/pdp/fix-504941-ftbfs into lp:ubuntu/lucid/pdp

Proposed by Kamal Mostafa
Status: Merged
Merged at revision: not available
Proposed branch: lp:~kamalmostafa/ubuntu/lucid/pdp/fix-504941-ftbfs
Merge into: lp:ubuntu/lucid/pdp
Diff against target: 55 lines (+23/-1)
4 files modified
debian/changelog (+6/-0)
debian/control (+2/-1)
debian/patches/07_open_needs_3_args.patch (+14/-0)
debian/patches/series (+1/-0)
To merge this branch: bzr merge lp:~kamalmostafa/ubuntu/lucid/pdp/fix-504941-ftbfs
Reviewer Review Type Date Requested Status
Ubuntu branches Pending
Review via email: mp+17047@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Kamal Mostafa (kamalmostafa) wrote :

Just the usual open(O_CREAT) fix.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2009-12-10 10:20:53 +0000
+++ debian/changelog 2010-01-08 21:45:29 +0000
@@ -1,3 +1,9 @@
1pdp (1:0.12.5-1ubuntu1) lucid; urgency=high
2
3 * Fix FTBFS on Ubuntu Lucid: open(O_CREAT) needs 3 arguments (LP: #504941)
4
5 -- Kamal Mostafa <kamal@whence.com> Fri, 08 Jan 2010 12:50:27 -0800
6
1pdp (1:0.12.5-1) unstable; urgency=low7pdp (1:0.12.5-1) unstable; urgency=low
28
3 * Adopt package (closes: #521506)9 * Adopt package (closes: #521506)
410
=== modified file 'debian/control'
--- debian/control 2009-12-10 10:20:53 +0000
+++ debian/control 2010-01-08 21:45:29 +0000
@@ -1,7 +1,8 @@
1Source: pdp1Source: pdp
2Section: graphics2Section: graphics
3Priority: extra3Priority: extra
4Maintainer: Paul Brossier <piem@debian.org>4Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
5XSBC-Original-Maintainer: Paul Brossier <piem@debian.org>
5Build-Depends: debhelper (>> 7.0.50~),6Build-Depends: debhelper (>> 7.0.50~),
6 quilt,7 quilt,
7 docbook-to-man,8 docbook-to-man,
89
=== added file 'debian/patches/07_open_needs_3_args.patch'
--- debian/patches/07_open_needs_3_args.patch 1970-01-01 00:00:00 +0000
+++ debian/patches/07_open_needs_3_args.patch 2010-01-08 21:45:29 +0000
@@ -0,0 +1,14 @@
1=== modified file 'modules/generic/pdp_rawout.c'
2--- a/modules/generic/pdp_rawout.c 2009-12-10 10:20:53 +0000
3+++ b/modules/generic/pdp_rawout.c 2010-01-08 20:47:34 +0000
4@@ -138,7 +138,8 @@
5
6 /* open pipe */
7 if (-1 == (pipefd = open(x->x_pipe->s_name, O_WRONLY|O_NONBLOCK|O_APPEND))){
8- if (-1 == (pipefd = open(x->x_pipe->s_name, O_WRONLY|O_CREAT))){
9+ if (-1 == (pipefd = open(x->x_pipe->s_name, O_WRONLY|O_CREAT,
10+ S_IRUSR|S_IRGRP|S_IROTH|S_IWUSR|S_IWGRP|S_IWOTH))){
11 perror(me);
12 goto exit;
13 }
14
015
=== modified file 'debian/patches/series'
--- debian/patches/series 2009-12-10 10:20:53 +0000
+++ debian/patches/series 2010-01-08 21:45:29 +0000
@@ -3,3 +3,4 @@
303_force_Wno-error.patch303_force_Wno-error.patch
405_kfreebsd.patch405_kfreebsd.patch
506_add_v4l2.patch506_add_v4l2.patch
607_open_needs_3_args.patch

Subscribers

People subscribed via source and target branches

to all changes: