xorg-xdm: 1.1.13 -> 1.1.14

This commit is contained in:
Tim Biermann 2022-12-04 16:11:45 +00:00
parent 220fc22ee2
commit 3c99ffa711
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 5 additions and 28 deletions

View File

@ -1,8 +1,7 @@
untrusted comment: verify with /etc/ports/xorg.pub
RWTSGWF5Q7TndPC7XEX3mJLIzwnk0AsETFjmHDE+mCu6ZDqrjExirzuufmVLHWZRTrmQ4spmtuBv0c7x7vQbz+sC4K7A0Xc0vQM=
SHA256 (Pkgfile) = 82aa6b1002e27b8eda53457a6453ae4c651eef14c5d4500af6583cd714df3bdd
RWTSGWF5Q7TndKeu//YLGzNW27/EtoelRI9zl0syTIEain7Lsd0cfIOzsBjHjw5O7xDjiY1Iy3iUbL9sR2chyr89neH5TsSsEwA=
SHA256 (Pkgfile) = c086f79b48289030f943e64cd8e7f3e77a51f9026497d3fe25538501601bb5b2
SHA256 (.footprint) = 80ccfc3956875dbdb8c9c8f95799e0c9361263086eaa65a6e43eae1a1ffd6131
SHA256 (xdm-1.1.13.tar.xz) = e58267e8f1478f2f5cd57cbcf2367a36973860c3131a450a3e0816585af03264
SHA256 (xdm-1.1.14.tar.xz) = 3e9bf25636797ec9e595286dd6820ecc33901439f07705eaf608ecda012c3d5f
SHA256 (xdm) = 08f8309871469f521d70feb674e36ca683e7cb21d9728c899c93bb1d93b321a5
SHA256 (xdm.pam) = b40957971af8c231d118e78612e2909741d21e4dc437fa5052106e648a79a2d7
SHA256 (xorg-xdm-glibc-2.36.patch) = a8143bb78728c7401a84c2ae7fdd34a76bdb2f282ef7679cd87dcd1ddfc6b00e

View File

@ -4,14 +4,13 @@
# Depends on: linux-pam xorg-server xorg-xrdb
name=xorg-xdm
version=1.1.13
version=1.1.14
release=1
source=(https://www.x.org/releases/individual/app/xdm-$version.tar.xz
xdm xdm.pam xorg-xdm-glibc-2.36.patch)
xdm xdm.pam)
build() {
cd xdm-$version
patch -p1 -i $SRC/xorg-xdm-glibc-2.36.patch
./configure \
--prefix=/usr \

View File

@ -1,21 +0,0 @@
diff --git a/xdm/genauth.c b/xdm/genauth.c
index 38a021599fe26f0b3d73549df3d3f9c7d405adb6..de7abfc87b3a163e69661720d386d59ca0e6aa43 100644
--- a/xdm/genauth.c
+++ b/xdm/genauth.c
@@ -42,7 +42,15 @@ from The Open Group.
#ifdef HAVE_ARC4RANDOM
# ifdef __linux__
-# include <bsd/stdlib.h>
+# if defined(__GLIBC__) && defined(__GLIBC_PREREQ)
+# if __GLIBC_PREREQ(2, 36)
+# include <stdlib.h>
+# else
+# include <bsd/stdlib.h>
+# endif
+# else
+# include <bsd/stdlib.h>
+# endif
# else
# include <stdlib.h>
# endif