From 2b715d00717339190c30f1b4923d0c7ce76933fc Mon Sep 17 00:00:00 2001 From: jmmv Date: Mon, 6 Jun 2005 19:10:44 +0000 Subject: Fix build under DragonFly. From Joerg Sonnenberger. --- multimedia/mjpegtools/distinfo | 3 ++- multimedia/mjpegtools/patches/patch-as | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 multimedia/mjpegtools/patches/patch-as (limited to 'multimedia/mjpegtools') diff --git a/multimedia/mjpegtools/distinfo b/multimedia/mjpegtools/distinfo index 246e3e9232d..2bf03cf1cb5 100644 --- a/multimedia/mjpegtools/distinfo +++ b/multimedia/mjpegtools/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.7 2005/05/28 00:05:39 reed Exp $ +$NetBSD: distinfo,v 1.8 2005/06/06 19:10:44 jmmv Exp $ SHA1 (mjpegtools-1.6.2.tar.gz) = c69ce6cd8a37c133c92d677f21650ae541c86575 RMD160 (mjpegtools-1.6.2.tar.gz) = 48d4e6fa037f18973bae7d22ac14412182361c23 @@ -21,3 +21,4 @@ SHA1 (patch-ao) = 4fe99c5d321e8d41b9b2790c515da68e9b0bdf03 SHA1 (patch-ap) = 0d57387658ddffef2cf69a4349570b1f2ef6b5b8 SHA1 (patch-aq) = 39ab8e3f77488f1e5fa8e523e5ca96afbf925d99 SHA1 (patch-ar) = 803856b6f8c02ca0255e4c7e60964301df8fa69b +SHA1 (patch-as) = 553134147c0f98b4a3effd1f3c735b8516068c94 diff --git a/multimedia/mjpegtools/patches/patch-as b/multimedia/mjpegtools/patches/patch-as new file mode 100644 index 00000000000..7afdbece162 --- /dev/null +++ b/multimedia/mjpegtools/patches/patch-as @@ -0,0 +1,17 @@ +$NetBSD: patch-as,v 1.1 2005/06/06 19:10:44 jmmv Exp $ + +--- configure.orig 2004-02-03 22:58:37.000000000 +0000 ++++ configure +@@ -22481,9 +22481,10 @@ else + echo "${ECHO_T}no" >&6 + fi + +-# FreeBSD and OpenBSD have neither -lpthread nor integrated pthreads in libc. ++# DragonFly, FreeBSD and OpenBSD have neither -lpthread nor integrated ++# pthreads in libc. + # Instead -pthread is used to the compiler/linker to get pthreads working right. +-if test x$OS_ARCH = xFreeBSD -o x$OS_ARCH = xOpenBSD; then ++if test x$OS_ARCH = xFreeBSD -o x$OS_ARCH = xOpenBSD -o x$OS_ARCH = xDragonFly; then + CFLAGS="$CFLAGS -pthread" + CXXFLAGS="$CXXFLAGS -pthread" + fi -- cgit v1.2.3