diff options
Diffstat (limited to 'packages/netkit-rpc')
-rw-r--r-- | packages/netkit-rpc/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/netkit-rpc/netkit-rpc-native_0.17.bb | 4 | ||||
-rw-r--r-- | packages/netkit-rpc/netkit-rpc/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/netkit-rpc/netkit-rpc/gcc4.patch | 37 | ||||
-rw-r--r-- | packages/netkit-rpc/netkit-rpc/install.patch | 29 |
5 files changed, 70 insertions, 0 deletions
diff --git a/packages/netkit-rpc/.mtn2git_empty b/packages/netkit-rpc/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/netkit-rpc/.mtn2git_empty diff --git a/packages/netkit-rpc/netkit-rpc-native_0.17.bb b/packages/netkit-rpc/netkit-rpc-native_0.17.bb index e69de29bb2..bc17d40ef7 100644 --- a/packages/netkit-rpc/netkit-rpc-native_0.17.bb +++ b/packages/netkit-rpc/netkit-rpc-native_0.17.bb @@ -0,0 +1,4 @@ +include netkit-rpc_${PV}.bb +inherit native + +FILESPATH = "${FILE_DIRNAME}/netkit-rpc-${PV}:${FILE_DIRNAME}/netkit-rpc:${FILE_DIRNAME}/files:${FILE_DIRNAME}" diff --git a/packages/netkit-rpc/netkit-rpc/.mtn2git_empty b/packages/netkit-rpc/netkit-rpc/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/netkit-rpc/netkit-rpc/.mtn2git_empty diff --git a/packages/netkit-rpc/netkit-rpc/gcc4.patch b/packages/netkit-rpc/netkit-rpc/gcc4.patch index e69de29bb2..c3ba7d94c3 100644 --- a/packages/netkit-rpc/netkit-rpc/gcc4.patch +++ b/packages/netkit-rpc/netkit-rpc/gcc4.patch @@ -0,0 +1,37 @@ + +# +# Patch managed by http://www.holgerschurig.de/patcher.html +# + +--- netkit-rpc-0.17/rpcgen/rpc_cout.c~gcc4 ++++ netkit-rpc-0.17/rpcgen/rpc_cout.c +@@ -101,8 +101,6 @@ + case DEF_TYPEDEF: + emit_typedef(def); + break; +- default: +- /* can't happen */ + } + print_trailer(); + } +@@ -664,9 +662,6 @@ + decl->name,decl->array_max); + emit_single_in_line(decl,flag,REL_VECTOR); + f_print(fout,"\t\t }\n\t\t };\n"); +- +- default: +- /* ?... do nothing I guess */ + } + } + +--- netkit-rpc-0.17/rpcgen/rpc_hout.c~gcc4 ++++ netkit-rpc-0.17/rpcgen/rpc_hout.c +@@ -106,8 +106,6 @@ + f_print(fout, "\n"); + pprogramdef(def); + break; +- default: +- /* ?... shouldn't happen I guess */ + } + } + diff --git a/packages/netkit-rpc/netkit-rpc/install.patch b/packages/netkit-rpc/netkit-rpc/install.patch index e69de29bb2..6b45c4d761 100644 --- a/packages/netkit-rpc/netkit-rpc/install.patch +++ b/packages/netkit-rpc/netkit-rpc/install.patch @@ -0,0 +1,29 @@ + +# +# Patch managed by http://www.holgerschurig.de/patcher.html +# + +--- netkit-rpc-0.17/rpcgen/Makefile~install.patch ++++ netkit-rpc-0.17/rpcgen/Makefile +@@ -13,7 +13,9 @@ + rpc_main.o: ../version.h + + install: rpcgen ++ install -d $(INSTALLROOT)$(BINDIR) + install -s -m$(BINMODE) rpcgen $(INSTALLROOT)$(BINDIR) ++ install -d $(INSTALLROOT)$(MANDIR) + install -m$(MANMODE) rpcgen.1 $(INSTALLROOT)$(MANDIR)/man1 + + clean: +--- netkit-rpc-0.17/rpcinfo/Makefile~install.patch ++++ netkit-rpc-0.17/rpcinfo/Makefile +@@ -8,7 +8,9 @@ + rpcinfo.o: ../version.h + + install: rpcinfo ++ install -d $(INSTALLROOT)$(BINDIR) + install -s -m$(BINMODE) rpcinfo $(INSTALLROOT)$(BINDIR) ++ install -d $(INSTALLROOT)$(MANDIR)/man8 + install -m$(MANMODE) rpcinfo.8 $(INSTALLROOT)$(MANDIR)/man8 + + clean: |