Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 163366 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/net-dialup/fritzcapi/fritzcapi-2.6.43.ebuild (-2 / +5 lines)
Lines 117-129 Link Here
117
	if [ -e fritz.usb2 ]; then
117
	if [ -e fritz.usb2 ]; then
118
		cd fritz.usb2; epatch ${FILESDIR}/fcusb2-2.6.19.patch; cd ..
118
		cd fritz.usb2; epatch ${FILESDIR}/fcusb2-2.6.19.patch; cd ..
119
	fi
119
	fi
120
	find -name \*.[hc] -print0 | xargs -0 sed -i 's:#include <linux/config\.h>:#include <linux/autoconf.h>:'
120
	epatch ${FILESDIR}/2.6.43-linux-2.6.19-irq_handler.patch
121
	find -name \*.[hc] -print0 | xargs -0 sed -i '
122
		s:#include <linux/config\.h>:#include <linux/autoconf.h>:;
123
		s/driver_init/fc_driver_init/g; s/driver_exit/fc_driver_exit/;'
121
}
124
}
122
125
123
src_install() {
126
src_install() {
124
	linux-mod_src_install
127
	linux-mod_src_install
125
128
126
	dodir /lib/firmware /etc
129
	keepdir /lib/firmware
127
130
128
	[ "${FRITZCAPI_BUILD_TARGETS/xusb_CZ/}" != "${FRITZCAPI_BUILD_TARGETS}" ] && \
131
	[ "${FRITZCAPI_BUILD_TARGETS/xusb_CZ/}" != "${FRITZCAPI_BUILD_TARGETS}" ] && \
129
		dodoc "${S}/fritz.xusb_CZ/README.fxusb_CZ"
132
		dodoc "${S}/fritz.xusb_CZ/README.fxusb_CZ"

Return to bug 163366