pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/firefox52 Avoid a gnu specific regex in a sed invo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f21bab9ea997
branches:  trunk
changeset: 449564:f21bab9ea997
user:      martin <martin%pkgsrc.org@localhost>
date:      Thu Apr 01 15:28:10 2021 +0000

description:
Avoid a gnu specific regex in a sed invocation during autoconfigury,
now the pkg builds again on NetBSD-current.

diffstat:

 www/firefox52/distinfo         |   4 ++--
 www/firefox52/patches/patch-aa |  16 +++++++++++++---
 2 files changed, 15 insertions(+), 5 deletions(-)

diffs (50 lines):

diff -r cc61444dddf9 -r f21bab9ea997 www/firefox52/distinfo
--- a/www/firefox52/distinfo    Thu Apr 01 15:24:57 2021 +0000
+++ b/www/firefox52/distinfo    Thu Apr 01 15:28:10 2021 +0000
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.25 2020/11/11 11:15:38 nia Exp $
+$NetBSD: distinfo,v 1.26 2021/04/01 15:28:10 martin Exp $
 
 SHA1 (firefox-52.9.0esr.source.tar.xz) = df3d47518b380fe934e32a288515c25435fd82a7
 RMD160 (firefox-52.9.0esr.source.tar.xz) = 8940269f0a515c0066b6ab2eea1da8963d27617b
 SHA512 (firefox-52.9.0esr.source.tar.xz) = bfca42668ca78a12a9fb56368f4aae5334b1f7a71966fbba4c32b9c5e6597aac79a6e340ac3966779d2d5563eb47c054ab33cc40bfb7306172138ccbd3adb2b9
 Size (firefox-52.9.0esr.source.tar.xz) = 214087304 bytes
-SHA1 (patch-aa) = 0ca132012a7005a506cdecc0167d4c7782aee244
+SHA1 (patch-aa) = 31ba818e5f507c0ebdddd178b4801ab81e1bbbe5
 SHA1 (patch-ao) = 8b7125ef3b193fca4d03386142887b2f8d5015c5
 SHA1 (patch-as) = b596132c7b6902c4f7ddb901e28e1437b99bb428
 SHA1 (patch-build_gyp.mozbuild) = 481270e6703e556fb87a3440cb3cfb3d4fcc4c86
diff -r cc61444dddf9 -r f21bab9ea997 www/firefox52/patches/patch-aa
--- a/www/firefox52/patches/patch-aa    Thu Apr 01 15:24:57 2021 +0000
+++ b/www/firefox52/patches/patch-aa    Thu Apr 01 15:28:10 2021 +0000
@@ -1,13 +1,14 @@
-$NetBSD: patch-aa,v 1.3 2019/06/14 08:11:35 nia Exp $
+$NetBSD: patch-aa,v 1.4 2021/04/01 15:28:10 martin Exp $
 
 * MOZ_ENABLE_PROFILER_SPS is not for users, Disable it
 * Disable libjpeg-turbo check
 * Add system libraries option
 * Add OSS audio support
 * Add Sun audio support
+* Fix GNU specific sed call by using a portable regex instead
 
---- old-configure.in.orig      2017-09-11 20:13:47.000000000 +0000
-+++ old-configure.in
+--- old-configure.in.orig      2017-09-11 22:13:47.000000000 +0200
++++ old-configure.in   2021-03-31 20:45:25.040426765 +0200
 @@ -2159,11 +2159,7 @@ if test "$MOZ_SYSTEM_JPEG" = 1; then
                       #include <jpeglib.h> ],
                     [ #if JPEG_LIB_VERSION < $MOZJPEG
@@ -252,3 +253,12 @@
  dnl Check for pixman and cairo
  dnl ========================================================
  
+@@ -5916,7 +6106,7 @@ ac_configure_args="$_SUBDIR_CONFIG_ARGS"
+ 
+ # --with-system-nspr will have been converted into the relevant $NSPR_CFLAGS
+ # and $NSPR_LIBS.
+-ac_configure_args="`echo $ac_configure_args | sed -e 's/--with-system-nspr\S* *//'`"
++ac_configure_args="`echo $ac_configure_args | sed -e 's/--with-system-nspr[[^[:space:]]]* *//'`"
+ 
+ if test "$_INTL_API" = no; then
+     ac_configure_args="$ac_configure_args --without-intl-api"



Home | Main Index | Thread Index | Old Index