small compile fix for gcc 3.4.3
SVN-Revision: 503
This commit is contained in:
parent
9f2d6b0c73
commit
afd37fbbc6
2 changed files with 11 additions and 0 deletions
|
@ -19,6 +19,7 @@ $(DL_DIR)/$(PKG_SOURCE):
|
|||
|
||||
$(PKG_BUILD_DIR)/.unpacked: $(DL_DIR)/$(PKG_SOURCE)
|
||||
$(PKG_CAT) $(DL_DIR)/$(PKG_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||
$(PATCH) $(PKG_BUILD_DIR) ./patches
|
||||
touch $(PKG_BUILD_DIR)/.unpacked
|
||||
|
||||
$(PKG_BUILD_DIR)/ebtables: $(PKG_BUILD_DIR)/.unpacked
|
||||
|
|
10
openwrt/package/ebtables/patches/gcc3.4-ebtables_c.patch
Normal file
10
openwrt/package/ebtables/patches/gcc3.4-ebtables_c.patch
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- ebtables-v2.0.6/ebtables.c 2003-11-02 19:22:56.000000000 +0100
|
||||
+++ ebtables-patch/ebtables.c 2005-03-29 08:03:09.734707134 +0200
|
||||
@@ -1171,6 +1171,7 @@
|
||||
continue;
|
||||
return i;
|
||||
letscontinue:
|
||||
+ {};
|
||||
}
|
||||
return -1;
|
||||
}
|
Loading…
Reference in a new issue