Ticket #3779: ndisc_3779.patch

File ndisc_3779.patch, 2.1 KB (added by anonymous, 8 years ago)

Partial patch, there's still some apparent <netinet/tcp.h>/FAVOR_BSD trace-tcp.c bustage that needs to be fixed

  • packages/ipv6/ndisc/patches/100-license.patch

     
    1 diff -urN ndisc6.old/Makefile ndisc6.dev/Makefile 
    2 --- ndisc6.old/Makefile 2005-12-01 15:34:08.000000000 +0100 
    3 +++ ndisc6.dev/Makefile 2006-03-23 13:44:32.000000000 +0100 
    4 @@ -31,7 +31,7 @@ 
    5   
    6  sbin_PROGRAMS = ndisc6 rdisc6 traceroute6 
    7  man8_MANS = $(sbin_PROGRAMS:%=%.8) 
    8 -DOC = COPYING INSTALL NEWS README 
    9 +DOC = INSTALL NEWS README 
    10   
    11  AM_CPPFLAGS = -DPACKAGE_VERSION=\"$(VERSION)\" $(CPPFLAGS) 
    12  ndisc6_CPPFLAGS = $(AM_CPPFLAGS) 
    13 @@ -52,9 +52,6 @@ 
    14  tcptraceroute6: traceroute6 
    15         ln -sf traceroute6 $@ 
    16   
    17 -COPYING: /usr/share/common-licenses/GPL-2 
    18 -       ln -s $< $@ 
    19 - 
    20  install: all install-man install-links 
    21         mkdir -p $(DESTDIR)$(bindir) 
    22         @for f in $(sbin_PROGRAMS); do \ 
  • packages/ipv6/ndisc/Makefile

     
    99include $(TOPDIR)/rules.mk 
    1010 
    1111PKG_NAME:=ndisc6 
    12 PKG_VERSION:=0.5.1 
     12PKG_VERSION:=0.9.8 
    1313PKG_RELEASE:=1 
    14 PKG_MD5SUM:=33487fe5505b195eb31468d88ba9ab56 
    1514 
     15PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 
    1616PKG_SOURCE_URL:=http://www.remlab.net/files/ndisc6/ \ 
    1717        http://www.remlab.net/files/ndisc6/archive/ 
    18 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 
     18PKG_MD5SUM:=cb8d70564b8d40aae95e19592c6be183 
    1919 
    20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) 
    21  
    2220include $(INCLUDE_DIR)/package.mk 
    2321 
    2422define Package/ndisc 
     
    2624  CATEGORY:=IPv6 
    2725  SUBMENU:=IPv6 discovery tools 
    2826  TITLE:=IPv6 discovery tools 
    29   URL:=http://people.via.ecp.fr/~rem/ndisc6/ 
     27  URL:=http://www.remlab.net/ndisc6/ 
    3028endef 
    3129 
    3230define Package/ndisc/description 
     
    6462define Build/Compile 
    6563        $(MAKE) -C $(PKG_BUILD_DIR) \ 
    6664                $(TARGET_CONFIGURE_OPTS) \ 
    67                 CFLAGS="$(TARGET_CFLAGS)" \ 
     65                CFLAGS="$(TARGET_CFLAGS) -std=c99" \ 
    6866                all 
    6967endef 
    7068