diff options
Diffstat (limited to 'debian/patches/0008-libstore-provide-function-declaration-until-availabl.patch')
-rw-r--r-- | debian/patches/0008-libstore-provide-function-declaration-until-availabl.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/debian/patches/0008-libstore-provide-function-declaration-until-availabl.patch b/debian/patches/0008-libstore-provide-function-declaration-until-availabl.patch new file mode 100644 index 00000000..1a73d7f2 --- /dev/null +++ b/debian/patches/0008-libstore-provide-function-declaration-until-availabl.patch @@ -0,0 +1,38 @@ +From 5f913e1d0d5edef2e4f9abf8ca078abf2a72ba23 Mon Sep 17 00:00:00 2001 +From: Justus Winter <4winter@informatik.uni-hamburg.de> +Date: Wed, 21 May 2014 13:30:24 +0200 +Subject: [PATCH 08/27] libstore: provide function declaration until available + upstream + +Until the Hurd specific header is available, provide a local +declaration of ped_device_new_from_store. + +* libstore/part.c (ped_device_new_from_store): New declaration. +--- + libstore/part.c | 10 ++++++++++ + 1 file changed, 10 insertions(+) + +diff --git a/libstore/part.c b/libstore/part.c +index 56e904e..fb7f07e 100644 +--- a/libstore/part.c ++++ b/libstore/part.c +@@ -26,6 +26,16 @@ + + #include <parted/parted.h> + /*#include <parted/device_gnu.h>*/ ++ ++/* XXX Until the Hurd specific header is available, provide the ++ declaration of ped_device_new_from_store here. */ ++ ++/* Initialize a PedDevice using SOURCE. The SOURCE will NOT be destroyed; ++ the caller created it, it is the caller's responsilbility to free it ++ after it calls ped_device_destory. SOURCE is not registered in Parted's ++ list of devices. */ ++PedDevice* ped_device_new_from_store (struct store *source); ++ + #include <string.h> + #include <error.h> + +-- +2.0.0.rc2 + |