ports/97258: [PATCH] devel/pwlib: [Fix build on FreeBSD 4.x]
Tod McQuillin
devin at spamcop.net
Sun May 14 12:30:21 UTC 2006
>Number: 97258
>Category: ports
>Synopsis: [PATCH] devel/pwlib: [Fix build on FreeBSD 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: Sun May 14 12:30:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Tod McQuillin
>Release: FreeBSD 4.11-STABLE i386
>Organization:
>Environment:
System: FreeBSD plexi.pun-pun.prv 4.11-STABLE FreeBSD 4.11-STABLE #0: Thu Mar 23 21:52:12 JST 2006
>Description:
The patch to plugins/vidinput_bsd/vidinput_bsd.h doesn't work on
FreeBSD 4.x because sys/types.h must be included before sys/mman.h.
The following patch adds sys/types.h as required.
Port maintainer (steve at energistic.com) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- pwlib-1.10.0_1,1.patch begins here ---
Index: files/patch-plugins-vidinput_bsd-vidinput_bsd.h
===================================================================
RCS file: /usr/src/cvs-repo/ports/devel/pwlib/files/patch-plugins-vidinput_bsd-vidinput_bsd.h,v
retrieving revision 1.1
diff -u -u -r1.1 patch-plugins-vidinput_bsd-vidinput_bsd.h
--- files/patch-plugins-vidinput_bsd-vidinput_bsd.h 7 May 2006 13:02:10 -0000 1.1
+++ files/patch-plugins-vidinput_bsd-vidinput_bsd.h 14 May 2006 12:03:44 -0000
@@ -1,6 +1,6 @@
---- plugins/vidinput_bsd/vidinput_bsd.h.orig Tue Aug 9 11:08:09 2005
-+++ plugins/vidinput_bsd/vidinput_bsd.h Thu Apr 6 09:37:11 2006
-@@ -1,13 +1,24 @@
+--- plugins/vidinput_bsd/vidinput_bsd.h.orig Tue Aug 9 18:08:09 2005
++++ plugins/vidinput_bsd/vidinput_bsd.h Sun May 14 20:50:59 2006
+@@ -1,13 +1,25 @@
+#ifndef _PVIDEOIOBSDCAPTURE
-//#include <sys/mman.h>
@@ -11,6 +11,7 @@
+#pragma interface
+#endif
+
++#include <sys/types.h>
+#include <sys/mman.h>
#include <ptlib.h>
@@ -27,7 +28,7 @@
#endif
#if defined(P_OPENBSD) || defined(P_NETBSD)
-@@ -20,19 +30,24 @@
+@@ -20,19 +32,24 @@
#endif
#endif
@@ -59,7 +60,7 @@
BOOL IsOpen();
-@@ -43,11 +58,24 @@
+@@ -43,11 +60,24 @@
BOOL IsCapturing();
@@ -87,7 +88,7 @@
BOOL GetFrameSizeLimits(unsigned int&, unsigned int&,
unsigned int&, unsigned int&);
-@@ -99,3 +127,5 @@
+@@ -99,3 +129,5 @@
int mmap_size;
};
--- pwlib-1.10.0_1,1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list