Index: head/net/samplicator/Makefile =================================================================== --- head/net/samplicator/Makefile (revision 470718) +++ head/net/samplicator/Makefile (revision 470719) @@ -1,33 +1,34 @@ # $FreeBSD$ PORTNAME= samplicator DISTVERSION= 1.3.8rc1 +PORTREVISION= 1 CATEGORIES= net MAINTAINER= me@falz.net COMMENT= Receives UDP datagrams and redistributes them to a set of receivers LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= autoreconf USE_GITHUB= yes GH_ACCOUNT= sleinen GNU_CONFIGURE= yes USE_RC_SUBR= ${PORTNAME} PLIST_FILES= bin/samplicate PORTDOCS= NEWS README OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${WRKSRC}/samplicate ${STAGEDIR}${PREFIX}/bin do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR}/ cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include Index: head/net/samplicator/files/patch-rawsend.c =================================================================== --- head/net/samplicator/files/patch-rawsend.c (nonexistent) +++ head/net/samplicator/files/patch-rawsend.c (revision 470719) @@ -0,0 +1,15 @@ +--- rawsend.c.orig 2015-04-28 22:22:02 UTC ++++ rawsend.c +@@ -118,9 +118,9 @@ raw_send_from_to (s, msg, msglen, saddr_generic, daddr + /* Depending on the target platform, te ip_off and ip_len fields + should be in either host or network byte order. Usually + BSD-derivatives require host byte order, but at least OpenBSD +- since version 2.1 uses network byte order. Linux uses network +- byte order for all IP header fields. */ +-#if defined (__linux__) || (defined (__OpenBSD__) && (OpenBSD > 199702)) ++ since version 2.1 and FreeBSD since 11.0 use network byte ++ order. Linux uses network byte order for all IP header fields. */ ++#if defined (__linux__) || (defined (__OpenBSD__) && (OpenBSD > 199702)) || (defined (__FreeBSD_version) && (__FreeBSD_version > 1100030)) + ih.ip_len = htons (length); + ih.ip_off = htons (0); + #else Property changes on: head/net/samplicator/files/patch-rawsend.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property