Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/firefox firefox: Remove patches for NetBSD 7, rust...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/70ee04eda36a
branches:  trunk
changeset: 434506:70ee04eda36a
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Jun 17 17:54:26 2020 +0000

description:
firefox: Remove patches for NetBSD 7, rust dropped support for NetBSD 7

diffstat:

 www/firefox/Makefile                                                 |   4 +-
 www/firefox/distinfo                                                 |   4 +-
 www/firefox/mozilla-common.mk                                        |   8 +-
 www/firefox/patches/patch-ipc_chromium_src_base_lock__impl__posix.cc |  15 ---
 www/firefox/patches/patch-xpcom_build_BinaryPath.h                   |  40 ----------
 5 files changed, 4 insertions(+), 67 deletions(-)

diffs (123 lines):

diff -r 31080f2146df -r 70ee04eda36a www/firefox/Makefile
--- a/www/firefox/Makefile      Wed Jun 17 17:15:53 2020 +0000
+++ b/www/firefox/Makefile      Wed Jun 17 17:54:26 2020 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.432 2020/06/15 08:27:02 nia Exp $
+# $NetBSD: Makefile,v 1.433 2020/06/17 17:54:26 nia Exp $
 
 FIREFOX_VER=           ${MOZ_BRANCH}${MOZ_BRANCH_MINOR}
 MOZ_BRANCH=            77.0
 MOZ_BRANCH_MINOR=      .1
-PKGREVISION=           1
+PKGREVISION=           2
 
 DISTNAME=      firefox-${FIREFOX_VER}.source
 PKGNAME=       ${DISTNAME:S/.source//:S/b/beta/:S/esr//}
diff -r 31080f2146df -r 70ee04eda36a www/firefox/distinfo
--- a/www/firefox/distinfo      Wed Jun 17 17:15:53 2020 +0000
+++ b/www/firefox/distinfo      Wed Jun 17 17:54:26 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.398 2020/06/14 18:42:19 maya Exp $
+$NetBSD: distinfo,v 1.399 2020/06/17 17:54:26 nia Exp $
 
 SHA1 (firefox-77.0.1.source.tar.xz) = 86735b221c17964f5e6a756a973b6d0696fbf1c5
 RMD160 (firefox-77.0.1.source.tar.xz) = 59ef718e1bf9eef0a6b90c60ec20bbe4c7402ffe
@@ -17,7 +17,6 @@
 SHA1 (patch-gfx_cairo_cairo_src_cairo-type1-subset.c) = 89a9d934ef76706c552c0b81e6cbc0f45b1ffd2c
 SHA1 (patch-gfx_skia_skia_src_core_SkCpu.cpp) = 36218819254f3681b9c717d652ea78c9f20d49ad
 SHA1 (patch-gfx_thebes_gfxPlatform.cpp) = f6f8996f0818a1b890698c7cc5054d49cb1e8924
-SHA1 (patch-ipc_chromium_src_base_lock__impl__posix.cc) = d84d9b4d416e049423120dcbf9199644ce1c93ab
 SHA1 (patch-ipc_chromium_src_base_message__pump__libevent.cc) = 4a6606da590cfb8d855bde58b9c6f90e98d0870c
 SHA1 (patch-ipc_chromium_src_base_platform__thread__posix.cc) = 35d20981d33ccdb1d8ffb8039e48798777f11658
 SHA1 (patch-ipc_glue_GeckoChildProcessHost.cpp) = 260c29bacd8bf265951b7a412f850bf2b292c836
@@ -37,5 +36,4 @@
 SHA1 (patch-toolkit_moz.configure) = 40ee147cc1d2c62dd6c83b3f67ce9e61f758ea57
 SHA1 (patch-toolkit_mozapps_installer_packager.mk) = 706635b76a7b525794aba95e95544f09e18bb662
 SHA1 (patch-xpcom_base_nscore.h) = 1ac4d34d3c9e80bc1ac966c6c84cb320bc0fa1ec
-SHA1 (patch-xpcom_build_BinaryPath.h) = 92461769d2fee8f015b91a5326247f271afeedea
 SHA1 (patch-xpcom_reflect_xptcall_md_unix_moz.build) = 6956c90d4c74c71e7e9a5882e4840ba2673160fa
diff -r 31080f2146df -r 70ee04eda36a www/firefox/mozilla-common.mk
--- a/www/firefox/mozilla-common.mk     Wed Jun 17 17:15:53 2020 +0000
+++ b/www/firefox/mozilla-common.mk     Wed Jun 17 17:54:26 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mozilla-common.mk,v 1.170 2020/06/14 15:33:28 nia Exp $
+# $NetBSD: mozilla-common.mk,v 1.171 2020/06/17 17:54:26 nia Exp $
 #
 # common Makefile fragment for mozilla packages based on gecko 2.0.
 #
@@ -124,12 +124,6 @@
 SUBST_FILES.fix-paths+=                ${MOZILLA_DIR}xpcom/io/nsAppFileLocationProvider.cpp
 SUBST_SED.fix-paths+=          -e 's,/usr/lib/mozilla/plugins,${PREFIX}/lib/netscape/plugins,g'
 
-SUBST_CLASSES+=                        prefix
-SUBST_STAGE.prefix=            pre-configure
-SUBST_MESSAGE.prefix=          Setting PREFIX
-SUBST_FILES.prefix+=           ${MOZILLA_DIR}xpcom/build/BinaryPath.h
-SUBST_VARS.prefix+=            PREFIX
-
 CONFIG_GUESS_OVERRIDE+=                ${MOZILLA_DIR}build/autoconf/config.guess
 CONFIG_GUESS_OVERRIDE+=                ${MOZILLA_DIR}js/src/build/autoconf/config.guess
 CONFIG_GUESS_OVERRIDE+=                ${MOZILLA_DIR}nsprpub/build/autoconf/config.guess
diff -r 31080f2146df -r 70ee04eda36a www/firefox/patches/patch-ipc_chromium_src_base_lock__impl__posix.cc
--- a/www/firefox/patches/patch-ipc_chromium_src_base_lock__impl__posix.cc      Wed Jun 17 17:15:53 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-ipc_chromium_src_base_lock__impl__posix.cc,v 1.2 2019/03/19 16:11:28 ryoon Exp $
-
-- Fix build on NetBSD 7.1 (which doesn't have PTHREAD_PRIO_INHERIT)
-
---- ipc/chromium/src/base/lock_impl_posix.cc.orig      2019-03-07 16:53:35.000000000 +0000
-+++ ipc/chromium/src/base/lock_impl_posix.cc
-@@ -22,7 +22,7 @@ namespace internal {
- // Lock::PriorityInheritanceAvailable still must be checked as the code may
- // compile but the underlying platform still may not correctly support priority
- // inheritance locks.
--#if defined(OS_NACL) || defined(OS_ANDROID)
-+#if defined(OS_NACL) || defined(OS_ANDROID) || (defined(__NetBSD__) && !defined(PTHREAD_PRIO_INHERIT))
- #  define PRIORITY_INHERITANCE_LOCKS_POSSIBLE() 0
- #else
- #  define PRIORITY_INHERITANCE_LOCKS_POSSIBLE() 1
diff -r 31080f2146df -r 70ee04eda36a www/firefox/patches/patch-xpcom_build_BinaryPath.h
--- a/www/firefox/patches/patch-xpcom_build_BinaryPath.h        Wed Jun 17 17:15:53 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,40 +0,0 @@
-$NetBSD: patch-xpcom_build_BinaryPath.h,v 1.8 2019/03/19 16:11:28 ryoon Exp $
-
-* Fix build under netbsd-7, PR pkg/52956
-
---- xpcom/build/BinaryPath.h.orig      2019-03-07 16:53:45.000000000 +0000
-+++ xpcom/build/BinaryPath.h
-@@ -21,7 +21,8 @@
-     defined(__FreeBSD_kernel__) || defined(__NetBSD__) || defined(__OpenBSD__)
- #  include <sys/sysctl.h>
- #endif
--#if defined(__OpenBSD__)
-+#if defined(__OpenBSD__) || \
-+    (defined(__NetBSD__) && !defined(KERN_PROC_PATHNAME))
- #  include <sys/stat.h>
- #endif
- #include "mozilla/UniquePtr.h"
-@@ -164,7 +165,8 @@ class BinaryPath {
-   }
- 
- #elif defined(__FreeBSD__) || defined(__DragonFly__) || \
--    defined(__FreeBSD_kernel__) || defined(__NetBSD__)
-+      defined(__FreeBSD_kernel__) || \
-+      (defined(__NetBSD__) && defined(KERN_PROC_PATHNAME))
-   static nsresult Get(char aResult[MAXPATHLEN]) {
-     int mib[4];
-     mib[0] = CTL_KERN;
-@@ -246,6 +248,13 @@ class BinaryPath {
-     return NS_ERROR_FAILURE;
-   }
- 
-+#elif (defined(__NetBSD__) && !defined(KERN_PROC_PATHNAME))
-+  static nsresult Get(char aResult[MAXPATHLEN])
-+  {
-+    char path[] = "@PREFIX@/lib/firefox/firefox";
-+    sprintf(aResult, "%s", path);
-+    return NS_OK;
-+  }
- #else
- #  error Oops, you need platform-specific code here
- #endif



Home | Main Index | Thread Index | Old Index