wok-current diff glew/receipt @ rev 25751

Up openssh 9.9p2 (CVE-2025-26465, CVE-2025-26466)
author Stanislas Leduc <shann@slitaz.org>
date Wed Feb 19 15:31:28 2025 +0000 (3 days ago)
parents 3ad63c8fc2f9
children
line diff
     1.1 --- a/glew/receipt	Sun Jan 14 08:12:37 2024 +0000
     1.2 +++ b/glew/receipt	Wed Feb 19 15:31:28 2025 +0000
     1.3 @@ -22,6 +22,8 @@
     1.4  	xorg-libX11-dev xorg-libXdamage-dev xorg-libXfixes-dev xorg-libXt-dev \
     1.5  	xorg-libICE-dev xorg-libSM-dev xorg-xf86vidmodeproto xorg-libXxf86vm-dev"
     1.6  
     1.7 +HOST_ARCH="i486 x86_64"
     1.8 +
     1.9  # What is the latest version available today?
    1.10  current_version()
    1.11  {
    1.12 @@ -32,7 +34,13 @@
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {
    1.16 -	sed -i 's|uname -m|echo i486|' config/Makefile*
    1.17 +	case $ARCH in
    1.18 +		i?86)
    1.19 +			sed -i 's|uname -m|echo i486|' config/Makefile* ;;
    1.20 +		x86_64)
    1.21 +			sed -i 's|uname -m|echo $ARCH|' config/Makefile* ;; 
    1.22 +	esac
    1.23 +
    1.24  	make -j 1 &&
    1.25  	make GLEW_DEST=/usr install
    1.26  }