Skip to contentSkip to conversation

New package: netkit-rpc

PATCH New Armin Kuster 1 participant 1 message Dec 2, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 New package: netkit-rpc

this adds rpcinfo and rpcgen

---
 .../recipes-netkit/netkit-rpc/files/gcc4.patch     | 39 ++++++++++++++++++++
 .../recipes-netkit/netkit-rpc/netkit-rpc_0.17.bb   | 41 ++++++++++++++++++++++
 2 files changed, 80 insertions(+)
 create mode 100644 meta-networking/recipes-netkit/netkit-rpc/files/gcc4.patch
 create mode 100644 meta-networking/recipes-netkit/netkit-rpc/netkit-rpc_0.17.bb
meta-networking/recipes-netkit/netkit-rpc/files/gcc4.patch new file +39 -0
new file mode 100644
index 0000000..d54cea9
@@ -0,0 +1,39 @@
+This fixes an issue when building with gcc 4.x
+
+https://github.com/openembedded/openembedded/tree/master/recipes/netkit-rpc/netkit-rpc
+
+Upstream-status: Backported
+
+Signed-off-By: Armin Kuster <[email protected]>
+
+--- 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 */
+ 	}
+ }
meta-networking/recipes-netkit/netkit-rpc/netkit-rpc_0.17.bb new file +41 -0

41 lines not on this page · raw message

Signature · 1 line
1.9.1