slackbuilds

My Slackbuilds
git clone git://git.server.ky/slackcoder/slackbuilds
Log | Files | Refs | README

0001-Fix-socket-configuration.patch (1095B)


      1 From a26d35df77d938cfea8039215d7b8ebd960a8ea1 Mon Sep 17 00:00:00 2001
      2 From: Slack Coder <slackcoder@server.ky>
      3 Date: Thu, 17 Jul 2025 11:02:18 -0500
      4 Subject: [PATCH] Fix socket configuration
      5 
      6 Make compile time socket path configuration work by correcting
      7 assignment typo's in the configuration script.
      8 ---
      9  configure | 4 ++--
     10  1 file changed, 2 insertions(+), 2 deletions(-)
     11 
     12 diff --git a/configure b/configure
     13 index 0568bea..b97b5fd 100755
     14 --- a/configure
     15 +++ b/configure
     16 @@ -88,7 +88,7 @@ while [ $# -gt 0 ]; do
     17  	PKG_CONFIG)
     18  		pkgconfig="$val" ;;
     19  	SOCK)
     20 -		sock="$sock" ;;
     21 +		sock="$val" ;;
     22  	USER)
     23  		user="$val" ;;
     24  	YACC)
     25 @@ -123,7 +123,7 @@ echo "returning to the configure for \`galileo':" >&2
     26  CFLAGS="${CFLAGS} -I. -Itemplate"
     27  test -n "$conf" && CFLAGS="${CFLAGS} -DGALILEO_CONF=\"\\\"$conf\\\"\""
     28  test -n "$user" && CFLAGS="${CFLAGS} -DGALILEO_USER=\"\\\"$user\\\"\""
     29 -test -n "$sock" && CFLAGS="${CFLAGS} -DGALILEO_SOCK=\"\\\"$conf\\\"\""
     30 +test -n "$sock" && CFLAGS="${CFLAGS} -DGALILEO_SOCK=\"\\\"$sock\\\"\""
     31  
     32  [ -w config.log ] && mv config.log config.log.old
     33  
     34 -- 
     35 2.46.3
     36