aboutsummaryrefslogtreecommitdiffstats
path: root/main/xf86-video-sis/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-04-29 20:48:22 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-04-29 20:48:22 -0300
commit345b493878f83923bbd61f64846bf696dc402db6 (patch)
tree7a12be00d54cabe530264cf55622c9cbfe1fb03c /main/xf86-video-sis/APKBUILD
parentea0b8b79705a75993149ca52dc781a1759102d51 (diff)
downloadaports-345b493878f83923bbd61f64846bf696dc402db6.tar.gz
aports-345b493878f83923bbd61f64846bf696dc402db6.tar.bz2
aports-345b493878f83923bbd61f64846bf696dc402db6.tar.xz
main/xf86-video-sis: fix build
Diffstat (limited to 'main/xf86-video-sis/APKBUILD')
-rw-r--r--main/xf86-video-sis/APKBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/main/xf86-video-sis/APKBUILD b/main/xf86-video-sis/APKBUILD
index 5378a17ef0..2eb83ce5cd 100644
--- a/main/xf86-video-sis/APKBUILD
+++ b/main/xf86-video-sis/APKBUILD
@@ -8,7 +8,9 @@ arch="all"
license="MIT"
subpackages="$pkgname-doc"
makedepends="xorg-server-dev util-macros mesa-dev libxi-dev xorgproto"
-source="https://www.x.org/releases/individual/driver/xf86-video-sis-$pkgver.tar.bz2"
+source="https://www.x.org/releases/individual/driver/xf86-video-sis-$pkgver.tar.bz2
+ fix-old-cpp-macros.patch
+ "
build() {
export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
@@ -28,4 +30,5 @@ package() {
make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
-sha512sums="5aa101e5217f15667f2c94f7a76f4afcf47717b61f5d206ce65efe35dc3f674ca294f98ca8586971c6467f31decdd94d8255ebfc7dc220fac0179afc61995952 xf86-video-sis-0.12.0.tar.bz2"
+sha512sums="5aa101e5217f15667f2c94f7a76f4afcf47717b61f5d206ce65efe35dc3f674ca294f98ca8586971c6467f31decdd94d8255ebfc7dc220fac0179afc61995952 xf86-video-sis-0.12.0.tar.bz2
+d4262ac8c17d04547473df260518247afb09a5bf6ddbe85d7877534f1e99d316d52fb933839f56a4e61b3706b124fa91c6926d432ba542e525f2007af253ff2a fix-old-cpp-macros.patch"