]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blobdiff - net-tools/patches/net-tools-1.60-gcc34.patch
Move all packages to root.
[people/pmueller/ipfire-3.x.git] / net-tools / patches / net-tools-1.60-gcc34.patch
diff --git a/net-tools/patches/net-tools-1.60-gcc34.patch b/net-tools/patches/net-tools-1.60-gcc34.patch
new file mode 100644 (file)
index 0000000..5f700c1
--- /dev/null
@@ -0,0 +1,36 @@
+--- net-tools-1.60/lib/inet_sr.c.gcc34 2000-02-20 22:46:45.000000000 +0100
++++ net-tools-1.60/lib/inet_sr.c       2004-03-30 15:57:25.276049571 +0200
+@@ -105,6 +105,7 @@
+     case 2:
+        isnet = 0; break;
+     default:
++       ;
+     }
+     /* Fill in the other fields. */
+--- net-tools-1.60/hostname.c.gcc34    2004-03-30 15:58:12.979830341 +0200
++++ net-tools-1.60/hostname.c  2004-03-30 15:58:47.110380585 +0200
+@@ -98,6 +98,7 @@
+           fprintf(stderr, _("%s: name too long\n"), program_name);
+           break;
+       default:
++      ;
+       }
+       exit(1);
+     };
+@@ -117,6 +118,7 @@
+           fprintf(stderr, _("%s: name too long\n"), program_name);
+           break;
+       default:
++        ;
+       }
+       exit(1);
+     };
+@@ -180,6 +182,7 @@
+       printf("%s\n", hp->h_name);
+       break;
+     default:
++    ;
+     }
+ }