diff options
author | garga <garga@FreeBSD.org> | 2014-05-15 02:29:25 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2014-05-15 02:29:25 +0800 |
commit | 4e55d12b9ac6895daa3401b63e26d07b5aa1a415 (patch) | |
tree | 4a9297794edc14f8fee50bbb65bc2551c7ea9634 /devel/libpdel | |
parent | 23e07743fe4964f584346058da60bdfb8eb206e8 (diff) | |
download | freebsd-ports-gnome-4e55d12b9ac6895daa3401b63e26d07b5aa1a415.tar.gz freebsd-ports-gnome-4e55d12b9ac6895daa3401b63e26d07b5aa1a415.tar.zst freebsd-ports-gnome-4e55d12b9ac6895daa3401b63e26d07b5aa1a415.zip |
. Fix build with recent current after removal of RTM_OLDADD and RTM_OLDDEL
. Modernize LIB_DEPENDS syntax
. Do not require root for staging
. Bump PORTREVISION because of LIB_DEPENDS change
PR: ports/189069
Approved by: maintainer timeout (> 2 weeks)
Diffstat (limited to 'devel/libpdel')
-rw-r--r-- | devel/libpdel/Makefile | 4 | ||||
-rw-r--r-- | devel/libpdel/files/patch-Makefile | 14 | ||||
-rw-r--r-- | devel/libpdel/files/patch-arp | 4 | ||||
-rw-r--r-- | devel/libpdel/files/patch-net__route_msg.c | 15 |
4 files changed, 34 insertions, 3 deletions
diff --git a/devel/libpdel/Makefile b/devel/libpdel/Makefile index 66ad4dca3af1..e07735daa998 100644 --- a/devel/libpdel/Makefile +++ b/devel/libpdel/Makefile @@ -3,14 +3,14 @@ PORTNAME= libpdel PORTVERSION= 0.5.3 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= devel net www MASTER_SITES= LOCAL/archie MAINTAINER= mav@alkar.net COMMENT= Packet Design multi-purpose C library for embedded applications -LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2 +LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2 MAKE_ENV= WITHOUT_PROFILE=yes __MAKE_CONF=/dev/null SRCCONF=/dev/null USE_LDCONFIG= yes diff --git a/devel/libpdel/files/patch-Makefile b/devel/libpdel/files/patch-Makefile new file mode 100644 index 000000000000..f19f5ad80c3d --- /dev/null +++ b/devel/libpdel/files/patch-Makefile @@ -0,0 +1,14 @@ +--- Makefile.orig 2014-04-26 19:31:00.000000000 -0300 ++++ Makefile 2014-04-26 19:31:40.000000000 -0300 +@@ -2,6 +2,11 @@ + + LIB= pdel + ++BINOWN!= /usr/bin/id -n -u ++BINGRP!= /usr/bin/id -n -g ++SHAREOWN= ${BINOWN} ++SHAREGRP= ${BINGRP} ++ + SUBDIRS= config http io net ppp structs sys tmpl util + + VERSION!= grep -w PDEL_VERSION_STRING ${.CURDIR}/version.h \ diff --git a/devel/libpdel/files/patch-arp b/devel/libpdel/files/patch-arp index 51841780f1e2..01a5748991e7 100644 --- a/devel/libpdel/files/patch-arp +++ b/devel/libpdel/files/patch-arp @@ -16,7 +16,7 @@ struct route_flag { const char *name; -@@ -92,15 +98,21 @@ static const struct route_flag route_fla +@@ -92,15 +98,23 @@ static const struct route_flag route_fla FLAG(DYNAMIC), FLAG(MODIFIED), FLAG(DONE), @@ -31,7 +31,9 @@ FLAG(BLACKHOLE), FLAG(PROTO2), FLAG(PROTO1), ++#ifdef RTF_PRCLONING FLAG(PRCLONING), ++#endif +#ifdef RTF_WASCLONED FLAG(WASCLONED), +#endif diff --git a/devel/libpdel/files/patch-net__route_msg.c b/devel/libpdel/files/patch-net__route_msg.c new file mode 100644 index 000000000000..43acfed2c5d0 --- /dev/null +++ b/devel/libpdel/files/patch-net__route_msg.c @@ -0,0 +1,15 @@ +--- net/route_msg.c.orig 2014-04-26 19:28:21.000000000 -0300 ++++ net/route_msg.c 2014-04-26 19:28:57.000000000 -0300 +@@ -608,8 +608,12 @@ + case RTM_REDIRECT: typestr = "REDIRECT"; break; + case RTM_MISS: typestr = "MISS"; break; + case RTM_LOCK: typestr = "LOCK"; break; ++#ifdef RTM_OLDADD + case RTM_OLDADD: typestr = "OLDADD"; break; ++#endif ++#ifdef RTM_OLDDEL + case RTM_OLDDEL: typestr = "OLDDEL"; break; ++#endif + case RTM_RESOLVE: typestr = "RESOLVE"; break; + case RTM_NEWADDR: typestr = "NEWADDR"; break; + case RTM_DELADDR: typestr = "DELADDR"; break; |