pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/xf86-video-intel SunOS needs <alloca.h> for alloca...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e4c82190cf6f
branches: trunk
changeset: 652016:e4c82190cf6f
user: richard <richard%pkgsrc.org@localhost>
date: Fri May 22 05:40:35 2015 +0000
description:
SunOS needs <alloca.h> for alloca() and <sys/mkdev.h> for major()
diffstat:
x11/xf86-video-intel/distinfo | 5 ++-
x11/xf86-video-intel/patches/patch-src_backlight.c | 16 +++++++++++++-
x11/xf86-video-intel/patches/patch-src_sna_sna__display.c | 16 +++++++++++++++
3 files changed, 33 insertions(+), 4 deletions(-)
diffs (61 lines):
diff -r 6dcc8b5ffb9d -r e4c82190cf6f x11/xf86-video-intel/distinfo
--- a/x11/xf86-video-intel/distinfo Thu May 21 22:22:31 2015 +0000
+++ b/x11/xf86-video-intel/distinfo Fri May 22 05:40:35 2015 +0000
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.24 2015/04/20 13:38:59 khorben Exp $
+$NetBSD: distinfo,v 1.25 2015/05/22 05:40:35 richard Exp $
SHA1 (xf86-video-intel-2.99.917.tar.bz2) = 9af9ded7a29026c211e5eb50a547e3e33976301d
RMD160 (xf86-video-intel-2.99.917.tar.bz2) = dd443e9e87286bbc454f4231a7a5d7c9bb2488a1
Size (xf86-video-intel-2.99.917.tar.bz2) = 2259040 bytes
-SHA1 (patch-src_backlight.c) = 32e181a91a1947387d7221284f44f05d9ce433c7
+SHA1 (patch-src_backlight.c) = 39537a3233613c777f0475343f0be615bff3c3ca
SHA1 (patch-src_legacy_i810_i810__dri.c) = fb963b994d51c9db48457106048226214a2d986c
+SHA1 (patch-src_sna_sna__display.c) = b2e5b330b5b4154b4d0bbf4edd7af1cec2c68cd8
SHA1 (patch-src_sna_sna__dri2.c) = 4bcc7e5c502a340954073386dad88fd6cebcc7b1
diff -r 6dcc8b5ffb9d -r e4c82190cf6f x11/xf86-video-intel/patches/patch-src_backlight.c
--- a/x11/xf86-video-intel/patches/patch-src_backlight.c Thu May 21 22:22:31 2015 +0000
+++ b/x11/xf86-video-intel/patches/patch-src_backlight.c Fri May 22 05:40:35 2015 +0000
@@ -1,8 +1,20 @@
-$NetBSD: patch-src_backlight.c,v 1.1 2015/03/03 01:02:05 khorben Exp $
+$NetBSD: patch-src_backlight.c,v 1.2 2015/05/22 05:40:36 richard Exp $
+
+SunOS needs <sys/mkdev.h> for major()
--- src/backlight.c.orig 2014-11-18 21:50:39.000000000 +0000
+++ src/backlight.c
-@@ -84,7 +84,7 @@ void backlight_init(struct backlight *b)
+@@ -49,6 +49,9 @@
+
+ #include "backlight.h"
+ #include "fd.h"
++#ifdef __sun
++#include <sys/mkdev.h>
++#endif
+
+ #define BACKLIGHT_CLASS "/sys/class/backlight"
+
+@@ -84,7 +87,7 @@ void backlight_init(struct backlight *b)
b->has_power = 0;
}
diff -r 6dcc8b5ffb9d -r e4c82190cf6f x11/xf86-video-intel/patches/patch-src_sna_sna__display.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xf86-video-intel/patches/patch-src_sna_sna__display.c Fri May 22 05:40:35 2015 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_sna_sna__display.c,v 1.1 2015/05/22 05:40:36 richard Exp $
+
+SunOS needs <alloca.h> for alloca()
+
+--- src/sna/sna_display.c.orig 2014-12-20 13:45:31.000000000 +0000
++++ src/sna/sna_display.c
+@@ -72,6 +72,9 @@
+ #include <memcheck.h>
+ #endif
+
++#ifdef __sun
++#include <alloca.h>
++#endif
+ /* Minor discrepancy between 32-bit/64-bit ABI in old kernels */
+ union compat_mode_get_connector{
+ struct drm_mode_get_connector conn;
Home |
Main Index |
Thread Index |
Old Index