aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2010-05-22 16:51:00 +0800
committerwen <wen@FreeBSD.org>2010-05-22 16:51:00 +0800
commit87f86c26f46c5812a1b752ba64fbab1c8e119334 (patch)
treefc16c0a73e2ac68c1f751b50aaaeb9ad5abc690a
parent3cc74e1d75b75edbb4b3b96f3e3b024fc354417a (diff)
downloadfreebsd-ports-gnome-87f86c26f46c5812a1b752ba64fbab1c8e119334.tar.gz
freebsd-ports-gnome-87f86c26f46c5812a1b752ba64fbab1c8e119334.tar.zst
freebsd-ports-gnome-87f86c26f46c5812a1b752ba64fbab1c8e119334.zip
- Fix the build error reported by QAT@
PR: ports/146809 Submitted by: Sten Spans <sten@blinkenlights.nl> (maintainer)
-rw-r--r--net/ladvd/Makefile1
-rw-r--r--net/ladvd/files/patch-ifdescr-semicolon11
2 files changed, 12 insertions, 0 deletions
diff --git a/net/ladvd/Makefile b/net/ladvd/Makefile
index 97bcfabd48cb..a477e6aabe44 100644
--- a/net/ladvd/Makefile
+++ b/net/ladvd/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ladvd
PORTVERSION= 0.9.0
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://blinkenlights.nl/software/ladvd/
diff --git a/net/ladvd/files/patch-ifdescr-semicolon b/net/ladvd/files/patch-ifdescr-semicolon
new file mode 100644
index 000000000000..d3c02d4b11fe
--- /dev/null
+++ b/net/ladvd/files/patch-ifdescr-semicolon
@@ -0,0 +1,11 @@
+--- src/netif.c.orig 2010-05-21 23:59:23.000000000 +0200
++++ src/netif.c 2010-05-21 23:59:36.000000000 +0200
+@@ -264,7 +264,7 @@
+ #ifndef __FreeBSD__
+ ifr.ifr_data = (caddr_t)&netif->description;
+ #else
+- ifr.ifr_buffer.buffer = &netif->description
++ ifr.ifr_buffer.buffer = &netif->description;
+ ifr.ifr_buffer.length = IFDESCRSIZE;
+ #endif
+ ioctl(sockfd, SIOCGIFDESCR, &ifr);