]> git.pld-linux.org Git - packages/bridge-utils.git/blobdiff - debian.patch
- new Source URL, updated to 1.6
[packages/bridge-utils.git] / debian.patch
index ef8a5f10ea4b44904ff4be536a06541fb01e5e6a..7c5a77cff9e7a0a7025f960c82b7c6d4c707bd24 100644 (file)
@@ -9,18 +9,6 @@
  
  clean:
        rm -f *.o brctl core
---- bridge-utils-1.5.orig/brctl/brctl.c
-+++ bridge-utils-1.5/brctl/brctl.c
-@@ -69,7 +69,8 @@
-       argc -= optind;
-       argv += optind;
-       if ((cmd = command_lookup(*argv)) == NULL) {
--              fprintf(stderr, "never heard of command [%s]\n", argv[1]);
-+/* Debian bug #406907 */
-+              fprintf(stderr, "never heard of command [%s]\n", argv[0]);
-               goto help;
-       }
-       
 --- bridge-utils-1.5.orig/libbridge/Makefile.in
 +++ bridge-utils-1.5/libbridge/Makefile.in
 @@ -5,8 +5,7 @@
 -      $(CC) $(CFLAGS) -c libbridge_compat.c
 +      $(CC) $(CFLAGS) $(CPPFLAGS) -c libbridge_compat.c
  
---- bridge-utils-1.5.orig/libbridge/libbridge_devif.c
-+++ bridge-utils-1.5/libbridge/libbridge_devif.c
-@@ -288,12 +288,16 @@
-       char path[SYSFS_PATH_MAX];
-       FILE *f;
--      snprintf(path, SYSFS_PATH_MAX, SYSFS_CLASS_NET "%s/%s", bridge, name);
-+/* Debian bug #496491 */
-+      snprintf(path, SYSFS_PATH_MAX, SYSFS_CLASS_NET "%s/bridge/%s", bridge, name);
-       f = fopen(path, "w");
-       if (f) {
-               ret = fprintf(f, "%ld\n", value);
-               fclose(f);
-+/* Debian bug #574363 */
-+              if (errno)
-+                      ret=-1;
-       } else {
-               /* fallback to old ioctl */
-               struct ifreq ifr;
-@@ -355,6 +359,9 @@
-       if (f) {
-               ret = fprintf(f, "%ld\n", value);
-               fclose(f);
-+/* Debian bug #574363 */
-+              if (errno)
-+                      ret=-1;
-       } else {
-               int index = get_portno(bridge, ifname);
This page took 0.036011 seconds and 4 git commands to generate.