summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg>2007-03-20 16:03:59 +0000
committerjoerg <joerg>2007-03-20 16:03:59 +0000
commit3af564bfb6f6ca3ad78de5b581fd4073660d6081 (patch)
tree512a355f231bc27759aceaa8df0a0ccda85cec21
parent6a9aa3363637a1798fa2a0980ac1c46796446e36 (diff)
downloadpkgsrc-3af564bfb6f6ca3ad78de5b581fd4073660d6081.tar.gz
Import xf86-video-chips-1.1.1 from modular Xorg.
This is the Chips and Technologies video driver for the modular Xorg server.
-rw-r--r--x11/xf86-video-chips/DESCR1
-rw-r--r--x11/xf86-video-chips/Makefile23
-rw-r--r--x11/xf86-video-chips/PLIST6
-rw-r--r--x11/xf86-video-chips/distinfo6
-rw-r--r--x11/xf86-video-chips/patches/patch-aa64
5 files changed, 100 insertions, 0 deletions
diff --git a/x11/xf86-video-chips/DESCR b/x11/xf86-video-chips/DESCR
new file mode 100644
index 00000000000..745b8b755e4
--- /dev/null
+++ b/x11/xf86-video-chips/DESCR
@@ -0,0 +1 @@
+This is the Chips and Technologies video driver for the modular Xorg server.
diff --git a/x11/xf86-video-chips/Makefile b/x11/xf86-video-chips/Makefile
new file mode 100644
index 00000000000..4546394fb63
--- /dev/null
+++ b/x11/xf86-video-chips/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/03/20 16:03:59 joerg Exp $
+#
+
+DISTNAME= xf86-video-chips-1.1.1
+CATEGORIES= x11
+MASTER_SITES= http://xorg.freedesktop.org/releases/individual/driver/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= joerg@NetBSD.org
+COMMENT= Modular Xorg Chips and Technologies video driver
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+USE_TOOLS+= pkg-config
+
+.include "../../x11/modular-xorg-server/buildlink3.mk"
+.include "../../x11/randrproto/buildlink3.mk"
+.include "../../x11/renderproto/buildlink3.mk"
+.include "../../x11/videoproto/buildlink3.mk"
+.include "../../x11/xextproto/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/xf86-video-chips/PLIST b/x11/xf86-video-chips/PLIST
new file mode 100644
index 00000000000..2bed129bbbc
--- /dev/null
+++ b/x11/xf86-video-chips/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/03/20 16:03:59 joerg Exp $
+lib/xorg/modules/drivers/chips_drv.la
+man/man4/chips.4
+@comment @dirrm lib/xorg/modules/drivers
+@comment @dirrm lib/xorg/modules
+@comment @dirrm lib/xorg
diff --git a/x11/xf86-video-chips/distinfo b/x11/xf86-video-chips/distinfo
new file mode 100644
index 00000000000..34312ac9003
--- /dev/null
+++ b/x11/xf86-video-chips/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/03/20 16:03:59 joerg Exp $
+
+SHA1 (xf86-video-chips-1.1.1.tar.bz2) = 0df4bd2545b6b9db5670a7e512f24562fb1b7a03
+RMD160 (xf86-video-chips-1.1.1.tar.bz2) = add8ff2e344ed99db5723497516f8c969975820c
+Size (xf86-video-chips-1.1.1.tar.bz2) = 324093 bytes
+SHA1 (patch-aa) = 17105811c83e54ec786f6c56f187594dbc186592
diff --git a/x11/xf86-video-chips/patches/patch-aa b/x11/xf86-video-chips/patches/patch-aa
new file mode 100644
index 00000000000..ebb69087aba
--- /dev/null
+++ b/x11/xf86-video-chips/patches/patch-aa
@@ -0,0 +1,64 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/03/20 16:03:59 joerg Exp $
+
+--- configure.orig 2007-03-20 16:50:47.000000000 +0100
++++ configure
+@@ -20137,59 +20137,7 @@ _ACEOF
+
+ fi
+
+-
+-# Checks for functions (often defined as inlines in compiler.h)
+-echo "$as_me:$LINENO: checking for inb" >&5
+-echo $ECHO_N "checking for inb... $ECHO_C" >&6
+-cat >conftest.$ac_ext <<_ACEOF
+-/* confdefs.h. */
+-_ACEOF
+-cat confdefs.h >>conftest.$ac_ext
+-cat >>conftest.$ac_ext <<_ACEOF
+-/* end confdefs.h. */
+-
+-#include "util/AsmMacros.h"
+-
+-int main() {
+- int x = inb(0);
+- return x;
+-}
+-
+-_ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+- (eval $ac_link) 2>conftest.er1
+- ac_status=$?
+- grep -v '^ *+' conftest.er1 >conftest.err
+- rm -f conftest.er1
+- cat conftest.err >&5
+- echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); } &&
+- { ac_try='test -z "$ac_c_werror_flag"
+- || test ! -s conftest.err'
+- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+- (eval $ac_try) 2>&5
+- ac_status=$?
+- echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); }; } &&
+- { ac_try='test -s conftest$ac_exeext'
+- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+- (eval $ac_try) 2>&5
+- ac_status=$?
+- echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); }; }; then
+- HAVE_INB=yes
+-else
+- echo "$as_me: failed program was:" >&5
+-sed 's/^/| /' conftest.$ac_ext >&5
+-
+ HAVE_INB=no
+-fi
+-rm -f conftest.err conftest.$ac_objext \
+- conftest$ac_exeext conftest.$ac_ext
+-echo "$as_me:$LINENO: result: $HAVE_INB" >&5
+-echo "${ECHO_T}$HAVE_INB" >&6
+-
+
+ if test x$HAVE_INB = xyes; then
+ BUILD_UTILS_TRUE=