pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/43368: qt4-libs needs to know what DragonFly is
>Number: 43368
>Category: pkg
>Synopsis: qt4-libs needs to know what DragonFly is
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Thu May 27 02:40:00 +0000 2010
>Originator: Justin Sherrill
>Release: DragonFly 2.x
>Organization:
DragonFly BSD
>Environment:
DragonFly www.shiningsilence.com 2.6-RELEASE DragonFly v2.6.3.1.gd1d7a-RELEASE
#5: Tue May 11 21:43:55 EDT 2010
root%www.shiningsilence.com@localhost:/usr/obj/usr/src/sys/WWW i386
>Description:
qt4-libs-4.6.2 does not build on DragonFly:
http://avalon.dragonflybsd.org/reports/i386/2.6/20100505.1841/qt4-libs-4.6.2/build.log
>How-To-Repeat:
Build qt4-libs-4.6.2 from pkgsrc on any DragonFly release
>Fix:
This may not work exactly against a fresh checkout; I copied this from someone
else's description of the problem.
diff -ur
work-orig/qt-everywhere-opensource-src-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/config.h
work/qt-everywhere-opensource-src-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/config.h
---
work-orig/qt-everywhere-opensource-src-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/config.h
2010-05-22 01:41:19 +0000
+++
work/qt-everywhere-opensource-src-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/config.h
2010-05-22 01:45:24 +0000
@@ -53,7 +53,7 @@
#endif
-#if PLATFORM(FREEBSD) || PLATFORM(OPENBSD)
+#if PLATFORM(FREEBSD) || PLATFORM(OPENBSD) || PLATFORM(DRAGONFLY)
#define HAVE_PTHREAD_NP_H 1
#endif
diff -ur
work-orig/qt-everywhere-opensource-src-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h
work/qt-everywhere-opensource-src-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h
---
work-orig/qt-everywhere-opensource-src-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h
2010-05-22 01:41:19 +0000
+++
work/qt-everywhere-opensource-src-4.6.2/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h
2010-05-22 01:49:21 +0000
@@ -79,6 +79,13 @@
#define WTF_PLATFORM_FREEBSD 1
#endif
+/* PLATFORM(DRAGONFLY) */
+/* Operating system level dependencies for DragonFly BSD-like systems that */
+/* should be used regardless of operating environment */
+#ifdef __DragonFly__
+#define WTF_PLATFORM_DRAGONFLY 1
+#endif
+
/* PLATFORM(OPENBSD) */
/* Operating system level dependencies for OpenBSD systems that */
/* should be used regardless of operating environment */
@@ -141,6 +148,7 @@
/* should be used regardless of operating environment */
#if PLATFORM(DARWIN) \
|| PLATFORM(FREEBSD) \
+ || PLATFORM(DRAGONFLY) \
|| PLATFORM(SYMBIAN) \
|| PLATFORM(NETBSD) \
|| PLATFORM(SOLARIS) \
Home |
Main Index |
Thread Index |
Old Index