pkgsrc-Bugs archive

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

pkg/44351: pkgsrc/misc/kdeedu4 fails to build on DragonFly



>Number:         44351
>Category:       pkg
>Synopsis:       pkgsrc/misc/kdeedu4 fails to build on DragonFly
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 08 23:40:01 +0000 2011
>Originator:     Peter Avalos
>Release:        DragonFly 2.9
>Organization:
DragonFly
>Environment:
DragonFly rama 2.9-DEVELOPMENT DragonFly v2.9.1.401.gb1094-DEVELOPMENT #10: Fri 
Jan  7 19:03:26 HST 2011     root@rama:/usr/obj/usr/src/sys/RAMA  i386

>Description:
kdeedu4 fails to build in kstars, because it tries to use LONG_LONG_MAX instead 
of LLONG_MAX.
>How-To-Repeat:

>Fix:
This fix was already applied to the KDE SVN sources:

diff --git a/misc/kdeedu4/distinfo b/misc/kdeedu4/distinfo
index 8b9bf56..44dbb05 100644
--- a/misc/kdeedu4/distinfo
+++ b/misc/kdeedu4/distinfo
@@ -9,3 +9,4 @@ SHA1 (patch-ae) = 412adfe31664db087e66ce73428ee775dff858d3
 SHA1 (patch-af) = 0a8691662dee0950102bdd5c688a545a98834226
 SHA1 (patch-an) = 46ffc8f0602586eadffe8c772e7b5cb4a69f62e3
 SHA1 (patch-ao) = e283188c1cc6e2ab76c66332c2c93c19a32052c3
+SHA1 (patch-ap) = e3904ad31f3cd9c126c3e90ea410d46029a716ba
diff --git a/misc/kdeedu4/patches/patch-ap b/misc/kdeedu4/patches/patch-ap
new file mode 100644
index 0000000..2c31069
--- /dev/null
+++ b/misc/kdeedu4/patches/patch-ap
@@ -0,0 +1,11 @@
+--- kstars/kstars/htmesh/SkipListElement.h.orig        2010-06-08 00:11:38 
-1000
++++ kstars/kstars/htmesh/SkipListElement.h     2011-01-07 12:21:20 -1000
+@@ -22,7 +22,7 @@
+ #ifdef _WIN32
+ #define KEY_MAX _I64_MAX
+ #else
+-#  if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || 
( defined(__SUNPRO_CC) && defined(__sun) )
++#  if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || 
defined(__DragonFly__) || ( defined(__SUNPRO_CC) && defined(__sun) )
+ #    define KEY_MAX LLONG_MAX
+ #  else
+ #    define KEY_MAX LONG_LONG_MAX



Home | Main Index | Thread Index | Old Index