diff options
author | roger <roger@FreeBSD.org> | 2003-12-03 08:22:34 +0800 |
---|---|---|
committer | roger <roger@FreeBSD.org> | 2003-12-03 08:22:34 +0800 |
commit | bbcd4a4edea27535f9f6e9a08cfb4d34992f0cb7 (patch) | |
tree | 7cddf97058bf67939ae745b7350c43682dc88d70 /devel/pwlib152 | |
parent | eaaa850a458ceacfb98c7a5a4f82beab0c00fafb (diff) | |
download | freebsd-ports-gnome-bbcd4a4edea27535f9f6e9a08cfb4d34992f0cb7.tar.gz freebsd-ports-gnome-bbcd4a4edea27535f9f6e9a08cfb4d34992f0cb7.tar.zst freebsd-ports-gnome-bbcd4a4edea27535f9f6e9a08cfb4d34992f0cb7.zip |
Add two patches to make pwlib build on Sparc64
Approved my Joe
Diffstat (limited to 'devel/pwlib152')
-rw-r--r-- | devel/pwlib152/files/patch-makefile | 14 | ||||
-rw-r--r-- | devel/pwlib152/files/patch-videoio | 36 |
2 files changed, 50 insertions, 0 deletions
diff --git a/devel/pwlib152/files/patch-makefile b/devel/pwlib152/files/patch-makefile new file mode 100644 index 000000000000..8ca3ca5e99f7 --- /dev/null +++ b/devel/pwlib152/files/patch-makefile @@ -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) diff --git a/devel/pwlib152/files/patch-videoio b/devel/pwlib152/files/patch-videoio new file mode 100644 index 000000000000..74d8a5c43c02 --- /dev/null +++ b/devel/pwlib152/files/patch-videoio @@ -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 */ |