ports/96033: [PATCH] devel/jrtplib: fixed build error on 4.x
Yi-Huan Chan
yhchan at csie.nctu.edu.tw
Wed Apr 19 03:10:11 UTC 2006
>Number: 96033
>Category: ports
>Synopsis: [PATCH] devel/jrtplib: fixed build error on 4.x
>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: Wed Apr 19 03:10:09 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Yi-Huan Chan
>Release: FreeBSD 6.1-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD hubert.ckefgisc.org 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Tue Apr 4 19:13:53 CST
>Description:
Patches:
- fixed build error on 4.x
- patched lib/pkgconfig/jrtplib.pc to libdata/pkgconfig/jrtplib.pc
- added missing libdata/pkgconfig/jrtplib.pc in pkg-plist
Added file(s):
- files/patch-src-rtperrors.h
Port maintainer (hopet at ics.muni.cz) is cc'd.
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- jrtplib-3.5.2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/devel/jrtplib.orig/Makefile /usr/ports/devel/jrtplib/Makefile
--- /usr/ports/devel/jrtplib.orig/Makefile Sun Apr 16 20:45:25 2006
+++ /usr/ports/devel/jrtplib/Makefile Mon Apr 17 13:27:32 2006
@@ -20,4 +20,8 @@
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --disable-jthread
+post-patch:
+ @${REINPLACE_CMD} -e 's|\$$(libdir)/pkgconfig|\$$(prefix)/libdata/pkgconfig|' \
+ ${WRKSRC}/pkgconfig/Makefile.in
+
.include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/devel/jrtplib.orig/files/patch-src-rtperrors.h /usr/ports/devel/jrtplib/files/patch-src-rtperrors.h
--- /usr/ports/devel/jrtplib.orig/files/patch-src-rtperrors.h Thu Jan 1 08:00:00 1970
+++ /usr/ports/devel/jrtplib/files/patch-src-rtperrors.h Sun Apr 16 20:52:44 2006
@@ -0,0 +1,10 @@
+--- src/rtperrors.h Tue Feb 21 17:31:13 2006
++++ src/rtperrors.h Sun Apr 16 20:46:09 2006
+@@ -34,6 +34,7 @@
+
+ #define RTPERRORS_H
+
++#include <stdio.h>
+ #include <string>
+
+ std::string RTPGetErrorString(int errcode);
diff -ruN --exclude=CVS /usr/ports/devel/jrtplib.orig/pkg-plist /usr/ports/devel/jrtplib/pkg-plist
--- /usr/ports/devel/jrtplib.orig/pkg-plist Sun Apr 16 20:45:25 2006
+++ /usr/ports/devel/jrtplib/pkg-plist Mon Apr 17 13:10:39 2006
@@ -49,4 +49,5 @@
lib/libjrtp.a
lib/libjrtp.la
lib/libjrtp.so
+libdata/pkgconfig/jrtplib.pc
@dirrm include/jrtplib3
--- jrtplib-3.5.2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list