isaacpittman-hitachi / rpms / openssl

Forked from rpms/openssl 2 years ago
Clone

Blame SOURCES/openssl-1.1.1-build.patch

c95581
diff -up openssl-1.1.1f/Configurations/10-main.conf.build openssl-1.1.1f/Configurations/10-main.conf
c95581
--- openssl-1.1.1f/Configurations/10-main.conf.build	2020-03-31 14:17:45.000000000 +0200
c95581
+++ openssl-1.1.1f/Configurations/10-main.conf	2020-04-07 16:42:10.920546387 +0200
c95581
@@ -678,6 +678,7 @@ my %targets = (
3a273b
         cxxflags         => add("-m64"),
3a273b
         lib_cppflags     => add("-DL_ENDIAN"),
3a273b
         perlasm_scheme   => "linux64le",
3a273b
+        multilib         => "64",
3a273b
     },
3a273b
 
3a273b
     "linux-armv4" => {
c95581
@@ -718,6 +719,7 @@ my %targets = (
3a273b
     "linux-aarch64" => {
3a273b
         inherit_from     => [ "linux-generic64", asm("aarch64_asm") ],
3a273b
         perlasm_scheme   => "linux64",
3a273b
+        multilib         => "64",
3a273b
     },
3a273b
     "linux-arm64ilp32" => {  # https://wiki.linaro.org/Platform/arm64-ilp32
3a273b
         inherit_from     => [ "linux-generic32", asm("aarch64_asm") ],
c95581
diff -up openssl-1.1.1f/Configurations/unix-Makefile.tmpl.build openssl-1.1.1f/Configurations/unix-Makefile.tmpl
c95581
--- openssl-1.1.1f/Configurations/unix-Makefile.tmpl.build	2020-04-07 16:42:10.920546387 +0200
c95581
+++ openssl-1.1.1f/Configurations/unix-Makefile.tmpl	2020-04-07 16:44:23.539142108 +0200
c95581
@@ -823,7 +823,7 @@ uninstall_runtime_libs:
c95581
 install_man_docs:
c95581
 	@[ -n "$(INSTALLTOP)" ] || (echo INSTALLTOP should not be empty; exit 1)
c95581
 	@$(ECHO) "*** Installing manpages"
c95581
-	$(PERL) $(SRCDIR)/util/process_docs.pl \
c95581
+	TZ=UTC $(PERL) $(SRCDIR)/util/process_docs.pl \
c95581
 		"--destdir=$(DESTDIR)$(MANDIR)" --type=man --suffix=$(MANSUFFIX)
c95581
 
c95581
 uninstall_man_docs:
c95581
@@ -835,7 +835,7 @@ uninstall_man_docs:
c95581
 install_html_docs:
c95581
 	@[ -n "$(INSTALLTOP)" ] || (echo INSTALLTOP should not be empty; exit 1)
c95581
 	@$(ECHO) "*** Installing HTML manpages"
c95581
-	$(PERL) $(SRCDIR)/util/process_docs.pl \
c95581
+	TZ=UTC $(PERL) $(SRCDIR)/util/process_docs.pl \
c95581
 		"--destdir=$(DESTDIR)$(HTMLDIR)" --type=html
c95581
 
c95581
 uninstall_html_docs: