You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.3 KiB

  1. Index: tcpproxy-1.2/src/configure
  2. ===================================================================
  3. --- tcpproxy-1.2.orig/src/configure 2017-12-03 13:12:34.483712208 +0100
  4. +++ tcpproxy-1.2/src/configure 2017-12-03 13:13:56.677386919 +0100
  5. @@ -195,9 +195,6 @@
  6. fi
  7. fi
  8. -HOSTNAME=`hostname`
  9. -DATE=`date +"%d.%m.%Y %H:%M:%S %Z"`
  10. -
  11. cat > config.h <<EOF
  12. /*
  13. * tcpproxy config header
  14. @@ -211,7 +208,6 @@
  15. #define TCPPROXY_config_h_INCLUDED
  16. #define VERSION_STRING_0 "tcpproxy version $VERSION"
  17. -#define VERSION_STRING_1 "built on $HOSTNAME, $DATE"
  18. #define TARGET "$TARGET"
  19. #define PREFIX "$PREFIX"
  20. Index: tcpproxy-1.2/src/options.c
  21. ===================================================================
  22. --- tcpproxy-1.2.orig/src/options.c 2015-05-14 00:14:22.000000000 +0200
  23. +++ tcpproxy-1.2/src/options.c 2017-12-03 13:14:37.442219952 +0100
  24. @@ -326,11 +326,9 @@
  25. {
  26. printf("%s\n", VERSION_STRING_0);
  27. #if defined(__clang__)
  28. - printf("%s, using CLANG %s\n", VERSION_STRING_1, __clang_version__);
  29. + printf("using CLANG %s\n", __clang_version__);
  30. #elif defined(__GNUC__)
  31. - printf("%s, using GCC %d.%d.%d\n", VERSION_STRING_1, __GNUC__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__);
  32. -#else
  33. - printf("%s\n", VERSION_STRING_1);
  34. + printf("using GCC %d.%d.%d\n", __GNUC__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__);
  35. #endif
  36. }