Date: Mon, 28 Apr 2014 11:41:01 GMT From: Renato Botelho <garga@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/189069: [patch] devel/libpdel: Fix build on current, do not require root and modernize Message-ID: <201404281141.s3SBf1dV092966@cgiserv.freebsd.org> Resent-Message-ID: <201404281150.s3SBo0oJ004132@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 189069 >Category: ports >Synopsis: [patch] devel/libpdel: Fix build on current, do not require root and modernize >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Apr 28 11:50:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Renato Botelho >Release: 11-CURRENT >Organization: ESF LLC >Environment: FreeBSD fbsd1 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r263107: Thu Mar 13 15:26:26 BRT 2014 root@fbsd1:/usr/obj/usr/src/sys/GARGA amd64 >Description: - 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 >How-To-Repeat: >Fix: Patch attached with submission follows: Index: Makefile =================================================================== --- Makefile (revision 352482) +++ Makefile (working copy) @@ -3,7 +3,7 @@ PORTNAME= libpdel PORTVERSION= 0.5.3 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= devel net www MASTER_SITES= LOCAL/archie @@ -10,7 +10,7 @@ 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 Index: files/patch-Makefile =================================================================== --- files/patch-Makefile (revision 0) +++ files/patch-Makefile (working copy) @@ -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 \ Property changes on: files/patch-Makefile ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property 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 Index: files/patch-net__route_msg.c =================================================================== --- files/patch-net__route_msg.c (revision 0) +++ files/patch-net__route_msg.c (working copy) @@ -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; Property changes on: files/patch-net__route_msg.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 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404281141.s3SBf1dV092966>