Intel GPU patch 13.1 for stable/9 ([CFT] Xorg Upgrade 7.5.2)

Warren Block wblock at wonkity.com
Tue Feb 7 23:17:44 UTC 2012


On Tue, 7 Feb 2012, Warren Block wrote:

> On Tue, 7 Feb 2012, Meowthink wrote:
>
>> to Warren,
>> Yes, $FreeBSD$ id in i915_suspend.c should be manually edited BEFORE
>> patch(or try to deal with svn:keywords).
>> And ... I don't know why you got those Makefiles rejected, as they
>> were there, not modified in the official repository, for quite a long
>> time. Any detail?
>
> It's the path for the first two Makefiles.  Or something about patch, maybe:
>
>  # sed -i -e 's/FreeBSD: src.*Exp /FreeBSD/ 
> /usr/src/sys/dev/drm/i915_suspend.c
>  # cd /usr/src
>  # patch < drm-all.13.1-stable9.1.patch
>
> fails.  But this works:
>
>  # sed -i -e 's/FreeBSD: src.*Exp /FreeBSD/ 
> /usr/src/sys/dev/drm/i915_suspend.c
>  # cd /usr/src/sys
>  # patch -p1 < drm-all.13.1-stable9.1.patch

And now it's really unhappy about duplicate definitions.  This is from a 
buildkernel:

Warning: Object directory not changed from original /usr/src/sys/modules/drm/drm
/usr/local/libexec/ccache/world/cc -O2 -pipe -march=prescott -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common   -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-sse -mno-mmx -msoft-float -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option   -c /usr/src/sys/modules/drm/drm/../../../dev/drm/drm_crtc.c
/usr/src/sys/modules/drm/drm/../../../dev/drm/drm_crtc.c:3343: error: redefinition of 'struct drm_prop_enum_list'
/usr/src/sys/modules/drm/drm/../../../dev/drm/drm_crtc.c:3363: error: redefinition of 'drm_dpms_enum_list'
/usr/src/sys/modules/drm/drm/../../../dev/drm/drm_crtc.c:59: error: previous definition of 'drm_dpms_enum_list' was here
...(about 1900 lines)
/usr/src/sys/modules/drm/drm/../../../dev/drm/drm_crtc.c:3230: error: previous definition of 'drm_mode_destroy_dumb_ioctl' was here
/usr/src/sys/modules/drm/drm/../../../dev/drm/drm_crtc.c:36285: error: redefinition of 'drm_fb_get_bpp_depth'
/usr/src/sys/modules/drm/drm/../../../dev/drm/drm_crtc.c:3245: error: previous definition of 'drm_fb_get_bpp_depth' was here
*** Error code 1

Stop in /usr/src/sys/modules/drm/drm.


More information about the freebsd-x11 mailing list