diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-02-25 10:58:50 +0100 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-02-25 10:58:50 +0100 |
commit | afee2d85a0855fd87203b005e51ee68408e9cbbf (patch) | |
tree | 957a0cbd045880c264b80583200cb7c42134f9da | |
parent | 125a5f4ef25047694af4a5b1f27aa43d06bb1c0b (diff) |
fix fix-translator-functions.patch
-rw-r--r-- | debian/patches/fix-translator-functions.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/debian/patches/fix-translator-functions.patch b/debian/patches/fix-translator-functions.patch index 1a40e4d8..1bc343e5 100644 --- a/debian/patches/fix-translator-functions.patch +++ b/debian/patches/fix-translator-functions.patch @@ -1,3 +1,17 @@ +diff --git a/exec/execmutations.h b/exec/execmutations.h +index 96b4772..ffcba9c 100644 +--- a/exec/execmutations.h ++++ b/exec/execmutations.h +@@ -3,6 +3,8 @@ + #define FILE_INTRAN trivfs_protid_t trivfs_begin_using_protid (file_t) + #define FILE_DESTRUCTOR trivfs_end_using_protid (trivfs_protid_t) + +-#define EXEC_IMPORTS import "priv.h"; ++#define EXEC_IMPORTS \ ++ import "priv.h"; \ ++ import "../libtrivfs/mig-decls.h"; \ + + #define SERVERCOPY 1 diff --git a/libtrivfs/Makefile b/libtrivfs/Makefile index 241b76d..5d27620 100644 --- a/libtrivfs/Makefile @@ -615,3 +629,16 @@ index 9725dab..46aa97b 100644 /* pfinet6 port classes. */ enum { PORTCLASS_INET, +diff --git a/trans/Makefile b/trans/Makefile +index c0386d0..bdc9681 100644 +--- a/trans/Makefile ++++ b/trans/Makefile +@@ -35,7 +35,7 @@ password-LDLIBS = $(LIBCRYPT) + password-MIGSFLAGS=\ + "-DIO_INTRAN=trivfs_protid_t trivfs_begin_using_protid (io_t)" \ + "-DIO_DESTRUCTOR=trivfs_end_using_protid (trivfs_protid_t)" \ +- "-DPASSWORD_IMPORTS=import <hurd/trivfs.h>;" ++ "-DPASSWORD_IMPORTS=import \"../libtrivfs/mig-decls.h\";" + + include ../Makeconf + |