Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Feb 2012 16:17:42 -0700 (MST)
From:      Warren Block <wblock@wonkity.com>
To:        Meowthink <meowthink@gmail.com>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: Intel GPU patch 13.1 for stable/9 ([CFT] Xorg Upgrade 7.5.2)
Message-ID:  <alpine.BSF.2.00.1202071614470.91910@wonkity.com>
In-Reply-To: <alpine.BSF.2.00.1202071413280.88011@wonkity.com>
References:  <CABnABobGoLGO200z238o=xNRgrOhA4s2xAnJ-mTiQ%2BvsUKDw=A@mail.gmail.com> <alpine.BSF.2.00.1202071413280.88011@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1202071614470.91910>