diff --git a/sys-kernel/gentoo-surface-sources/files/Makefile.patch b/sys-kernel/gentoo-surface-sources/files/Makefile.patch deleted file mode 100644 index 493f0e5..0000000 --- a/sys-kernel/gentoo-surface-sources/files/Makefile.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- a/Makefile 2021-08-02 08:44:57.151695339 -0700 -+++ b/Makefile 2021-08-02 09:15:02.030447038 -0700 -@@ -2,7 +2,7 @@ - VERSION = 5 - PATCHLEVEL = 13 - SUBLEVEL = 7 --EXTRAVERSION = -gentoo -+EXTRAVERSION = -gentoo-surface - NAME = Opossums on Parade - - # *DOCUMENTATION* - diff --git a/sys-kernel/gentoo-surface-sources/gentoo-surface-sources-5.10.52.ebuild b/sys-kernel/gentoo-surface-sources/gentoo-surface-sources-5.10.52.ebuild index 7778271..0b45f45 100644 --- a/sys-kernel/gentoo-surface-sources/gentoo-surface-sources-5.10.52.ebuild +++ b/sys-kernel/gentoo-surface-sources/gentoo-surface-sources-5.10.52.ebuild @@ -32,7 +32,7 @@ SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} src_prepare() { cd "${WORKDIR}/linux-${KV_FULL}" - eapply "${FILESDIR}/Makefile.patch" + sed "s/EXTRAVERSION = -gentoo/EXTRAVERSION = -gentoo-surface/" -i ${WORKDIR}/linux-${KV_FULL}/Makefile" eapply "${DISTDIR}/0001-surface3-oemb.patch" eapply "${DISTDIR}/0002-wifi.patch" eapply "${DISTDIR}/0003-ipts.patch"