OpenSDE Packages Database (without history before r20070)
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.

148 lines
6.0 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../vmailmgr/stricter_gcc.patch
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- T2-COPYRIGHT-NOTE-END ---
  16. --- ./lib/mystring/mystring.h.orig 2004-05-07 09:43:14.000000000 -0400
  17. +++ ./lib/mystring/mystring.h 2004-05-07 09:43:29.000000000 -0400
  18. @@ -18,6 +18,7 @@
  19. #define MYSTRING__H__
  20. #include <sys/types.h>
  21. +#include <string.h>
  22. #include "mystring/rep.h"
  23. class mystringjoin;
  24. --- ./cgi/Makefile.am.orig 2004-05-07 10:31:42.000000000 -0400
  25. +++ ./cgi/Makefile.am 2004-05-07 10:32:34.000000000 -0400
  26. @@ -3,7 +3,7 @@
  27. cgi_PROGRAMS = vpasswd vadduser vdeluser vaddalias vchattr vchforwards \
  28. listvdomain
  29. -CXXLINK = $(CC) $(CXXFLAGS) $(LDFLAGS) -o $@
  30. +CXXLINK = $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@
  31. INCLUDES = -I../lib
  32. vpasswd_SOURCES = vpasswd.cc
  33. --- ./commands/Makefile.am.orig 2004-05-07 10:31:53.000000000 -0400
  34. +++ ./commands/Makefile.am 2004-05-07 10:32:41.000000000 -0400
  35. @@ -31,7 +31,7 @@
  36. %.1: %.pod ../configure.in; $(POD2MAN) --section=1 $< >$@
  37. %.html: %.pod; $(POD2HTML) $< >$@
  38. -CXXLINK = $(CC) $(CXXFLAGS) $(LDFLAGS) -o $@
  39. +CXXLINK = $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@
  40. INCLUDES = -I../lib -DBINDIR=\"@bindir@\"
  41. listvdomain_SOURCES = listvdomain.cc vcommand.cc
  42. --- ./daemon/Makefile.am.orig 2004-05-07 10:32:03.000000000 -0400
  43. +++ ./daemon/Makefile.am 2004-05-07 10:32:48.000000000 -0400
  44. @@ -20,7 +20,7 @@
  45. %.8: %.pod ../configure.in; $(POD2MAN) --section=8 $< >$@
  46. %.html: %.pod; $(POD2HTML) $< >$@
  47. -CXXLINK = $(CC) $(CXXFLAGS) $(LDFLAGS) -o $@
  48. +CXXLINK = $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@
  49. INCLUDES = -I../lib
  50. vmailmgrd_SOURCES = daemon.h \
  51. --- ./authenticate/Makefile.am.orig 2004-05-07 10:30:39.000000000 -0400
  52. +++ ./authenticate/Makefile.am 2004-05-07 10:30:54.000000000 -0400
  53. @@ -20,7 +20,7 @@
  54. %.1: %.pod ../configure.in; $(POD2MAN) --section=1 $< >$@
  55. %.html: %.pod; $(POD2HTML) $< >$@
  56. -CXXLINK = $(CC) $(CXXFLAGS) $(LDFLAGS) -o $@
  57. +CXXLINK = $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@
  58. INCLUDES = $(CIINCLUDES) -I../lib
  59. checkvpw_SOURCES = checkvpw.cc authvlib.cc authvlib.h
  60. --- ./authenticate/checkvpw.cc.orig 2004-05-07 10:56:06.000000000 -0400
  61. +++ ./authenticate/checkvpw.cc 2004-05-07 10:57:26.000000000 -0400
  62. @@ -18,6 +18,7 @@
  63. #include <errno.h>
  64. #include <string.h>
  65. #include <sys/types.h>
  66. +#include <stdlib.h>
  67. #include "config/configrc.h"
  68. #include "misc/exec.h"
  69. #include "misc/stat_fns.h"
  70. --- ./authenticate/vauthenticate.cc.orig 2004-05-07 11:03:27.000000000 -0400
  71. +++ ./authenticate/vauthenticate.cc 2004-05-07 11:03:42.000000000 -0400
  72. @@ -17,6 +17,7 @@
  73. #include <config.h>
  74. #include <errno.h>
  75. #include <unistd.h>
  76. +#include <stdlib.h>
  77. #include "authvlib.h"
  78. #include "fdbuf/fdbuf.h"
  79. --- ./commands/vpasswd2cdb.cc.orig 2004-05-07 11:06:27.000000000 -0400
  80. +++ ./commands/vpasswd2cdb.cc 2004-05-07 11:06:52.000000000 -0400
  81. @@ -27,9 +27,9 @@
  82. const char* cli_program = "vpasswd2cdb";
  83. const char* cli_help_prefix = "Converts text password tables to CDB format\n";
  84. const char* cli_help_suffix =
  85. -"Reads in a standard virtual password table in the current directory,
  86. -and writes it out to a CDB table. The file names for the text and CDB
  87. -tables are determined from the configuration file.";
  88. +"Reads in a standard virtual password table in the current directory,\n"
  89. +"and writes it out to a CDB table. The file names for the text and CDB\n"
  90. +"tables are determined from the configuration file.";
  91. const char* cli_args_usage = "";
  92. const int cli_args_min = 0;
  93. const int cli_args_max = 0;
  94. --- ./commands/vchforwards.cc.orig 2004-05-07 11:13:22.000000000 -0400
  95. +++ ./commands/vchforwards.cc 2004-05-07 11:14:04.000000000 -0400
  96. @@ -25,8 +25,7 @@
  97. const char* cli_help_prefix =
  98. "Change virtual user forwarding addresses.\n";
  99. const char* cli_help_suffix =
  100. -"If no forwarding addresses are given, forwarding is disabled.
  101. -";
  102. +"If no forwarding addresses are given, forwarding is disabled.\n";
  103. const char* cli_args_usage = "USERNAME [DESTINATION1 ...]";
  104. const int cli_args_min = 1;
  105. const int cli_args_max = -1;
  106. --- ./commands/vcheckquota.cc.orig 2004-05-07 11:17:37.000000000 -0400
  107. +++ ./commands/vcheckquota.cc 2004-05-07 11:18:11.000000000 -0400
  108. @@ -31,10 +31,10 @@
  109. const char* cli_program = "vcheckquota";
  110. const char* cli_help_prefix = "vmailmgr quota enforcement program\n";
  111. -const char* cli_help_suffix = "
  112. -Warning: the soft-message is linked into the users maildir once for each
  113. -message that is received while the account is over its soft quota. This may
  114. -result in multiple warning messages.\n";
  115. +const char* cli_help_suffix =
  116. +"\nWarning: the soft-message is linked into the users maildir once for each\n"
  117. +"message that is received while the account is over its soft quota. This may\n"
  118. +"result in multiple warning messages.\n";
  119. const char* cli_args_usage = "";
  120. const int cli_args_min = 0;
  121. const int cli_args_max = 0;
  122. --- ./commands/vpasswd2db.cc.orig 2004-05-07 11:22:08.000000000 -0400
  123. +++ ./commands/vpasswd2db.cc 2004-05-07 11:22:35.000000000 -0400
  124. @@ -26,9 +26,9 @@
  125. const char* cli_program = "vpasswd2db";
  126. const char* cli_help_prefix = "Converts text password tables to current vpwtable DB format\n";
  127. const char* cli_help_suffix =
  128. -"Reads in a standard virtual password table in the current directory,
  129. -and writes it out to a table. The file names for the input and output
  130. -tables are determined from the configuration file.";
  131. +"Reads in a standard virtual password table in the current directory,\n"
  132. +"and writes it out to a table. The file names for the input and output\n"
  133. +"tables are determined from the configuration file.";
  134. const char* cli_args_usage = "";
  135. const int cli_args_min = 0;
  136. const int cli_args_max = 0;