Add two patches to make pwlib build on Sparc64
Approved my Joe
This commit is contained in:
parent
15d50ff35c
commit
0c20d95e07
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=94847
14
devel/pwlib/files/patch-makefile
Normal file
14
devel/pwlib/files/patch-makefile
Normal file
@ -0,0 +1,14 @@
|
||||
*** src/ptlib/unix/Makefile.orig Tue Dec 2 11:15:55 2003
|
||||
--- src/ptlib/unix/Makefile Tue Dec 2 11:16:39 2003
|
||||
*************** VIDEO_CAPTURE_SOURCE = video4linux.cxx
|
||||
*** 422,428 ****
|
||||
--- 422,430 ----
|
||||
endif
|
||||
|
||||
ifeq ($(OSTYPE),FreeBSD)
|
||||
+ ifneq (,$(wildcard $(SYSINCDIR)/machine/ioctl_meteor.h))
|
||||
VIDEO_CAPTURE_SOURCE = video4bsd.cxx
|
||||
+ endif
|
||||
endif
|
||||
|
||||
ifeq ($(OSTYPE),OpenBSD)
|
36
devel/pwlib/files/patch-videoio
Normal file
36
devel/pwlib/files/patch-videoio
Normal file
@ -0,0 +1,36 @@
|
||||
*** include/ptlib/unix/ptlib/videoio.h.orig Mon Jan 6 18:41:08 2003
|
||||
--- include/ptlib/unix/ptlib/videoio.h Tue Dec 2 09:42:10 2003
|
||||
***************
|
||||
*** 106,112 ****
|
||||
#include <linux/videodev.h> /* change this to "videodev2.h" for v4l2 */
|
||||
#endif
|
||||
|
||||
! #if defined(P_FREEBSD)
|
||||
#include <machine/ioctl_meteor.h>
|
||||
#endif
|
||||
|
||||
--- 106,112 ----
|
||||
#include <linux/videodev.h> /* change this to "videodev2.h" for v4l2 */
|
||||
#endif
|
||||
|
||||
! #if defined(P_FREEBSD) && !defined(NO_VIDEO_CAPTURE)
|
||||
#include <machine/ioctl_meteor.h>
|
||||
#endif
|
||||
|
||||
***************
|
||||
*** 186,192 ****
|
||||
struct video_mmap frameBuffer[2];
|
||||
#endif
|
||||
|
||||
! #if defined(P_FREEBSD) || defined(P_OPENBSD) || defined(P_NETBSD)
|
||||
struct video_capability
|
||||
{
|
||||
int channels; /* Num channels */
|
||||
--- 186,192 ----
|
||||
struct video_mmap frameBuffer[2];
|
||||
#endif
|
||||
|
||||
! #if (defined(P_FREEBSD) || defined(P_OPENBSD) || defined(P_NETBSD)) && !defined(NO_VIDEO_CAPTURE)
|
||||
struct video_capability
|
||||
{
|
||||
int channels; /* Num channels */
|
14
devel/pwlib152/files/patch-makefile
Normal file
14
devel/pwlib152/files/patch-makefile
Normal file
@ -0,0 +1,14 @@
|
||||
*** src/ptlib/unix/Makefile.orig Tue Dec 2 11:15:55 2003
|
||||
--- src/ptlib/unix/Makefile Tue Dec 2 11:16:39 2003
|
||||
*************** VIDEO_CAPTURE_SOURCE = video4linux.cxx
|
||||
*** 422,428 ****
|
||||
--- 422,430 ----
|
||||
endif
|
||||
|
||||
ifeq ($(OSTYPE),FreeBSD)
|
||||
+ ifneq (,$(wildcard $(SYSINCDIR)/machine/ioctl_meteor.h))
|
||||
VIDEO_CAPTURE_SOURCE = video4bsd.cxx
|
||||
+ endif
|
||||
endif
|
||||
|
||||
ifeq ($(OSTYPE),OpenBSD)
|
36
devel/pwlib152/files/patch-videoio
Normal file
36
devel/pwlib152/files/patch-videoio
Normal file
@ -0,0 +1,36 @@
|
||||
*** include/ptlib/unix/ptlib/videoio.h.orig Mon Jan 6 18:41:08 2003
|
||||
--- include/ptlib/unix/ptlib/videoio.h Tue Dec 2 09:42:10 2003
|
||||
***************
|
||||
*** 106,112 ****
|
||||
#include <linux/videodev.h> /* change this to "videodev2.h" for v4l2 */
|
||||
#endif
|
||||
|
||||
! #if defined(P_FREEBSD)
|
||||
#include <machine/ioctl_meteor.h>
|
||||
#endif
|
||||
|
||||
--- 106,112 ----
|
||||
#include <linux/videodev.h> /* change this to "videodev2.h" for v4l2 */
|
||||
#endif
|
||||
|
||||
! #if defined(P_FREEBSD) && !defined(NO_VIDEO_CAPTURE)
|
||||
#include <machine/ioctl_meteor.h>
|
||||
#endif
|
||||
|
||||
***************
|
||||
*** 186,192 ****
|
||||
struct video_mmap frameBuffer[2];
|
||||
#endif
|
||||
|
||||
! #if defined(P_FREEBSD) || defined(P_OPENBSD) || defined(P_NETBSD)
|
||||
struct video_capability
|
||||
{
|
||||
int channels; /* Num channels */
|
||||
--- 186,192 ----
|
||||
struct video_mmap frameBuffer[2];
|
||||
#endif
|
||||
|
||||
! #if (defined(P_FREEBSD) || defined(P_OPENBSD) || defined(P_NETBSD)) && !defined(NO_VIDEO_CAPTURE)
|
||||
struct video_capability
|
||||
{
|
||||
int channels; /* Num channels */
|
Loading…
Reference in New Issue
Block a user