pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/mjpegtools Fix build under DragonFly. From...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/57c7b57d1672
branches:  trunk
changeset: 495315:57c7b57d1672
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Mon Jun 06 19:10:44 2005 +0000

description:
Fix build under DragonFly.  From Joerg Sonnenberger.

diffstat:

 multimedia/mjpegtools/distinfo         |   3 ++-
 multimedia/mjpegtools/patches/patch-as |  17 +++++++++++++++++
 2 files changed, 19 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r defbeccd129f -r 57c7b57d1672 multimedia/mjpegtools/distinfo
--- a/multimedia/mjpegtools/distinfo    Mon Jun 06 19:10:36 2005 +0000
+++ b/multimedia/mjpegtools/distinfo    Mon Jun 06 19:10:44 2005 +0000
@@ -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-ap) = 0d57387658ddffef2cf69a4349570b1f2ef6b5b8
 SHA1 (patch-aq) = 39ab8e3f77488f1e5fa8e523e5ca96afbf925d99
 SHA1 (patch-ar) = 803856b6f8c02ca0255e4c7e60964301df8fa69b
+SHA1 (patch-as) = 553134147c0f98b4a3effd1f3c735b8516068c94
diff -r defbeccd129f -r 57c7b57d1672 multimedia/mjpegtools/patches/patch-as
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mjpegtools/patches/patch-as    Mon Jun 06 19:10:44 2005 +0000
@@ -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



Home | Main Index | Thread Index | Old Index