omnibus-software 23.7.295 → 3002.0.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of omnibus-software might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/lib/omnibus-software.rb +87 -102
- metadata +13 -273
- data/.buildkite/hooks/pre-command +0 -9
- data/.expeditor/Version_inspector/README.md +0 -21
- data/.expeditor/Version_inspector/SW-Version-update.py +0 -243
- data/.expeditor/Version_inspector/manual_prod_list.json +0 -29
- data/.expeditor/Version_inspector/prod_default_version.json +0 -103
- data/.expeditor/Version_inspector/prod_list.json +0 -194
- data/.expeditor/Version_inspector/requirements.txt +0 -4
- data/.expeditor/Version_inspector/update_prod_default_version.sh +0 -24
- data/.expeditor/Version_inspector/update_prod_list.sh +0 -35
- data/.expeditor/config.yml +0 -44
- data/.expeditor/determine_version.sh +0 -15
- data/.expeditor/push_git_tag.sh +0 -12
- data/.expeditor/run_linux_tests.sh +0 -16
- data/.expeditor/software_upload.pipeline.yml +0 -17
- data/.expeditor/verify.pipeline.yml +0 -52
- data/.github/CODEOWNERS +0 -5
- data/.github/ISSUE_TEMPLATE/BUG_TEMPLATE.md +0 -29
- data/.github/ISSUE_TEMPLATE/DESIGN_PROPOSAL.md +0 -40
- data/.github/ISSUE_TEMPLATE/ENHANCEMENT_REQUEST_TEMPLATE.md +0 -17
- data/.github/ISSUE_TEMPLATE/SUPPORT_QUESTION.md +0 -11
- data/.github/dependabot.yml +0 -9
- data/.github/lock.yml +0 -1
- data/.gitignore +0 -17
- data/CHANGELOG.md +0 -18
- data/CODE_OF_CONDUCT.md +0 -1
- data/CONTRIBUTING.md +0 -1
- data/Dockerfile +0 -21
- data/Gemfile +0 -10
- data/LICENSE +0 -201
- data/README.md +0 -99
- data/Rakefile +0 -56
- data/VERSION +0 -1
- data/config/patches/bash/race-condition.patch +0 -15
- data/config/patches/bash/updated_race-condition.patch +0 -15
- data/config/patches/bzip2/aix_makefile.patch +0 -11
- data/config/patches/bzip2/makefile_no_bins.patch +0 -77
- data/config/patches/bzip2/makefile_take_env_vars.patch +0 -31
- data/config/patches/bzip2/soname_install_dir.patch +0 -11
- data/config/patches/curl/curl-aix-disable-alpn.patch +0 -22
- data/config/patches/curl/curl-freebsd-hostcheck.patch +0 -10
- data/config/patches/erlang/epmd-require-explicitly-adding-loopback-address.patch +0 -84
- data/config/patches/erlang/updated-epmd-require-explicitly-adding-loopback-address.patch +0 -75
- data/config/patches/expat/configure_xlc_visibility.patch +0 -58
- data/config/patches/expat/configure_xlc_visibility_2.4.7.patch +0 -59
- data/config/patches/figlet/aix-figlet-cdefs.patch +0 -48
- data/config/patches/gdbm/v1.8.3-Makefile.in.patch +0 -32
- data/config/patches/git/aix-endian-fix.patch +0 -20
- data/config/patches/gtar/aix_extra_case.patch +0 -13
- data/config/patches/keepalived/keepalived-1.2.9_opscode_centos_5.patch +0 -15
- data/config/patches/libedit/freebsd-vi-fix.patch +0 -24
- data/config/patches/libedit/openbsd-weak-alias-fix.patch +0 -48
- data/config/patches/libedit/solaris.patch +0 -36
- data/config/patches/libffi/libffi-3.2.1-disable-multi-os-directory.patch +0 -83
- data/config/patches/libffi/libffi-3.3-arm64.patch +0 -9608
- data/config/patches/libxslt/libxslt-solaris-configure.patch +0 -19
- data/config/patches/libxslt/libxslt-windows-relocate.patch +0 -12
- data/config/patches/libyaml/windows-configure.patch +0 -26
- data/config/patches/libzmq/zeromq-4.0.11_mingw_inet_pton.patch +0 -37
- data/config/patches/libzmq/zeromq-aix-4.2.2-LARGE_FILES.patch +0 -56
- data/config/patches/libzmq/zeromq-aix-4.2.2-atomic-counter-fetch_and_add.patch +0 -59
- data/config/patches/logrotate/logrotate_basedir_override.patch +0 -17
- data/config/patches/m4/m4-1.4.18-glibc-change-work-around.patch +0 -115
- data/config/patches/make/deb-make-glob.patch +0 -31
- data/config/patches/ncurses/ncurses-5.9-gcc-5.patch +0 -46
- data/config/patches/ncurses/ncurses-5.9-solaris-xopen_source_extended-detection.patch +0 -11
- data/config/patches/ncurses/ncurses-clang.patch +0 -43
- data/config/patches/ncurses/patch-aa +0 -23
- data/config/patches/ncurses/patch-ab +0 -44
- data/config/patches/ncurses/patch-ac +0 -40
- data/config/patches/ncurses/patch-ad +0 -13
- data/config/patches/ncurses/patch-cxx_cursesf.h +0 -22
- data/config/patches/ncurses/patch-cxx_cursesm.h +0 -22
- data/config/patches/ncurses/patch-ncurses_tinfo_lib__baudrate.c +0 -24
- data/config/patches/openssl/openssl-1.0.1f-do-not-build-docs.patch +0 -28
- data/config/patches/openssl/openssl-1.0.1j-windows-relocate-dll.patch +0 -44
- data/config/patches/openssl/openssl-1.0.1q-fix-compiler-flags-table-for-msys.patch +0 -20
- data/config/patches/openssl/openssl-1.0.2x-darwin-arm64.patch +0 -54
- data/config/patches/openssl/openssl-1.1.0f-do-not-install-docs.patch +0 -11
- data/config/patches/openssl/openssl-3.0.1-do-not-install-docs.patch +0 -22
- data/config/patches/openssl-fips/openssl-fips-fix-compiler-flags-table-for-msys.patch +0 -11
- data/config/patches/perl/perl-5.18.1-remove_lnsl.patch +0 -441
- data/config/patches/perl/perl-5.22.1-remove_lnsl.patch +0 -512
- data/config/patches/perl/perl-5.30.0-remove_lnsl.patch +0 -518
- data/config/patches/perl/perl-5.32.1-remove_lnsl.patch +0 -456
- data/config/patches/perl/perl-5.34.0-remove_lnsl.patch +0 -516
- data/config/patches/pkg-config/openbsd-charset.patch +0 -19
- data/config/patches/popt/v1.16.ppc64le-configure.patch +0 -18
- data/config/patches/redis/password-from-environment.patch +0 -19
- data/config/patches/ruby/patch-configure +0 -103
- data/config/patches/ruby/remove_nano.patch +0 -10
- data/config/patches/ruby/ruby-2.6.7_c99.patch +0 -12
- data/config/patches/ruby/ruby-3.0.1-configure.patch +0 -281
- data/config/patches/ruby/ruby-3.0.2-configure.patch +0 -251
- data/config/patches/ruby/ruby-3.0.5-configure.patch +0 -260
- data/config/patches/ruby/ruby-aix-atomic.patch +0 -11
- data/config/patches/ruby/ruby-aix-configure_26_and_later.patch +0 -19
- data/config/patches/ruby/ruby-aix-vm-core.patch +0 -14
- data/config/patches/ruby/ruby-fast-load_26.patch +0 -16
- data/config/patches/ruby/ruby-fast-load_31.patch +0 -16
- data/config/patches/ruby/ruby-faster-load_26.patch +0 -11
- data/config/patches/ruby/ruby-faster-load_27.patch +0 -11
- data/config/patches/ruby/ruby-mkmf.patch +0 -29
- data/config/patches/ruby/ruby-no-stack-protector-strong.patch +0 -11
- data/config/patches/ruby/ruby-no-stack-protector.patch +0 -13
- data/config/patches/ruby/ruby-win32_warning_removal.patch +0 -12
- data/config/patches/ruby/ruby_aix_openssl.patch +0 -10
- data/config/patches/ruby/ruby_aix_ssl_EAGAIN.patch +0 -19
- data/config/patches/ruby/rvm-cflags.patch +0 -27
- data/config/patches/stunnel/stunnel-on-windows.patch +0 -42
- data/config/patches/zlib/zlib-windows-relocate.patch +0 -20
- data/config/software/autoconf.rb +0 -46
- data/config/software/automake.rb +0 -49
- data/config/software/bash.rb +0 -81
- data/config/software/berkshelf-no-depselector.rb +0 -46
- data/config/software/berkshelf.rb +0 -34
- data/config/software/binutils.rb +0 -47
- data/config/software/bundler.rb +0 -38
- data/config/software/bzip2.rb +0 -57
- data/config/software/cacerts.rb +0 -52
- data/config/software/chef-gem.rb +0 -35
- data/config/software/chef.rb +0 -113
- data/config/software/cmake.rb +0 -100
- data/config/software/config_guess.rb +0 -37
- data/config/software/cpanminus.rb +0 -50
- data/config/software/curl.rb +0 -105
- data/config/software/delivery-cli.rb +0 -89
- data/config/software/dep-selector-libgecode.rb +0 -48
- data/config/software/elasticsearch.rb +0 -67
- data/config/software/elixir.rb +0 -35
- data/config/software/erlang.rb +0 -134
- data/config/software/expat.rb +0 -66
- data/config/software/fakeroot.rb +0 -41
- data/config/software/ffi-yajl.rb +0 -46
- data/config/software/figlet-fonts.rb +0 -31
- data/config/software/figlet.rb +0 -44
- data/config/software/gcc.rb +0 -60
- data/config/software/gdbm.rb +0 -54
- data/config/software/gecode.rb +0 -64
- data/config/software/gem-permissions.rb +0 -43
- data/config/software/git-windows.rb +0 -98
- data/config/software/git.rb +0 -142
- data/config/software/gmp.rb +0 -50
- data/config/software/go-uninstall.rb +0 -33
- data/config/software/go.rb +0 -123
- data/config/software/google-protobuf.rb +0 -45
- data/config/software/gtar.rb +0 -64
- data/config/software/help2man.rb +0 -40
- data/config/software/highline-gem.rb +0 -37
- data/config/software/ibm-jre.rb +0 -59
- data/config/software/inspec.rb +0 -43
- data/config/software/jre-from-jdk.rb +0 -67
- data/config/software/keepalived.rb +0 -68
- data/config/software/libarchive.rb +0 -74
- data/config/software/libedit.rb +0 -76
- data/config/software/libffi.rb +0 -71
- data/config/software/libgcc.rb +0 -52
- data/config/software/libiconv.rb +0 -57
- data/config/software/libintl-perl.rb +0 -59
- data/config/software/liblzma.rb +0 -63
- data/config/software/libossp-uuid.rb +0 -47
- data/config/software/libsodium.rb +0 -42
- data/config/software/libtool.rb +0 -58
- data/config/software/libuuid.rb +0 -44
- data/config/software/libxml2.rb +0 -65
- data/config/software/libxslt.rb +0 -68
- data/config/software/libyajl2-gem.rb +0 -44
- data/config/software/libyaml.rb +0 -52
- data/config/software/libzmq.rb +0 -93
- data/config/software/logrotate.rb +0 -64
- data/config/software/lua.rb +0 -48
- data/config/software/m4.rb +0 -40
- data/config/software/make.rb +0 -46
- data/config/software/makedepend.rb +0 -47
- data/config/software/mpc.rb +0 -48
- data/config/software/mpfr.rb +0 -48
- data/config/software/musl.rb +0 -107
- data/config/software/mysql2.rb +0 -50
- data/config/software/ncurses.rb +0 -162
- data/config/software/nginx.rb +0 -57
- data/config/software/nodejs-binary.rb +0 -93
- data/config/software/nodejs.rb +0 -58
- data/config/software/nokogiri.rb +0 -92
- data/config/software/omnibus-ctl.rb +0 -42
- data/config/software/openresty.rb +0 -96
- data/config/software/opensearch.rb +0 -59
- data/config/software/openssl-customization.rb +0 -81
- data/config/software/openssl-fips.rb +0 -85
- data/config/software/openssl.rb +0 -199
- data/config/software/patch.rb +0 -48
- data/config/software/patchelf.rb +0 -70
- data/config/software/pcre.rb +0 -55
- data/config/software/perl-extutils-embed.rb +0 -38
- data/config/software/perl-extutils-makemaker.rb +0 -47
- data/config/software/perl-thread-queue.rb +0 -41
- data/config/software/perl.rb +0 -80
- data/config/software/perl_pg_driver.rb +0 -46
- data/config/software/pg-gem.rb +0 -36
- data/config/software/pkg-config-lite.rb +0 -48
- data/config/software/pkg-config.rb +0 -68
- data/config/software/popt.rb +0 -59
- data/config/software/postgresql.rb +0 -71
- data/config/software/preparation.rb +0 -31
- data/config/software/python.rb +0 -83
- data/config/software/rabbitmq.rb +0 -58
- data/config/software/rb-readline.rb +0 -33
- data/config/software/rbnacl-libsodium.rb +0 -42
- data/config/software/rbzmq.rb +0 -44
- data/config/software/rebar.rb +0 -42
- data/config/software/redis-gem.rb +0 -36
- data/config/software/redis.rb +0 -54
- data/config/software/relx.rb +0 -39
- data/config/software/rsync.rb +0 -57
- data/config/software/ruby-cleanup.rb +0 -271
- data/config/software/ruby-msys2-devkit.rb +0 -72
- data/config/software/ruby-windows-devkit-bash.rb +0 -43
- data/config/software/ruby-windows-devkit.rb +0 -84
- data/config/software/ruby.rb +0 -315
- data/config/software/rubygems.rb +0 -73
- data/config/software/runit.rb +0 -68
- data/config/software/rust-uninstall.rb +0 -32
- data/config/software/rust.rb +0 -97
- data/config/software/sequel-gem.rb +0 -36
- data/config/software/server-jre.rb +0 -132
- data/config/software/server-open-jre.rb +0 -146
- data/config/software/setuptools.rb +0 -48
- data/config/software/shebang-cleanup.rb +0 -101
- data/config/software/sqitch.rb +0 -92
- data/config/software/stunnel.rb +0 -88
- data/config/software/util-macros.rb +0 -44
- data/config/software/version-manifest.rb +0 -33
- data/config/software/xproto.rb +0 -43
- data/config/software/zlib.rb +0 -88
- data/config/templates/git/config.mak.erb +0 -31
- data/config/templates/rubygems/register_devtools.rb.erb +0 -33
- data/config/templates/runit/runsvdir-start.erb +0 -42
- data/docker-compose.yml +0 -15
- data/lib/omnibus-software/version.rb +0 -3
- data/omnibus-software.gemspec +0 -20
- data/scripts/internal_sources.rb +0 -78
- data/scripts/internal_sources.yml +0 -419
- data/test/Gemfile +0 -10
- data/test/config/projects/test.rb +0 -14
- data/test/generate_steps.rb +0 -65
- data/test/omnibus-build.sh +0 -55
- data/test/omnibus.rb +0 -59
@@ -1,19 +0,0 @@
|
|
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
|
-
|
@@ -1,12 +0,0 @@
|
|
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
|
@@ -1,26 +0,0 @@
|
|
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:
|
@@ -1,37 +0,0 @@
|
|
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));
|
@@ -1,56 +0,0 @@
|
|
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
|
-
|
@@ -1,59 +0,0 @@
|
|
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
|
-
|
@@ -1,17 +0,0 @@
|
|
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
|
@@ -1,115 +0,0 @@
|
|
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
|
-
|
@@ -1,31 +0,0 @@
|
|
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
|
@@ -1,46 +0,0 @@
|
|
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 \
|
@@ -1,11 +0,0 @@
|
|
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
|
@@ -1,43 +0,0 @@
|
|
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
|
-
|
@@ -1,23 +0,0 @@
|
|
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
|
@@ -1,44 +0,0 @@
|
|
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
|
-
}
|
@@ -1,40 +0,0 @@
|
|
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
|
@@ -1,13 +0,0 @@
|
|
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
|
-
|
@@ -1,22 +0,0 @@
|
|
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,
|
@@ -1,22 +0,0 @@
|
|
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,
|