summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2014-02-11 13:35:14 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-02-11 13:35:14 +0100
commit4933da643d9697c0bd9e474de4eb03c902944b36 (patch)
tree8acccaeb833be80b729e97bd936a8da962a67c12 /debian/patches
parentaee28b5d9db5f6f052c874867bf5f6835380bf9d (diff)
update fix-get-children-source.patch
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/fix-get-children-source.patch24
1 files changed, 23 insertions, 1 deletions
diff --git a/debian/patches/fix-get-children-source.patch b/debian/patches/fix-get-children-source.patch
index 53473203..e8789aa7 100644
--- a/debian/patches/fix-get-children-source.patch
+++ b/debian/patches/fix-get-children-source.patch
@@ -986,6 +986,19 @@ index 3ce75a9..cd1c29a 100644
/* Extract the host and remote filesystem names from SPEC, which should use
either HOST:FS or FS@HOST notation. Returns the malloced storage into
which both REMOTE_FS and HOST point, or 0 if SPEC is invalid. */
+diff --git a/tmpfs/tmpfs.c b/tmpfs/tmpfs.c
+index 7da3dd5..a45d343 100644
+--- a/tmpfs/tmpfs.c
++++ b/tmpfs/tmpfs.c
+@@ -33,7 +33,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
+ char *diskfs_server_name = "tmpfs";
+ char *diskfs_server_version = HURD_VERSION;
+ char *diskfs_extra_version = "GNU Hurd";
+-char *diskfs_disk_name = "swap";
++char *diskfs_disk_name = "none";
+
+ /* We ain't got to show you no stinkin' sync'ing. */
+ int diskfs_default_sync_interval = 0;
diff --git a/trans/Makefile b/trans/Makefile
index c0386d0..90df479 100644
--- a/trans/Makefile
@@ -1000,7 +1013,7 @@ index c0386d0..90df479 100644
$(targets): %: %.o
diff --git a/trans/mtab.c b/trans/mtab.c
-index 75ef1d3..744c435 100644
+index 75ef1d3..da83e6f 100644
--- a/trans/mtab.c
+++ b/trans/mtab.c
@@ -36,7 +36,7 @@
@@ -1050,6 +1063,15 @@ index 75ef1d3..744c435 100644
if (err == EOPNOTSUPP)
{
err = 0;
+@@ -571,7 +564,7 @@ map_device_to_path (const char *device, char **path)
+ else if (looks_like_block_device (device))
+ asprintf (path, "/dev/%s", device);
+ else
+- *path = strdup ("none");
++ *path = strdup (device);
+
+ if (! *path)
+ return ENOMEM;
diff --git a/trans/symlink.c b/trans/symlink.c
index 8562662..845a112 100644
--- a/trans/symlink.c