pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/50204: x11/libxshmfence patches for DragonFly and FreeBSD
>Number: 50204
>Category: pkg
>Synopsis: x11/libxshmfence patches for DragonFly and FreeBSD
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Sep 04 06:35:00 +0000 2015
>Originator: David Shao
>Release: pkgsrc current
>Organization:
>Environment:
DragonFly 4.3-DEVELOPMENT DragonFly v4.3.1.401.g3f4ec-DEVELOPMENT #2: Thu Sep 3 07:03:26 PDT 2015 xxxxxx@:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64
>Description:
The following patches get x11/libxshmfence to build on DragonFly 4.3-DEVELOPMENT and FreeBSD 10.2 release, 10.2 stable, and 11 current.
diff -Nurb libxshmfence.orig/Makefile libxshmfence/Makefile
--- libxshmfence.orig/Makefile 2015-04-29 07:31:42.000000000 -0700
+++ libxshmfence/Makefile 2015-08-05 21:47:37.431978000 -0700
@@ -20,7 +20,7 @@
# implementation on NetBSD. See PR lib/49529.
# (On FreeBSD, umtx is used.)
-ONLY_FOR_PLATFORM+= Linux-*-* FreeBSD-*-*
+ONLY_FOR_PLATFORM+= Linux-*-* FreeBSD-*-* DragonFly-*-*
.include "../../x11/xproto/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -Nurb libxshmfence.orig/distinfo libxshmfence/distinfo
--- libxshmfence.orig/distinfo 2015-04-29 07:31:42.000000000 -0700
+++ libxshmfence/distinfo 2015-08-05 22:16:48.758096000 -0700
@@ -3,3 +3,4 @@
SHA1 (libxshmfence-1.2.tar.bz2) = a2ebe90e5595afca4db93a4359732af43b2b8c69
RMD160 (libxshmfence-1.2.tar.bz2) = fe4b42d4ee01a993cd653d8f10334069bcc4791c
Size (libxshmfence-1.2.tar.bz2) = 267170 bytes
+SHA1 (patch-src_xshmfence__futex.h) = a1ae75e502f0de4dda0fb61eda3bfc3af2cc5171
diff -Nurb libxshmfence.orig/patches/patch-src_xshmfence__futex.h libxshmfence/patches/patch-src_xshmfence__futex.h
--- libxshmfence.orig/patches/patch-src_xshmfence__futex.h 1969-12-31 16:00:00.000000000 -0800
+++ libxshmfence/patches/patch-src_xshmfence__futex.h 2015-08-05 22:16:41.098091000 -0700
@@ -0,0 +1,14 @@
+$NetBSD$
+
+--- src/xshmfence_futex.h.orig 2014-06-17 20:46:42.000000000 +0000
++++ src/xshmfence_futex.h
+@@ -28,6 +28,9 @@
+
+ #ifdef HAVE_UMTX
+
++#if defined(__FreeBSD__)
++#include <sys/limits.h>
++#endif
+ #include <sys/types.h>
+ #include <sys/umtx.h>
+
I hope it is obvious that without the first patch, libxshmfence will not build properly on DragonFly.
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index