summaryrefslogtreecommitdiff
path: root/netkit-rpc
diff options
context:
space:
mode:
Diffstat (limited to 'netkit-rpc')
-rw-r--r--netkit-rpc/netkit-rpc/gcc4.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/netkit-rpc/netkit-rpc/gcc4.patch b/netkit-rpc/netkit-rpc/gcc4.patch
index e69de29bb2..c3ba7d94c3 100644
--- a/netkit-rpc/netkit-rpc/gcc4.patch
+++ b/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 */
+ }
+ }
+