Index: x11-drivers/xf86-video-apm/Makefile =================================================================== --- x11-drivers/xf86-video-apm/Makefile (revision 431798) +++ x11-drivers/xf86-video-apm/Makefile (working copy) @@ -2,7 +2,7 @@ PORTNAME= xf86-video-apm PORTVERSION= 1.2.5 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= x11-drivers MAINTAINER= x11@FreeBSD.org Index: x11-drivers/xf86-video-apm/files/patch-src_apm.h =================================================================== --- x11-drivers/xf86-video-apm/files/patch-src_apm.h (revision 431798) +++ x11-drivers/xf86-video-apm/files/patch-src_apm.h (working copy) @@ -1,4 +1,13 @@ ---- src/apm.h.orig 2012-07-17 04:52:01 UTC +From 9f67408e4f078e907fbf4feb45cfdcfd0cdebcca Mon Sep 17 00:00:00 2001 +From: Adam Jackson +Date: Wed, 9 Jan 2013 22:03:29 -0500 +Subject: Remove #include "mibstore.h" + +Signed-off-by: Adam Jackson + +diff --git a/src/apm.h b/src/apm.h +index a3c06f8..365e5e2 100644 +--- src/apm.h 2012-07-17 04:52:01 UTC +++ src/apm.h @@ -33,9 +33,6 @@ /* All drivers initialising the SW cursor need this */ @@ -10,3 +19,6 @@ /* I2C support */ #include "xf86i2c.h" +-- +cgit v0.10.2 + Index: x11-drivers/xf86-video-apm/files/patch-src_apm__driver.c =================================================================== --- x11-drivers/xf86-video-apm/files/patch-src_apm__driver.c (nonexistent) +++ x11-drivers/xf86-video-apm/files/patch-src_apm__driver.c (working copy) @@ -0,0 +1,60 @@ +# Remove miInitializeBackingStore; it no longer exists and +# should have been removed with the mibstore.h include +# +# Replace xf86UnMapVidMem with pci_device_unmap_range +# +# Correct one string that should be const +# +--- src/apm_driver.c.orig 2012-07-17 04:52:01 UTC ++++ src/apm_driver.c +@@ -355,7 +355,8 @@ ApmPreInit(ScrnInfoPtr pScrn, int flags) + EntityInfoPtr pEnt; + vgaHWPtr hwp; + MessageType from; +- char *mod = NULL, *req = NULL, *s; ++ char *mod = NULL, *req = NULL; ++ const char *s; + ClockRangePtr clockRanges; + int i; + xf86MonPtr MonInfo = NULL; +@@ -751,7 +752,11 @@ ApmPreInit(ScrnInfoPtr pScrn, int flags) + LinMap[0xFFECDB] = db; + LinMap[0xFFECD9] = d9; + /*pciWriteLong(pApm->PciTag, PCI_CMD_STAT_REG, save);*/ ++#ifndef XSERVER_LIBPCIACCESS + xf86UnMapVidMem(pScrn->scrnIndex, (pointer)LinMap, pApm->LinMapSize); ++#else ++ pci_device_unmap_range(pApm->PciInfo, (pointer)LinMap, pApm->LinMapSize); ++#endif + from = X_PROBED; + } + else { +@@ -1134,12 +1139,19 @@ ApmUnmapMem(ScrnInfoPtr pScrn) + WRXB(0xDB, pApm->db); + } + WRXB(0xC9, pApm->c9); ++#ifndef XSERVER_LIBPCIACCESS + xf86UnMapVidMem(pScrn->scrnIndex, (pointer)pApm->LinMap, pApm->LinMapSize); ++#else ++ pci_device_unmap_range(pApm->PciInfo, (pointer)pApm->LinMap, pApm->LinMapSize); ++#endif + pApm->LinMap = NULL; + } + else if (pApm->FbBase) ++#ifndef XSERVER_LIBPCIACCESS + xf86UnMapVidMem(pScrn->scrnIndex, (pointer)pApm->LinMap, 0x10000); +- ++#else ++ pci_device_unmap_range(pApm->PciInfo, (pointer)pApm->LinMap, 0x10000); ++#endif + return TRUE; + } + +@@ -1784,7 +1796,6 @@ ApmScreenInit(SCREEN_INIT_ARGS_DECL) + } + #endif + +- miInitializeBackingStore(pScreen); + xf86SetBackingStore(pScreen); + xf86SetSilkenMouse(pScreen); + Property changes on: x11-drivers/xf86-video-apm/files/patch-src_apm__driver.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property