diff options
author | stefan <stefan@FreeBSD.org> | 2007-10-03 17:14:22 +0800 |
---|---|---|
committer | stefan <stefan@FreeBSD.org> | 2007-10-03 17:14:22 +0800 |
commit | 84fe490ada4a595e156c87c227a527b57ed40627 (patch) | |
tree | 4dbaa9d912fc0a43d86f0c70ed1a185ca6a3ccd2 /net | |
parent | c8281621c548a9c4197324afb1f401c7cf556908 (diff) | |
download | freebsd-ports-gnome-84fe490ada4a595e156c87c227a527b57ed40627.tar.gz freebsd-ports-gnome-84fe490ada4a595e156c87c227a527b57ed40627.tar.zst freebsd-ports-gnome-84fe490ada4a595e156c87c227a527b57ed40627.zip |
Make ushare work on amd64 by fixing a variable declaration.
PR: 116757
Submitted by: Josh Carroll <josh.carroll@gmail.com>
Approved by: maintainer
Diffstat (limited to 'net')
-rw-r--r-- | net/ushare/Makefile | 2 | ||||
-rw-r--r-- | net/ushare/files/patch-src_ushare.c | 12 |
2 files changed, 13 insertions, 1 deletions
diff --git a/net/ushare/Makefile b/net/ushare/Makefile index bbff9aca1796..486b8dbd294a 100644 --- a/net/ushare/Makefile +++ b/net/ushare/Makefile @@ -7,7 +7,7 @@ PORTNAME= ushare PORTVERSION= 1.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net MASTER_SITES= http://ushare.geexbox.org/releases/ diff --git a/net/ushare/files/patch-src_ushare.c b/net/ushare/files/patch-src_ushare.c new file mode 100644 index 000000000000..d6fd7f655025 --- /dev/null +++ b/net/ushare/files/patch-src_ushare.c @@ -0,0 +1,12 @@ +--- src/ushare.c.orig Sun Jul 1 18:57:22 2007 ++++ src/ushare.c Wed Oct 3 11:03:45 2007 +@@ -386,7 +386,8 @@ + unsigned char *ptr; + + #if (defined(BSD) || defined(__FreeBSD__)) +- int mib[6], len; ++ int mib[6]; ++ size_t len; + struct if_msghdr *ifm; + struct sockaddr_dl *sdl; + #else /* Linux */ |