aboutsummaryrefslogtreecommitdiff
path: root/galileo/patch/0001-Fix-socket-configuration.patch
blob: b1c981526c98cd803a784fb330e673a36d9a849d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
From a26d35df77d938cfea8039215d7b8ebd960a8ea1 Mon Sep 17 00:00:00 2001
From: Slack Coder <slackcoder@server.ky>
Date: Thu, 17 Jul 2025 11:02:18 -0500
Subject: [PATCH] Fix socket configuration

Make compile time socket path configuration work by correcting
assignment typo's in the configuration script.
---
 configure | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index 0568bea..b97b5fd 100755
--- a/configure
+++ b/configure
@@ -88,7 +88,7 @@ while [ $# -gt 0 ]; do
 	PKG_CONFIG)
 		pkgconfig="$val" ;;
 	SOCK)
-		sock="$sock" ;;
+		sock="$val" ;;
 	USER)
 		user="$val" ;;
 	YACC)
@@ -123,7 +123,7 @@ echo "returning to the configure for \`galileo':" >&2
 CFLAGS="${CFLAGS} -I. -Itemplate"
 test -n "$conf" && CFLAGS="${CFLAGS} -DGALILEO_CONF=\"\\\"$conf\\\"\""
 test -n "$user" && CFLAGS="${CFLAGS} -DGALILEO_USER=\"\\\"$user\\\"\""
-test -n "$sock" && CFLAGS="${CFLAGS} -DGALILEO_SOCK=\"\\\"$conf\\\"\""
+test -n "$sock" && CFLAGS="${CFLAGS} -DGALILEO_SOCK=\"\\\"$sock\\\"\""
 
 [ -w config.log ] && mv config.log config.log.old
 
-- 
2.46.3