diff -u pilot-link-0.12.3/debian/changelog pilot-link-0.12.3/debian/changelog --- pilot-link-0.12.3/debian/changelog +++ pilot-link-0.12.3/debian/changelog @@ -1,3 +1,15 @@ +pilot-link (0.12.3-4ubuntu3) intrepid; urgency=low + + [ Steve Kowalik ] + * Rebuild for libbluetooth2 -> libbluetooth3 transistion. + * Add 30_3_arg_open.dpatch, calling open(2) with 3 arguments. + + [ Mario Limonciello + * debian/control: + - Adjust depends to libbluetooth-dev instead of libbluetooth2-dev. + + -- Mario Limonciello Tue, 30 Sep 2008 15:07:54 -0500 + pilot-link (0.12.3-4ubuntu2) intrepid; urgency=low * Rebuild for the perl 5.10 transition (LP: #230016). diff -u pilot-link-0.12.3/debian/control pilot-link-0.12.3/debian/control --- pilot-link-0.12.3/debian/control +++ pilot-link-0.12.3/debian/control @@ -83,7 +83,7 @@ Architecture: any Section: libdevel Priority: extra -Depends: libpisock9 (= ${binary:Version}), libpisync1 (= ${binary:Version}), libncurses-dev|libncurses5-dev, libusb-dev, libbluetooth2-dev +Depends: libpisock9 (= ${binary:Version}), libpisync1 (= ${binary:Version}), libncurses-dev|libncurses5-dev, libusb-dev, libbluetooth-dev Conflicts: libpisock3 (<= 0.9.5-pre5-1.1), pilot-link (<= 0.11.3-4) Replaces: pilot-link (<= 0.11.3-4) Description: development files for communicating with a PalmOS PDA diff -u pilot-link-0.12.3/debian/patches/00list pilot-link-0.12.3/debian/patches/00list --- pilot-link-0.12.3/debian/patches/00list +++ pilot-link-0.12.3/debian/patches/00list @@ -1,0 +2 @@ +30_3_arg_open.dpatch only in patch2: unchanged: --- pilot-link-0.12.3.orig/debian/patches/30_3_arg_open.dpatch +++ pilot-link-0.12.3/debian/patches/30_3_arg_open.dpatch @@ -0,0 +1,29 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 30_3_arg_open.dpatch by Steve Kowalik +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: open(2) has 3 arguments with O_CREAT. + +@DPATCH@ +diff -urNad pilot-link-0.12.3~/src/pilot-schlep.c pilot-link-0.12.3/src/pilot-schlep.c +--- pilot-link-0.12.3~/src/pilot-schlep.c 2006-10-13 00:21:21.000000000 +1000 ++++ pilot-link-0.12.3/src/pilot-schlep.c 2008-10-01 00:30:54.000000000 +1000 +@@ -22,6 +22,9 @@ + */ + + #include ++#include ++#include ++#include + + #include "pi-source.h" + #include "pi-file.h" +@@ -38,7 +41,7 @@ + fd; + pi_buffer_t *buffer; + +- fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC); ++ fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR & S_IWUSR & S_IXUSR & S_IRGRP & S_IROTH); + if (fd < 0) + return -1; +