omnibus-software 22.11.239

Sign up to get free protection for your applications and to get access to all the features.
Files changed (241) hide show
  1. checksums.yaml +7 -0
  2. data/.expeditor/Version_inspector/README.md +21 -0
  3. data/.expeditor/Version_inspector/SW-Version-update.py +243 -0
  4. data/.expeditor/Version_inspector/manual_prod_list.json +29 -0
  5. data/.expeditor/Version_inspector/prod_default_version.json +103 -0
  6. data/.expeditor/Version_inspector/prod_list.json +194 -0
  7. data/.expeditor/Version_inspector/requirements.txt +4 -0
  8. data/.expeditor/Version_inspector/update_prod_default_version.sh +24 -0
  9. data/.expeditor/Version_inspector/update_prod_list.sh +35 -0
  10. data/.expeditor/config.yml +33 -0
  11. data/.expeditor/determine_version.sh +15 -0
  12. data/.expeditor/push_git_tag.sh +12 -0
  13. data/.expeditor/run_linux_tests.sh +16 -0
  14. data/.expeditor/verify.pipeline.yml +52 -0
  15. data/.github/CODEOWNERS +5 -0
  16. data/.github/ISSUE_TEMPLATE/BUG_TEMPLATE.md +29 -0
  17. data/.github/ISSUE_TEMPLATE/DESIGN_PROPOSAL.md +40 -0
  18. data/.github/ISSUE_TEMPLATE/ENHANCEMENT_REQUEST_TEMPLATE.md +17 -0
  19. data/.github/ISSUE_TEMPLATE/SUPPORT_QUESTION.md +11 -0
  20. data/.github/dependabot.yml +9 -0
  21. data/.github/lock.yml +1 -0
  22. data/.gitignore +17 -0
  23. data/CODE_OF_CONDUCT.md +1 -0
  24. data/CONTRIBUTING.md +1 -0
  25. data/Dockerfile +21 -0
  26. data/Gemfile +10 -0
  27. data/LICENSE +201 -0
  28. data/README.md +99 -0
  29. data/Rakefile +56 -0
  30. data/VERSION +1 -0
  31. data/config/patches/bash/race-condition.patch +15 -0
  32. data/config/patches/bzip2/aix_makefile.patch +11 -0
  33. data/config/patches/bzip2/makefile_no_bins.patch +77 -0
  34. data/config/patches/bzip2/makefile_take_env_vars.patch +31 -0
  35. data/config/patches/bzip2/soname_install_dir.patch +11 -0
  36. data/config/patches/curl/curl-aix-disable-alpn.patch +22 -0
  37. data/config/patches/curl/curl-freebsd-hostcheck.patch +10 -0
  38. data/config/patches/erlang/epmd-require-explicitly-adding-loopback-address.patch +84 -0
  39. data/config/patches/erlang/updated-epmd-require-explicitly-adding-loopback-address.patch +75 -0
  40. data/config/patches/expat/configure_xlc_visibility.patch +58 -0
  41. data/config/patches/expat/configure_xlc_visibility_2.4.7.patch +59 -0
  42. data/config/patches/figlet/aix-figlet-cdefs.patch +48 -0
  43. data/config/patches/gdbm/v1.8.3-Makefile.in.patch +32 -0
  44. data/config/patches/git/aix-endian-fix.patch +20 -0
  45. data/config/patches/gtar/aix_extra_case.patch +13 -0
  46. data/config/patches/keepalived/keepalived-1.2.9_opscode_centos_5.patch +15 -0
  47. data/config/patches/libedit/freebsd-vi-fix.patch +24 -0
  48. data/config/patches/libedit/openbsd-weak-alias-fix.patch +48 -0
  49. data/config/patches/libedit/solaris.patch +36 -0
  50. data/config/patches/libffi/libffi-3.2.1-disable-multi-os-directory.patch +83 -0
  51. data/config/patches/libffi/libffi-3.3-arm64.patch +9608 -0
  52. data/config/patches/libxslt/libxslt-solaris-configure.patch +19 -0
  53. data/config/patches/libxslt/libxslt-windows-relocate.patch +12 -0
  54. data/config/patches/libyaml/windows-configure.patch +26 -0
  55. data/config/patches/libzmq/zeromq-4.0.11_mingw_inet_pton.patch +37 -0
  56. data/config/patches/libzmq/zeromq-aix-4.2.2-LARGE_FILES.patch +56 -0
  57. data/config/patches/libzmq/zeromq-aix-4.2.2-atomic-counter-fetch_and_add.patch +59 -0
  58. data/config/patches/logrotate/logrotate_basedir_override.patch +17 -0
  59. data/config/patches/m4/m4-1.4.18-glibc-change-work-around.patch +115 -0
  60. data/config/patches/make/deb-make-glob.patch +31 -0
  61. data/config/patches/ncurses/ncurses-5.9-gcc-5.patch +46 -0
  62. data/config/patches/ncurses/ncurses-5.9-solaris-xopen_source_extended-detection.patch +11 -0
  63. data/config/patches/ncurses/ncurses-clang.patch +43 -0
  64. data/config/patches/ncurses/patch-aa +23 -0
  65. data/config/patches/ncurses/patch-ab +44 -0
  66. data/config/patches/ncurses/patch-ac +40 -0
  67. data/config/patches/ncurses/patch-ad +13 -0
  68. data/config/patches/ncurses/patch-cxx_cursesf.h +22 -0
  69. data/config/patches/ncurses/patch-cxx_cursesm.h +22 -0
  70. data/config/patches/ncurses/patch-ncurses_tinfo_lib__baudrate.c +24 -0
  71. data/config/patches/openssl/openssl-1.0.1f-do-not-build-docs.patch +28 -0
  72. data/config/patches/openssl/openssl-1.0.1j-windows-relocate-dll.patch +20 -0
  73. data/config/patches/openssl/openssl-1.0.1q-fix-compiler-flags-table-for-msys.patch +20 -0
  74. data/config/patches/openssl/openssl-1.0.2x-darwin-arm64.patch +54 -0
  75. data/config/patches/openssl/openssl-1.1.0f-do-not-install-docs.patch +11 -0
  76. data/config/patches/openssl/openssl-3.0.1-do-not-install-docs.patch +22 -0
  77. data/config/patches/openssl-fips/openssl-fips-fix-compiler-flags-table-for-msys.patch +11 -0
  78. data/config/patches/perl/perl-5.18.1-remove_lnsl.patch +441 -0
  79. data/config/patches/perl/perl-5.22.1-remove_lnsl.patch +512 -0
  80. data/config/patches/perl/perl-5.30.0-remove_lnsl.patch +518 -0
  81. data/config/patches/perl/perl-5.32.1-remove_lnsl.patch +456 -0
  82. data/config/patches/perl/perl-5.34.0-remove_lnsl.patch +516 -0
  83. data/config/patches/pkg-config/openbsd-charset.patch +19 -0
  84. data/config/patches/popt/v1.16.ppc64le-configure.patch +18 -0
  85. data/config/patches/redis/password-from-environment.patch +19 -0
  86. data/config/patches/ruby/patch-configure +103 -0
  87. data/config/patches/ruby/remove_nano.patch +10 -0
  88. data/config/patches/ruby/ruby-2.6.7_c99.patch +12 -0
  89. data/config/patches/ruby/ruby-3.0.1-configure.patch +281 -0
  90. data/config/patches/ruby/ruby-3.0.2-configure.patch +251 -0
  91. data/config/patches/ruby/ruby-aix-atomic.patch +11 -0
  92. data/config/patches/ruby/ruby-aix-configure_26_and_later.patch +19 -0
  93. data/config/patches/ruby/ruby-aix-vm-core.patch +14 -0
  94. data/config/patches/ruby/ruby-fast-load_26.patch +16 -0
  95. data/config/patches/ruby/ruby-fast-load_31.patch +16 -0
  96. data/config/patches/ruby/ruby-faster-load_26.patch +11 -0
  97. data/config/patches/ruby/ruby-faster-load_27.patch +11 -0
  98. data/config/patches/ruby/ruby-mkmf.patch +29 -0
  99. data/config/patches/ruby/ruby-no-stack-protector-strong.patch +11 -0
  100. data/config/patches/ruby/ruby-no-stack-protector.patch +13 -0
  101. data/config/patches/ruby/ruby-win32_warning_removal.patch +12 -0
  102. data/config/patches/ruby/ruby_aix_openssl.patch +10 -0
  103. data/config/patches/ruby/ruby_aix_ssl_EAGAIN.patch +19 -0
  104. data/config/patches/ruby/rvm-cflags.patch +27 -0
  105. data/config/patches/stunnel/stunnel-on-windows.patch +42 -0
  106. data/config/patches/zlib/zlib-windows-relocate.patch +20 -0
  107. data/config/software/autoconf.rb +46 -0
  108. data/config/software/automake.rb +49 -0
  109. data/config/software/bash.rb +72 -0
  110. data/config/software/berkshelf-no-depselector.rb +46 -0
  111. data/config/software/berkshelf.rb +34 -0
  112. data/config/software/binutils.rb +47 -0
  113. data/config/software/bundler.rb +38 -0
  114. data/config/software/bzip2.rb +55 -0
  115. data/config/software/cacerts.rb +50 -0
  116. data/config/software/chef-gem.rb +35 -0
  117. data/config/software/chef.rb +112 -0
  118. data/config/software/cmake.rb +94 -0
  119. data/config/software/config_guess.rb +37 -0
  120. data/config/software/cpanminus.rb +49 -0
  121. data/config/software/curl.rb +103 -0
  122. data/config/software/delivery-cli.rb +89 -0
  123. data/config/software/dep-selector-libgecode.rb +48 -0
  124. data/config/software/elasticsearch.rb +61 -0
  125. data/config/software/elixir.rb +35 -0
  126. data/config/software/erlang.rb +134 -0
  127. data/config/software/expat.rb +63 -0
  128. data/config/software/fakeroot.rb +41 -0
  129. data/config/software/ffi-yajl.rb +46 -0
  130. data/config/software/figlet-fonts.rb +31 -0
  131. data/config/software/figlet.rb +44 -0
  132. data/config/software/gcc.rb +60 -0
  133. data/config/software/gdbm.rb +54 -0
  134. data/config/software/gecode.rb +62 -0
  135. data/config/software/gem-permissions.rb +43 -0
  136. data/config/software/git-windows.rb +96 -0
  137. data/config/software/git.rb +138 -0
  138. data/config/software/gmp.rb +48 -0
  139. data/config/software/go-uninstall.rb +33 -0
  140. data/config/software/go.rb +116 -0
  141. data/config/software/google-protobuf.rb +45 -0
  142. data/config/software/gtar.rb +62 -0
  143. data/config/software/help2man.rb +40 -0
  144. data/config/software/highline-gem.rb +37 -0
  145. data/config/software/ibm-jre.rb +59 -0
  146. data/config/software/inspec.rb +43 -0
  147. data/config/software/jre-from-jdk.rb +67 -0
  148. data/config/software/keepalived.rb +68 -0
  149. data/config/software/libarchive.rb +71 -0
  150. data/config/software/libedit.rb +73 -0
  151. data/config/software/libffi.rb +68 -0
  152. data/config/software/libgcc.rb +52 -0
  153. data/config/software/libiconv.rb +55 -0
  154. data/config/software/libintl-perl.rb +56 -0
  155. data/config/software/liblzma.rb +59 -0
  156. data/config/software/libossp-uuid.rb +45 -0
  157. data/config/software/libsodium.rb +40 -0
  158. data/config/software/libtool.rb +56 -0
  159. data/config/software/libuuid.rb +45 -0
  160. data/config/software/libxml2.rb +63 -0
  161. data/config/software/libxslt.rb +64 -0
  162. data/config/software/libyajl2-gem.rb +44 -0
  163. data/config/software/libyaml.rb +50 -0
  164. data/config/software/libzmq.rb +93 -0
  165. data/config/software/logrotate.rb +61 -0
  166. data/config/software/lua.rb +46 -0
  167. data/config/software/m4.rb +40 -0
  168. data/config/software/make.rb +43 -0
  169. data/config/software/makedepend.rb +44 -0
  170. data/config/software/mpc.rb +44 -0
  171. data/config/software/mpfr.rb +45 -0
  172. data/config/software/musl.rb +107 -0
  173. data/config/software/mysql2.rb +50 -0
  174. data/config/software/ncurses.rb +159 -0
  175. data/config/software/nginx.rb +55 -0
  176. data/config/software/nodejs-binary.rb +90 -0
  177. data/config/software/nodejs.rb +58 -0
  178. data/config/software/nokogiri.rb +92 -0
  179. data/config/software/omnibus-ctl.rb +42 -0
  180. data/config/software/openresty.rb +94 -0
  181. data/config/software/opensearch.rb +54 -0
  182. data/config/software/openssl-customization.rb +81 -0
  183. data/config/software/openssl-fips.rb +81 -0
  184. data/config/software/openssl.rb +185 -0
  185. data/config/software/patch.rb +46 -0
  186. data/config/software/patchelf.rb +66 -0
  187. data/config/software/pcre.rb +53 -0
  188. data/config/software/perl-extutils-embed.rb +37 -0
  189. data/config/software/perl-extutils-makemaker.rb +46 -0
  190. data/config/software/perl-thread-queue.rb +40 -0
  191. data/config/software/perl.rb +78 -0
  192. data/config/software/perl_pg_driver.rb +45 -0
  193. data/config/software/pg-gem.rb +36 -0
  194. data/config/software/pkg-config-lite.rb +46 -0
  195. data/config/software/pkg-config.rb +66 -0
  196. data/config/software/popt.rb +54 -0
  197. data/config/software/postgresql.rb +70 -0
  198. data/config/software/preparation.rb +31 -0
  199. data/config/software/python.rb +79 -0
  200. data/config/software/rabbitmq.rb +58 -0
  201. data/config/software/rb-readline.rb +33 -0
  202. data/config/software/rbnacl-libsodium.rb +42 -0
  203. data/config/software/rbzmq.rb +44 -0
  204. data/config/software/rebar.rb +42 -0
  205. data/config/software/redis-gem.rb +36 -0
  206. data/config/software/redis.rb +51 -0
  207. data/config/software/relx.rb +39 -0
  208. data/config/software/rsync.rb +55 -0
  209. data/config/software/ruby-cleanup.rb +254 -0
  210. data/config/software/ruby-msys2-devkit.rb +77 -0
  211. data/config/software/ruby-windows-devkit-bash.rb +41 -0
  212. data/config/software/ruby-windows-devkit.rb +84 -0
  213. data/config/software/ruby.rb +306 -0
  214. data/config/software/rubygems.rb +73 -0
  215. data/config/software/runit.rb +67 -0
  216. data/config/software/rust-uninstall.rb +32 -0
  217. data/config/software/rust.rb +97 -0
  218. data/config/software/sequel-gem.rb +36 -0
  219. data/config/software/server-jre.rb +125 -0
  220. data/config/software/server-open-jre.rb +112 -0
  221. data/config/software/setuptools.rb +48 -0
  222. data/config/software/shebang-cleanup.rb +101 -0
  223. data/config/software/sqitch.rb +87 -0
  224. data/config/software/stunnel.rb +86 -0
  225. data/config/software/util-macros.rb +42 -0
  226. data/config/software/version-manifest.rb +33 -0
  227. data/config/software/xproto.rb +42 -0
  228. data/config/software/zlib.rb +85 -0
  229. data/config/templates/git/config.mak.erb +31 -0
  230. data/config/templates/rubygems/register_devtools.rb.erb +33 -0
  231. data/config/templates/runit/runsvdir-start.erb +42 -0
  232. data/docker-compose.yml +15 -0
  233. data/lib/omnibus-software/version.rb +3 -0
  234. data/lib/omnibus-software.rb +115 -0
  235. data/omnibus-software.gemspec +20 -0
  236. data/test/Gemfile +10 -0
  237. data/test/config/projects/test.rb +14 -0
  238. data/test/generate_steps.rb +55 -0
  239. data/test/omnibus-build.sh +50 -0
  240. data/test/omnibus.rb +55 -0
  241. metadata +296 -0
@@ -0,0 +1,19 @@
1
+ --- libxslt-1.1.28/configure.in 2016-01-19 13:45:52.000000000 -0800
2
+ +++ libxslt-1.1.28/configure 2016-01-19 13:46:11.000000000 -0800
3
+ @@ -12849,11 +12849,11 @@
4
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to pass version script to the linker ($LD)" >&5
5
+ $as_echo_n "checking how to pass version script to the linker ($LD)... " >&6; }
6
+ VERSION_SCRIPT_FLAGS=none
7
+ -if $LD --help 2>&1 | grep "version-script" >/dev/null 2>/dev/null; then
8
+ - VERSION_SCRIPT_FLAGS=-Wl,--version-script=
9
+ -elif $LD --help 2>&1 | grep "M mapfile" >/dev/null 2>/dev/null; then
10
+ - VERSION_SCRIPT_FLAGS="-Wl,-M -Wl,"
11
+ -fi
12
+ +#if $LD --help 2>&1 | grep "version-script" >/dev/null 2>/dev/null; then
13
+ +# VERSION_SCRIPT_FLAGS=-Wl,--version-script=
14
+ +#elif $LD --help 2>&1 | grep "M mapfile" >/dev/null 2>/dev/null; then
15
+ +# VERSION_SCRIPT_FLAGS="-Wl,-M -Wl,"
16
+ +#fi
17
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VERSION_SCRIPT_FLAGS" >&5
18
+ $as_echo "$VERSION_SCRIPT_FLAGS" >&6; }
19
+
@@ -0,0 +1,12 @@
1
+ --- libxslt-1.1.30/libxslt/Makefile.in.orig 2017-10-25 14:23:01.000000000 +0100
2
+ +++ libxslt-1.1.30/libxslt/Makefile.in 2017-10-25 14:29:06.000000000 +0100
3
+ @@ -457,7 +457,8 @@
4
+ libxslt_la_LDFLAGS = \
5
+ $(WIN32_EXTRA_LDFLAGS) \
6
+ $(LIBXSLT_VERSION_SCRIPT) \
7
+ - -version-info $(LIBXSLT_VERSION_INFO)
8
+ + -version-info $(LIBXSLT_VERSION_INFO) \
9
+ + -Wl,--image-base,0x6d780000
10
+
11
+ man_MANS = libxslt.3
12
+ EXTRA_DIST = $(man_MANS) trio.h triodef.h libxslt.syms
@@ -0,0 +1,26 @@
1
+ diff --git a/include/yaml.h b/include/yaml.h
2
+ index 5a04d36..70d839e 100644
3
+ --- a/include/yaml.h
4
+ +++ b/include/yaml.h
5
+ @@ -29,7 +29,7 @@ extern "C" {
6
+ #ifdef _WIN32
7
+ # if defined(YAML_DECLARE_STATIC)
8
+ # define YAML_DECLARE(type) type
9
+ -# elif defined(YAML_DECLARE_EXPORT)
10
+ +# elif defined(YAML_DECLARE_EXPORT) || defined(DLL_EXPORT)
11
+ # define YAML_DECLARE(type) __declspec(dllexport) type
12
+ # else
13
+ # define YAML_DECLARE(type) __declspec(dllimport) type
14
+ diff --git a/src/Makefile b/src/Makefile
15
+ index b72224d..a413ce0 100644
16
+ --- a/src/Makefile
17
+ +++ b/src/Makefile
18
+ @@ -219,7 +219,7 @@ top_srcdir = ..
19
+ AM_CPPFLAGS = -I$(top_srcdir)/include
20
+ lib_LTLIBRARIES = libyaml.la
21
+ libyaml_la_SOURCES = yaml_private.h api.c reader.c scanner.c parser.c loader.c writer.c emitter.c dumper.c
22
+ -libyaml_la_LDFLAGS = -release $(YAML_LT_RELEASE) -version-info $(YAML_LT_CURRENT):$(YAML_LT_REVISION):$(YAML_LT_AGE)
23
+ +libyaml_la_LDFLAGS = -release $(YAML_LT_RELEASE) -version-info $(YAML_LT_CURRENT):$(YAML_LT_REVISION):$(YAML_LT_AGE) -no-undefined
24
+ all: all-am
25
+
26
+ .SUFFIXES:
@@ -0,0 +1,37 @@
1
+ --- a/tests/test_security_curve.cpp
2
+ +++ b/tests/test_security_curve.cpp
3
+ @@ -235,7 +235,7 @@ int main (void)
4
+
5
+ ip4addr.sin_family = AF_INET;
6
+ ip4addr.sin_port = htons (9998);
7
+ - inet_pton (AF_INET, "127.0.0.1", &ip4addr.sin_addr);
8
+ + ip4addr.sin_addr.s_addr = inet_addr ("127.0.0.1");
9
+
10
+ s = socket (AF_INET, SOCK_STREAM, IPPROTO_TCP);
11
+ rc = connect (s, (struct sockaddr*) &ip4addr, sizeof (ip4addr));
12
+ diff --git a/tests/test_security_null.cpp b/tests/test_security_null.cpp
13
+ index 6b74e8c..9b87aa3 100644
14
+ --- a/tests/test_security_null.cpp
15
+ +++ b/tests/test_security_null.cpp
16
+ @@ -148,7 +148,7 @@ int main (void)
17
+
18
+ ip4addr.sin_family = AF_INET;
19
+ ip4addr.sin_port = htons(9003);
20
+ - inet_pton(AF_INET, "127.0.0.1", &ip4addr.sin_addr);
21
+ + ip4addr.sin_addr.s_addr = inet_addr ("127.0.0.1");
22
+
23
+ s = socket (AF_INET, SOCK_STREAM, IPPROTO_TCP);
24
+ rc = connect (s, (struct sockaddr*) &ip4addr, sizeof ip4addr);
25
+ diff --git a/tests/test_security_plain.cpp b/tests/test_security_plain.cpp
26
+ index c257840..cd66790 100644
27
+ --- a/tests/test_security_plain.cpp
28
+ +++ b/tests/test_security_plain.cpp
29
+ @@ -154,7 +154,7 @@ int main (void)
30
+
31
+ ip4addr.sin_family = AF_INET;
32
+ ip4addr.sin_port = htons (9998);
33
+ - inet_pton (AF_INET, "127.0.0.1", &ip4addr.sin_addr);
34
+ + ip4addr.sin_addr.s_addr = inet_addr ("127.0.0.1");
35
+
36
+ s = socket (AF_INET, SOCK_STREAM, IPPROTO_TCP);
37
+ rc = connect (s, (struct sockaddr*) &ip4addr, sizeof (ip4addr));
@@ -0,0 +1,56 @@
1
+ *** src/tcp_connecter.cpp Sat Feb 18 18:05:37 2017
2
+ --- src/tcp_connecter.cpp Thu Dec 14 20:51:26 2017
3
+ ***************
4
+ *** 183,189 ****
5
+ void zmq::tcp_connecter_t::start_connecting ()
6
+ {
7
+ // Open the connecting socket.
8
+ ! const int rc = open ();
9
+
10
+ // Connect may succeed in synchronous manner.
11
+ if (rc == 0) {
12
+ --- 183,189 ----
13
+ void zmq::tcp_connecter_t::start_connecting ()
14
+ {
15
+ // Open the connecting socket.
16
+ ! const int rc = openn ();
17
+
18
+ // Connect may succeed in synchronous manner.
19
+ if (rc == 0) {
20
+ ***************
21
+ *** 244,250 ****
22
+ return interval;
23
+ }
24
+
25
+ ! int zmq::tcp_connecter_t::open ()
26
+ {
27
+ zmq_assert (s == retired_fd);
28
+
29
+ --- 244,250 ----
30
+ return interval;
31
+ }
32
+
33
+ ! int zmq::tcp_connecter_t::openn ()
34
+ {
35
+ zmq_assert (s == retired_fd);
36
+
37
+ *** src/tcp_connecter.hpp Sat Feb 18 18:05:37 2017
38
+ --- src/tcp_connecter.hpp Thu Dec 14 20:50:40 2017
39
+ ***************
40
+ *** 84,90 ****
41
+ // Open TCP connecting socket. Returns -1 in case of error,
42
+ // 0 if connect was successful immediately. Returns -1 with
43
+ // EAGAIN errno if async connect was launched.
44
+ ! int open ();
45
+
46
+ // Close the connecting socket.
47
+ void close ();
48
+ --- 84,90 ----
49
+ // Open TCP connecting socket. Returns -1 in case of error,
50
+ // 0 if connect was successful immediately. Returns -1 with
51
+ // EAGAIN errno if async connect was launched.
52
+ ! int openn ();
53
+
54
+ // Close the connecting socket.
55
+ void close ();
56
+
@@ -0,0 +1,59 @@
1
+ *** src/atomic_counter.hpp Sat Feb 18 18:05:37 2017
2
+ --- src/atomic_counter.hpp Thu Dec 14 20:54:51 2017
3
+ ***************
4
+ *** 46,51 ****
5
+ --- 46,53 ----
6
+ #define ZMQ_ATOMIC_COUNTER_WINDOWS
7
+ #elif (defined ZMQ_HAVE_SOLARIS || defined ZMQ_HAVE_NETBSD || defined ZMQ_HAVE_GNU)
8
+ #define ZMQ_ATOMIC_COUNTER_ATOMIC_H
9
+ + #elif defined ZMQ_HAVE_AIX
10
+ + #define ZMQ_ATOMIC_COUNTER_AIX
11
+ #elif defined __tile__
12
+ #define ZMQ_ATOMIC_COUNTER_TILE
13
+ #else
14
+ ***************
15
+ *** 60,65 ****
16
+ --- 62,69 ----
17
+ #include "windows.hpp"
18
+ #elif defined ZMQ_ATOMIC_COUNTER_ATOMIC_H
19
+ #include <atomic.h>
20
+ + #elif defined ZMQ_ATOMIC_COUNTER_AIX
21
+ + #include <sys/atomic_op.h>
22
+ #elif defined ZMQ_ATOMIC_COUNTER_TILE
23
+ #include <arch/atomic.h>
24
+ #endif
25
+ ***************
26
+ *** 105,110 ****
27
+ --- 109,116 ----
28
+ #elif defined ZMQ_ATOMIC_COUNTER_ATOMIC_H
29
+ integer_t new_value = atomic_add_32_nv (&value, increment_);
30
+ old_value = new_value - increment_;
31
+ + #elif defined ZMQ_ATOMIC_COUNTER_AIX
32
+ + old_value = fetch_and_add ((atomic_p) &value, increment_);
33
+ #elif defined ZMQ_ATOMIC_COUNTER_TILE
34
+ old_value = arch_atomic_add (&value, increment_);
35
+ #elif defined ZMQ_ATOMIC_COUNTER_X86
36
+ ***************
37
+ *** 154,159 ****
38
+ --- 160,169 ----
39
+ int32_t delta = - ((int32_t) decrement);
40
+ integer_t nv = atomic_add_32_nv (&value, delta);
41
+ return nv != 0;
42
+ + #elif defined ZMQ_ATOMIC_COUNTER_AIX
43
+ + int32_t delta = - ((int32_t) decrement);
44
+ + integer_t old = fetch_and_add((atomic_p) &value, delta);
45
+ + return old - decrement != 0;
46
+ #elif defined ZMQ_ATOMIC_COUNTER_TILE
47
+ int32_t delta = - ((int32_t) decrement);
48
+ integer_t nv = arch_atomic_add (&value, delta);
49
+ ***************
50
+ *** 224,229 ****
51
+ --- 234,240 ----
52
+ #undef ZMQ_ATOMIC_COUNTER_ARM
53
+ #undef ZMQ_ATOMIC_COUNTER_WINDOWS
54
+ #undef ZMQ_ATOMIC_COUNTER_ATOMIC_H
55
+ + #undef ZMQ_ATOMIC_COUNTER_AIX
56
+ #undef ZMQ_ATOMIC_COUNTER_TILE
57
+
58
+ #endif
59
+
@@ -0,0 +1,17 @@
1
+ --- Makefile 2014-05-05 17:45:06.000000000 -0400
2
+ +++ Makefile 2014-05-05 17:47:03.000000000 -0400
3
+ @@ -1,3 +1,5 @@
4
+ +BASEDIR ?=
5
+ +
6
+ VERSION = $(shell awk '/Version:/ { print $$2 }' logrotate.spec)
7
+ OS_NAME = $(shell uname -s)
8
+ LFS = $(shell echo `getconf LFS_CFLAGS 2>/dev/null`)
9
+ @@ -64,7 +66,7 @@
10
+ # Red Hat Linux
11
+ ifeq ($(OS_NAME),Linux)
12
+ INSTALL = install
13
+ - BASEDIR = /usr
14
+ + BASEDIR ?= /usr
15
+ endif
16
+
17
+ # FreeBSD
@@ -0,0 +1,115 @@
1
+ diff -up m4-1.4.18/lib/fflush.c.orig m4-1.4.18/lib/fflush.c
2
+ --- m4-1.4.18/lib/fflush.c.orig 2018-05-02 12:35:59.536851666 +0200
3
+ +++ m4-1.4.18/lib/fflush.c 2018-05-02 12:37:02.768958606 +0200
4
+ @@ -33,7 +33,7 @@
5
+ #undef fflush
6
+
7
+
8
+ -#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
9
+ +#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
10
+
11
+ /* Clear the stream's ungetc buffer, preserving the value of ftello (fp). */
12
+ static void
13
+ @@ -72,7 +72,7 @@ clear_ungetc_buffer (FILE *fp)
14
+
15
+ #endif
16
+
17
+ -#if ! (defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */)
18
+ +#if ! (defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */)
19
+
20
+ # if (defined __sferror || defined __DragonFly__ || defined __ANDROID__) && defined __SNPT
21
+ /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Android */
22
+ @@ -148,7 +148,7 @@ rpl_fflush (FILE *stream)
23
+ if (stream == NULL || ! freading (stream))
24
+ return fflush (stream);
25
+
26
+ -#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
27
+ +#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
28
+
29
+ clear_ungetc_buffer_preserving_position (stream);
30
+
31
+ diff -up m4-1.4.18/lib/fpending.c.orig m4-1.4.18/lib/fpending.c
32
+ --- m4-1.4.18/lib/fpending.c.orig 2018-05-02 12:35:32.305806774 +0200
33
+ +++ m4-1.4.18/lib/fpending.c 2018-05-02 12:35:44.944827347 +0200
34
+ @@ -32,7 +32,7 @@ __fpending (FILE *fp)
35
+ /* Most systems provide FILE as a struct and the necessary bitmask in
36
+ <stdio.h>, because they need it for implementing getc() and putc() as
37
+ fast macros. */
38
+ -#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
39
+ +#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
40
+ return fp->_IO_write_ptr - fp->_IO_write_base;
41
+ #elif defined __sferror || defined __DragonFly__ || defined __ANDROID__
42
+ /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Android */
43
+ diff -up m4-1.4.18/lib/fpurge.c.orig m4-1.4.18/lib/fpurge.c
44
+ --- m4-1.4.18/lib/fpurge.c.orig 2018-05-02 12:38:13.586078669 +0200
45
+ +++ m4-1.4.18/lib/fpurge.c 2018-05-02 12:38:38.785121867 +0200
46
+ @@ -62,7 +62,7 @@ fpurge (FILE *fp)
47
+ /* Most systems provide FILE as a struct and the necessary bitmask in
48
+ <stdio.h>, because they need it for implementing getc() and putc() as
49
+ fast macros. */
50
+ -# if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
51
+ +# if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
52
+ fp->_IO_read_end = fp->_IO_read_ptr;
53
+ fp->_IO_write_ptr = fp->_IO_write_base;
54
+ /* Avoid memory leak when there is an active ungetc buffer. */
55
+ diff -up m4-1.4.18/lib/freadahead.c.orig m4-1.4.18/lib/freadahead.c
56
+ --- m4-1.4.18/lib/freadahead.c.orig 2016-12-31 14:54:41.000000000 +0100
57
+ +++ m4-1.4.18/lib/freadahead.c 2018-05-02 11:43:19.570336724 +0200
58
+ @@ -25,7 +25,7 @@
59
+ size_t
60
+ freadahead (FILE *fp)
61
+ {
62
+ -#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
63
+ +#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
64
+ if (fp->_IO_write_ptr > fp->_IO_write_base)
65
+ return 0;
66
+ return (fp->_IO_read_end - fp->_IO_read_ptr)
67
+ diff -up m4-1.4.18/lib/freading.c.orig m4-1.4.18/lib/freading.c
68
+ --- m4-1.4.18/lib/freading.c.orig 2018-05-02 12:37:33.970011368 +0200
69
+ +++ m4-1.4.18/lib/freading.c 2018-05-02 12:37:59.393054359 +0200
70
+ @@ -31,7 +31,7 @@ freading (FILE *fp)
71
+ /* Most systems provide FILE as a struct and the necessary bitmask in
72
+ <stdio.h>, because they need it for implementing getc() and putc() as
73
+ fast macros. */
74
+ -# if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
75
+ +# if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
76
+ return ((fp->_flags & _IO_NO_WRITES) != 0
77
+ || ((fp->_flags & (_IO_NO_READS | _IO_CURRENTLY_PUTTING)) == 0
78
+ && fp->_IO_read_base != NULL));
79
+ diff -up m4-1.4.18/lib/fseeko.c.orig m4-1.4.18/lib/fseeko.c
80
+ --- m4-1.4.18/lib/fseeko.c.orig 2018-05-02 11:44:17.947460233 +0200
81
+ +++ m4-1.4.18/lib/fseeko.c 2018-05-02 12:39:49.537216897 +0200
82
+ @@ -47,7 +47,7 @@ fseeko (FILE *fp, off_t offset, int when
83
+ #endif
84
+
85
+ /* These tests are based on fpurge.c. */
86
+ -#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
87
+ +#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
88
+ if (fp->_IO_read_end == fp->_IO_read_ptr
89
+ && fp->_IO_write_ptr == fp->_IO_write_base
90
+ && fp->_IO_save_base == NULL)
91
+ @@ -123,7 +123,7 @@ fseeko (FILE *fp, off_t offset, int when
92
+ return -1;
93
+ }
94
+
95
+ -#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
96
+ +#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
97
+ fp->_flags &= ~_IO_EOF_SEEN;
98
+ fp->_offset = pos;
99
+ #elif defined __sferror || defined __DragonFly__ || defined __ANDROID__
100
+ diff -up m4-1.4.18/lib/stdio-impl.h.orig m4-1.4.18/lib/stdio-impl.h
101
+ --- m4-1.4.18/lib/stdio-impl.h.orig 2016-12-31 14:54:42.000000000 +0100
102
+ +++ m4-1.4.18/lib/stdio-impl.h 2018-05-02 11:43:19.570336724 +0200
103
+ @@ -18,6 +18,12 @@
104
+ the same implementation of stdio extension API, except that some fields
105
+ have different naming conventions, or their access requires some casts. */
106
+
107
+ +/* Glibc 2.28 made _IO_IN_BACKUP private. For now, work around this
108
+ + problem by defining it ourselves. FIXME: Do not rely on glibc
109
+ + internals. */
110
+ +#if !defined _IO_IN_BACKUP && defined _IO_EOF_SEEN
111
+ +# define _IO_IN_BACKUP 0x100
112
+ +#endif
113
+
114
+ /* BSD stdio derived implementations. */
115
+
@@ -0,0 +1,31 @@
1
+ --- make-4.2.1/glob/glob.c.ori 2019-10-17 23:06:07.841511314 +1100
2
+ +++ make-4.2.1/glob/glob.c 2019-10-17 23:06:21.249541600 +1100
3
+ @@ -208,28 +208,9 @@
4
+ #endif /* __GNU_LIBRARY__ || __DJGPP__ */
5
+
6
+
7
+ -#if !defined __alloca && !defined __GNU_LIBRARY__
8
+ -
9
+ -# ifdef __GNUC__
10
+ -# undef alloca
11
+ -# define alloca(n) __builtin_alloca (n)
12
+ -# else /* Not GCC. */
13
+ -# ifdef HAVE_ALLOCA_H
14
+ # include <alloca.h>
15
+ -# else /* Not HAVE_ALLOCA_H. */
16
+ -# ifndef _AIX
17
+ -# ifdef WINDOWS32
18
+ -# include <malloc.h>
19
+ -# else
20
+ -extern char *alloca ();
21
+ -# endif /* WINDOWS32 */
22
+ -# endif /* Not _AIX. */
23
+ -# endif /* sparc or HAVE_ALLOCA_H. */
24
+ -# endif /* GCC. */
25
+ -
26
+ # define __alloca alloca
27
+
28
+ -#endif
29
+
30
+ #ifndef __GNU_LIBRARY__
31
+ # define __stat stat
@@ -0,0 +1,46 @@
1
+ https://bugs.gentoo.org/545114
2
+
3
+ extracted from the upstream change (which had many unrelated commits in one)
4
+
5
+ From 97bb4678dc03e753290b39bbff30ba2825df9517 Mon Sep 17 00:00:00 2001
6
+ From: "Thomas E. Dickey" <dickey@invisible-island.net>
7
+ Date: Sun, 7 Dec 2014 03:10:09 +0000
8
+ Subject: [PATCH] ncurses 5.9 - patch 20141206
9
+
10
+ + modify MKlib_gen.sh to work around change in development version of
11
+ gcc introduced here:
12
+ https://gcc.gnu.org/ml/gcc-patches/2014-06/msg02185.html
13
+ https://gcc.gnu.org/ml/gcc-patches/2014-07/msg00236.html
14
+ (reports by Marcus Shawcroft, Maohui Lei).
15
+
16
+ diff --git a/ncurses/base/MKlib_gen.sh b/ncurses/base/MKlib_gen.sh
17
+ index d8cc3c9..b91398c 100755
18
+ --- a/ncurses/base/MKlib_gen.sh
19
+ +++ b/ncurses/base/MKlib_gen.sh
20
+ @@ -474,11 +474,22 @@ sed -n -f $ED1 \
21
+ -e 's/gen_$//' \
22
+ -e 's/ / /g' >>$TMP
23
+
24
+ +cat >$ED1 <<EOF
25
+ +s/ / /g
26
+ +s/^ //
27
+ +s/ $//
28
+ +s/P_NCURSES_BOOL/NCURSES_BOOL/g
29
+ +EOF
30
+ +
31
+ +# A patch discussed here:
32
+ +# https://gcc.gnu.org/ml/gcc-patches/2014-06/msg02185.html
33
+ +# introduces spurious #line markers. Work around that by ignoring the system's
34
+ +# attempt to define "bool" and using our own symbol here.
35
+ +sed -e 's/bool/P_NCURSES_BOOL/g' $TMP > $ED2
36
+ +cat $ED2 >$TMP
37
+ +
38
+ $preprocessor $TMP 2>/dev/null \
39
+ -| sed \
40
+ - -e 's/ / /g' \
41
+ - -e 's/^ //' \
42
+ - -e 's/_Bool/NCURSES_BOOL/g' \
43
+ +| sed -f $ED1 \
44
+ | $AWK -f $AW2 \
45
+ | sed -f $ED3 \
46
+ | sed \
@@ -0,0 +1,11 @@
1
+ --- configure.after.pkgin.patches 2012-12-17 01:06:16.964187316 +0000
2
+ +++ configure 2012-12-17 01:07:17.046932230 +0000
3
+ @@ -7864,7 +7864,7 @@
4
+ else
5
+ echo "$as_me: failed program was:" >&5
6
+ cat conftest.$ac_ext >&5
7
+ -cf_result=yes
8
+ +cf_result=no
9
+ fi
10
+ rm -f conftest.$ac_objext conftest.$ac_ext
11
+ echo "$as_me:7863: result: $cf_result" >&5
@@ -0,0 +1,43 @@
1
+ diff -ruNp ncurses-5.9.orig/c++/cursesf.h ncurses-5.9/c++/cursesf.h
2
+ --- ncurses-5.9.orig/c++/cursesf.h 2005-08-13 21:08:24.000000000 +0300
3
+ +++ ncurses-5.9/c++/cursesf.h 2011-04-03 18:29:29.000000000 +0300
4
+ @@ -681,7 +681,7 @@ public:
5
+ const T* p_UserData = STATIC_CAST(T*)(0),
6
+ bool with_frame=FALSE,
7
+ bool autoDelete_Fields=FALSE)
8
+ - : NCursesForm (Fields, with_frame, autoDelete_Fields) {
9
+ + : NCursesForm (&Fields, with_frame, autoDelete_Fields) {
10
+ if (form)
11
+ set_user (const_cast<void *>(p_UserData));
12
+ };
13
+ @@ -694,7 +694,7 @@ public:
14
+ const T* p_UserData = STATIC_CAST(T*)(0),
15
+ bool with_frame=FALSE,
16
+ bool autoDelete_Fields=FALSE)
17
+ - : NCursesForm (Fields, nlines, ncols, begin_y, begin_x,
18
+ + : NCursesForm (&Fields, nlines, ncols, begin_y, begin_x,
19
+ with_frame, autoDelete_Fields) {
20
+ if (form)
21
+ set_user (const_cast<void *>(p_UserData));
22
+ diff -ruNp ncurses-5.9.orig/c++/cursesm.h ncurses-5.9/c++/cursesm.h
23
+ --- ncurses-5.9.orig/c++/cursesm.h 2005-08-13 21:10:36.000000000 +0300
24
+ +++ ncurses-5.9/c++/cursesm.h 2011-04-03 18:31:42.000000000 +0300
25
+ @@ -639,7 +639,7 @@ public:
26
+ const T* p_UserData = STATIC_CAST(T*)(0),
27
+ bool with_frame=FALSE,
28
+ bool autoDelete_Items=FALSE)
29
+ - : NCursesMenu (Items, with_frame, autoDelete_Items) {
30
+ + : NCursesMenu (&Items, with_frame, autoDelete_Items) {
31
+ if (menu)
32
+ set_user (const_cast<void *>(p_UserData));
33
+ };
34
+ @@ -651,7 +651,7 @@ public:
35
+ int begin_x = 0,
36
+ const T* p_UserData = STATIC_CAST(T*)(0),
37
+ bool with_frame=FALSE)
38
+ - : NCursesMenu (Items, nlines, ncols, begin_y, begin_x, with_frame) {
39
+ + : NCursesMenu (&Items, nlines, ncols, begin_y, begin_x, with_frame) {
40
+ if (menu)
41
+ set_user (const_cast<void *>(p_UserData));
42
+ };
43
+
@@ -0,0 +1,23 @@
1
+ $NetBSD: patch-aa,v 1.16 2011/02/28 11:02:46 adam Exp $
2
+
3
+ --- misc/run_tic.in.orig 2006-10-28 21:43:30.000000000 +0200
4
+ +++ misc/run_tic.in
5
+ @@ -122,7 +122,7 @@ TICDIR=`echo $TERMINFO | sed -e 's%/shar
6
+ # would generate a lot of confusing error messages if we tried to overwrite it.
7
+ # We explicitly remove its contents rather than the directory itself, in case
8
+ # the directory is actually a symbolic link.
9
+ -( test -d "$TERMINFO" && cd $TERMINFO && rm -fr ? 2>/dev/null )
10
+ +#( test -d "$TERMINFO" && cd $TERMINFO && rm -fr ? 2>/dev/null )
11
+
12
+ if test "$ext_funcs" = 1 ; then
13
+ cat <<EOF
14
+ @@ -164,6 +164,9 @@ else
15
+ fi
16
+ fi
17
+
18
+ +# For NetBSD pkgsrc, don't bother with setting a symbolic link.
19
+ +exit 0
20
+ +
21
+ # Make a symbolic link to provide compatibility with applications that expect
22
+ # to find terminfo under /usr/lib. That is, we'll _try_ to do that. Not
23
+ # all systems support symbolic links, and those that do provide a variety
@@ -0,0 +1,44 @@
1
+ $NetBSD: patch-ab,v 1.16 2011/02/28 11:02:46 adam Exp $
2
+
3
+ --- mk-1st.awk.orig 2010-08-07 20:42:30.000000000 +0000
4
+ +++ mk-1st.awk
5
+ @@ -396,11 +396,11 @@ END {
6
+ end_name = lib_name;
7
+ printf "../lib/%s : $(%s_OBJS)\n", lib_name, OBJS
8
+ if ( is_ticlib() ) {
9
+ - printf "\tcd ../lib && $(LIBTOOL_LINK) $(%s) -o %s $(%s_OBJS:$o=.lo) -rpath $(DESTDIR)$(libdir) %s $(NCURSES_MAJOR):$(NCURSES_MINOR) $(LT_UNDEF) $(TICS_LIST)\n", compile, lib_name, OBJS, libtool_version
10
+ + printf "\tcd ../lib && $(LIBTOOL_LINK) $(%s) -o %s $(%s_OBJS:.o=.lo) -rpath $(DESTDIR)$(libdir) %s $(NCURSES_MAJOR):$(NCURSES_MINOR) $(LT_UNDEF) $(TICS_LIST)\n", compile, lib_name, OBJS, libtool_version
11
+ } else if ( is_termlib() ) {
12
+ - printf "\tcd ../lib && $(LIBTOOL_LINK) $(%s) -o %s $(%s_OBJS:$o=.lo) -rpath $(DESTDIR)$(libdir) %s $(NCURSES_MAJOR):$(NCURSES_MINOR) $(LT_UNDEF) $(TINFO_LIST)\n", compile, lib_name, OBJS, libtool_version
13
+ + printf "\tcd ../lib && $(LIBTOOL_LINK) $(%s) -o %s $(%s_OBJS:.o=.lo) -rpath $(DESTDIR)$(libdir) %s $(NCURSES_MAJOR):$(NCURSES_MINOR) $(LT_UNDEF) $(TINFO_LIST)\n", compile, lib_name, OBJS, libtool_version
14
+ } else {
15
+ - printf "\tcd ../lib && $(LIBTOOL_LINK) $(%s) -o %s $(%s_OBJS:$o=.lo) -rpath $(DESTDIR)$(libdir) %s $(NCURSES_MAJOR):$(NCURSES_MINOR) $(LT_UNDEF) $(SHLIB_LIST)\n", compile, lib_name, OBJS, libtool_version
16
+ + printf "\tcd ../lib && $(LIBTOOL_LINK) $(%s) -o %s $(%s_OBJS:.o=.lo) -rpath $(DESTDIR)$(libdir) %s $(NCURSES_MAJOR):$(NCURSES_MINOR) $(LT_UNDEF) $(SHLIB_LIST)\n", compile, lib_name, OBJS, libtool_version
17
+ }
18
+ print ""
19
+ print "install \\"
20
+ @@ -469,7 +469,7 @@ END {
21
+ print "mostlyclean::"
22
+ printf "\t-rm -f $(%s_OBJS)\n", OBJS
23
+ if ( MODEL == "LIBTOOL" ) {
24
+ - printf "\t-$(LIBTOOL_CLEAN) rm -f $(%s_OBJS:$o=.lo)\n", OBJS
25
+ + printf "\t-$(LIBTOOL_CLEAN) rm -f $(%s_OBJS:.o=.lo)\n", OBJS
26
+ }
27
+ }
28
+ else if ( found == 2 )
29
+ @@ -478,13 +478,13 @@ END {
30
+ print "mostlyclean::"
31
+ printf "\t-rm -f $(%s_OBJS)\n", OBJS
32
+ if ( MODEL == "LIBTOOL" ) {
33
+ - printf "\t-$(LIBTOOL_CLEAN) rm -f $(%s_OBJS:$o=.lo)\n", OBJS
34
+ + printf "\t-$(LIBTOOL_CLEAN) rm -f $(%s_OBJS:.o=.lo)\n", OBJS
35
+ }
36
+ print ""
37
+ print "clean ::"
38
+ printf "\t-rm -f $(%s_OBJS)\n", OBJS
39
+ if ( MODEL == "LIBTOOL" ) {
40
+ - printf "\t-$(LIBTOOL_CLEAN) rm -f $(%s_OBJS:$o=.lo)\n", OBJS
41
+ + printf "\t-$(LIBTOOL_CLEAN) rm -f $(%s_OBJS:.o=.lo)\n", OBJS
42
+ }
43
+ }
44
+ }
@@ -0,0 +1,40 @@
1
+ $NetBSD: patch-ac,v 1.18 2011/11/01 14:47:46 hans Exp $
2
+
3
+ --- configure.orig 2011-02-21 01:40:36.000000000 +0000
4
+ +++ configure
5
+ @@ -7096,6 +7096,13 @@ sco*) #(vi
6
+ # setting _XOPEN_SOURCE breaks Lynx on SCO Unix / OpenServer
7
+ ;;
8
+ solaris2.1[0-9]) #(vi
9
+ + case "$GCC_VERSION" in
10
+ + 4.[67].*)
11
+ + cf_XOPEN_SOURCE=600
12
+ + cf_add_cflags=-std=c99
13
+ + CPPFLAGS="$CPPFLAGS -std=c99"
14
+ + ;;
15
+ + esac
16
+ cf_xopen_source="-D__EXTENSIONS__ -D_XOPEN_SOURCE=$cf_XOPEN_SOURCE"
17
+ ;;
18
+ solaris2.[1-9]) #(vi
19
+ @@ -9640,12 +9647,7 @@ case ".$MANPAGE_RENAMES" in #(vi
20
+ .no) #(vi
21
+ ;;
22
+ .|.yes)
23
+ - # Debian 'man' program?
24
+ - if test -f /etc/debian_version ; then
25
+ - MANPAGE_RENAMES=`cd $srcdir && pwd`/man/man_db.renames
26
+ - else
27
+ MANPAGE_RENAMES=no
28
+ - fi
29
+ ;;
30
+ esac
31
+
32
+ @@ -18449,7 +18444,7 @@ echo "${ECHO_T}$LIB_SUBSETS" >&6
33
+
34
+ ### Construct the list of include-directories to be generated
35
+
36
+ -CPPFLAGS="$CPPFLAGS -I. -I../include"
37
+ +CPPFLAGS="-I. -I../include $CPPFLAGS"
38
+ if test "$srcdir" != "."; then
39
+ CPPFLAGS="$CPPFLAGS -I\${srcdir}/../include"
40
+ fi
@@ -0,0 +1,13 @@
1
+ $NetBSD: patch-ad,v 1.11 2011/02/28 11:02:46 adam Exp $
2
+
3
+ --- c++/Makefile.in.orig 2010-11-27 21:45:27.000000000 +0000
4
+ +++ c++/Makefile.in
5
+ @@ -167,7 +167,7 @@ LIB_OBJS = \
6
+
7
+ ../lib/$(LIBNAME_LIBTOOL) : $(LIB_OBJS)
8
+ cd ../lib && $(LIBTOOL_LINK) $(CXX) $(CXXFLAGS) \
9
+ - -o $(LIBNAME) $(LIB_OBJS:$o=.lo) \
10
+ + -o $(LIBNAME) $(LIB_OBJS:.o=.lo) \
11
+ -rpath $(INSTALL_PREFIX)$(libdir) \
12
+ $(LIBTOOL_VERSION) $(NCURSES_MAJOR):$(NCURSES_MINOR) $(LT_UNDEF) $(SHLIB_LIST)
13
+
@@ -0,0 +1,22 @@
1
+ $NetBSD: patch-cxx_cursesf.h,v 1.1 2011/02/28 11:02:46 adam Exp $
2
+
3
+ --- c++/cursesf.h.orig 2011-02-28 09:23:33.000000000 +0000
4
+ +++ c++/cursesf.h
5
+ @@ -677,7 +677,7 @@ protected:
6
+ }
7
+
8
+ public:
9
+ - NCursesUserForm (NCursesFormField Fields[],
10
+ + NCursesUserForm (NCursesFormField *Fields[],
11
+ const T* p_UserData = STATIC_CAST(T*)(0),
12
+ bool with_frame=FALSE,
13
+ bool autoDelete_Fields=FALSE)
14
+ @@ -686,7 +686,7 @@ public:
15
+ set_user (const_cast<void *>(p_UserData));
16
+ };
17
+
18
+ - NCursesUserForm (NCursesFormField Fields[],
19
+ + NCursesUserForm (NCursesFormField *Fields[],
20
+ int nlines,
21
+ int ncols,
22
+ int begin_y = 0,
@@ -0,0 +1,22 @@
1
+ $NetBSD: patch-cxx_cursesm.h,v 1.1 2011/02/28 11:02:46 adam Exp $
2
+
3
+ --- c++/cursesm.h.orig 2011-02-28 09:25:22.000000000 +0000
4
+ +++ c++/cursesm.h
5
+ @@ -635,7 +635,7 @@ protected:
6
+ }
7
+
8
+ public:
9
+ - NCursesUserMenu (NCursesMenuItem Items[],
10
+ + NCursesUserMenu (NCursesMenuItem *Items[],
11
+ const T* p_UserData = STATIC_CAST(T*)(0),
12
+ bool with_frame=FALSE,
13
+ bool autoDelete_Items=FALSE)
14
+ @@ -644,7 +644,7 @@ public:
15
+ set_user (const_cast<void *>(p_UserData));
16
+ };
17
+
18
+ - NCursesUserMenu (NCursesMenuItem Items[],
19
+ + NCursesUserMenu (NCursesMenuItem *Items[],
20
+ int nlines,
21
+ int ncols,
22
+ int begin_y = 0,