File: 0005-Fix-configuration-error-maybe.patch

package info (click to toggle)
nstreams 1.0.4%2Bds-0.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 356 kB
  • sloc: ansic: 1,548; sh: 152; makefile: 49
file content (44 lines) | stat: -rw-r--r-- 1,088 bytes parent folder | download
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
37
38
39
40
41
42
43
44
From: =?utf-8?b?0L3QsNCx?= <nabijaczleweli@nabijaczleweli.xyz>
Date: Wed, 11 Dec 2024 18:40:49 +0100
Subject: Fix configuration error maybe

---
 configure.in   |   4 +-
 src/nstreams.c |   2 +-
 3 files changed, 3 insertions(+), 550 deletions(-)

diff --git a/configure.in b/configure.in
index a291aa4..6506a78 100644
--- a/configure.in
+++ b/configure.in
@@ -3,7 +3,7 @@ dnl autoconf script for nstreams
 dnl
 
 
-AC_INIT
+AC_INIT(nstreams, 1.0.4)
 AC_REVISION($Revision: 1.2 $)dnl
 AC_CANONICAL_TARGET
 
@@ -13,7 +13,7 @@ AC_PREFIX_DEFAULT("/usr/local")
 AC_LANG([C])
 
 
-PWDD=`pwd`
+PWDD=$PWD
 
 dnl Check for several programs
 AC_PROG_CC
diff --git a/src/nstreams.c b/src/nstreams.c
index eba1916..625a24b 100644
--- a/src/nstreams.c
+++ b/src/nstreams.c
@@ -97,7 +97,7 @@ void usage()
  */
 void version()
 {
- printf("This is nstreams %s\n", VERSION);
+ printf("This is nstreams %s\n", PACKAGE_VERSION);
  printf("Copyright (C) 1999 Renaud Deraison <deraison@nessus.org>\n");
  printf("                   and Herv Schauer Consultants -- http://www.hsc.fr\n"); 
  printf("\n\n");