Changeset 32958


Ignore:
Timestamp:
2012-08-03T15:32:39+02:00 (6 years ago)
Author:
florian
Message:

[package] xtables-addons: fix build for 64-bits targets

The first fix is a pointer comparison fix, and the second is not to
override the Linux kernel's TARGET_LDFLAGS with those that we use
during cross-compiling.

Location:
packages/net/xtables-addons
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • packages/net/xtables-addons/Makefile

    r31282 r32958  
    1111PKG_NAME:=xtables-addons 
    1212PKG_VERSION:=1.42 
    13 PKG_RELEASE:=1 
     13PKG_RELEASE:=2 
    1414 
    1515PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz 
     
    4545                DESTDIR="$(PKG_INSTALL_DIR)" \ 
    4646                DEPMOD="/bin/true" \ 
    47                 LDFLAGS="$(TARGET_LDFLAGS)" \ 
    4847                all 
    4948endef 
     
    5554                DESTDIR="$(PKG_INSTALL_DIR)" \ 
    5655                DEPMOD="/bin/true" \ 
    57                 LDFLAGS="$(TARGET_LDFLAGS)" \ 
    5856                install 
    5957endef 
  • packages/net/xtables-addons/patches/200-add-lua-packetscript.patch

    r31282 r32958  
    1801518015+               p->start = pskb->transport_header; 
    1801618016+       p->offset = 0; 
    18017 +       p->length = pskb->tail - p->start; 
     18017+       p->length = (unsigned long)pskb->tail - (unsigned long)p->start; 
    1801818018+       p->changes = NULL; 
    1801918019+ 
Note: See TracChangeset for help on using the changeset viewer.