aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--x11-drivers/xf86-video-radeonhd-devel/Makefile9
-rw-r--r--x11-drivers/xf86-video-radeonhd-devel/distinfo6
-rw-r--r--x11-drivers/xf86-video-radeonhd-devel/files/patch-configure.ac13
-rw-r--r--x11-drivers/xf86-video-radeonhd-devel/files/patch-src-Makefile.am11
4 files changed, 28 insertions, 11 deletions
diff --git a/x11-drivers/xf86-video-radeonhd-devel/Makefile b/x11-drivers/xf86-video-radeonhd-devel/Makefile
index 32f821a98a84..78fbacfcf8da 100644
--- a/x11-drivers/xf86-video-radeonhd-devel/Makefile
+++ b/x11-drivers/xf86-video-radeonhd-devel/Makefile
@@ -6,8 +6,8 @@
#
PORTNAME= xf86-video-radeonhd
-PORTVERSION= 1.2.5.20090412
-PORTREVISION= 1
+PORTVERSION= 1.2.5.20090509
+PORTREVISION= 0
CATEGORIES= x11-drivers
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= nork
@@ -18,7 +18,7 @@ COMMENT= X.Org ati RadeonHD display driver development version
BUILD_DEPENDS= ${LOCALBASE}/share/aclocal/xorg-macros.m4:${PORTSDIR}/devel/xorg-macros \
${LOCALBASE}/libdata/pkgconfig/gl.pc:${PORTSDIR}/graphics/libGL
-LIB_DEPENDS= pci.2:${PORTSDIR}/devel/libpci
+LIB_DEPENDS= pciaccess.0:${PORTSDIR}/devel/libpciaccess
XORG_CAT= driver
USE_XORG= damageproto videoproto xextproto xf86driproto
@@ -30,9 +30,6 @@ MAN4= radeonhd.4x
ACLOCAL_ARGS= --acdir=${LOCALBASE}/share/aclocal
-CONFIGURE_ENV+= PCIUTILS_CFLAGS="-I${LOCALBASE}/include" \
- PCIUTILS_LIBS="-L${LOCALBASE}/lib -lpci -lz"
-
pre-configure:
cd ${WRKSRC} && ${AUTORECONF} -i
diff --git a/x11-drivers/xf86-video-radeonhd-devel/distinfo b/x11-drivers/xf86-video-radeonhd-devel/distinfo
index 4113e01428f1..9682f591d247 100644
--- a/x11-drivers/xf86-video-radeonhd-devel/distinfo
+++ b/x11-drivers/xf86-video-radeonhd-devel/distinfo
@@ -1,3 +1,3 @@
-MD5 (xorg/driver/xf86-video-radeonhd-1.2.5.20090412.tar.bz2) = 3bec2823c199e6b96f6ccf9bbab691a1
-SHA256 (xorg/driver/xf86-video-radeonhd-1.2.5.20090412.tar.bz2) = f6d75bde55668d9b8af0018dca49594d6436c4aa46005bba684a26514d55b38c
-SIZE (xorg/driver/xf86-video-radeonhd-1.2.5.20090412.tar.bz2) = 382300
+MD5 (xorg/driver/xf86-video-radeonhd-1.2.5.20090509.tar.bz2) = a8b94b658b05a7f46b962b7169c3b1d7
+SHA256 (xorg/driver/xf86-video-radeonhd-1.2.5.20090509.tar.bz2) = ea19bcfb73c6f2162264a075490f66e0d26ba91e068567fbf10d9ec12eb6fbc2
+SIZE (xorg/driver/xf86-video-radeonhd-1.2.5.20090509.tar.bz2) = 388681
diff --git a/x11-drivers/xf86-video-radeonhd-devel/files/patch-configure.ac b/x11-drivers/xf86-video-radeonhd-devel/files/patch-configure.ac
index 42aa74510a8f..dd30aa0db8ca 100644
--- a/x11-drivers/xf86-video-radeonhd-devel/files/patch-configure.ac
+++ b/x11-drivers/xf86-video-radeonhd-devel/files/patch-configure.ac
@@ -1,5 +1,5 @@
---- configure.ac.orig 2008-11-14 21:27:59.000000000 +0900
-+++ configure.ac 2008-12-08 04:37:01.000000000 +0900
+--- configure.ac.orig 2009-05-09 00:44:27.000000000 +0900
++++ configure.ac 2009-05-09 02:21:41.017956544 +0900
@@ -21,6 +21,9 @@
dnl Define SED var without requiring AC_PROG_SED (new in autoconf-2.59b)
m4_ifdef([AC_PROG_SED], [AC_PROG_SED], [AC_SUBST([SED], [${SED-sed}])])
@@ -10,3 +10,12 @@
AC_MSG_CHECKING([whether $SED can substitute tabs and newlines for text])
dnl One tab, a letter and two newlines
cat>sed-test.1<<EOF
+@@ -314,7 +317,7 @@
+
+ # AtomBios special flags
+ ATOMBIOS_CFLAGS=""
+-for w in -std=c99 -Wno-unknown-pragmas ; do
++for w in -std=gnu99 -Wno-unknown-pragmas ; do
+ AC_PROG_CC_FLAG($w,[ATOMBIOS_CFLAGS="$ATOMBIOS_CFLAGS $w"],)
+ done
+
diff --git a/x11-drivers/xf86-video-radeonhd-devel/files/patch-src-Makefile.am b/x11-drivers/xf86-video-radeonhd-devel/files/patch-src-Makefile.am
new file mode 100644
index 000000000000..6fe17e1b3f9f
--- /dev/null
+++ b/x11-drivers/xf86-video-radeonhd-devel/files/patch-src-Makefile.am
@@ -0,0 +1,11 @@
+--- src/Makefile.am.orig 2009-05-09 00:44:27.000000000 +0900
++++ src/Makefile.am 2009-05-09 02:01:40.761722699 +0900
+@@ -4,7 +4,7 @@
+
+ EXTRA_DIST = Imakefile
+
+-AM_CFLAGS = @XORG_CFLAGS@ @DRI_CFLAGS@ @WARN_CFLAGS@
++AM_CFLAGS = @XORG_CFLAGS@ @DRI_CFLAGS@ @WARN_CFLAGS@ @ATOMBIOS_CFLAGS@
+
+ driversdir = ${moduledir}/drivers
+ drivers_LTLIBRARIES = radeonhd_drv.la