Bug 31396 - Port upgrade: www/mozilla-0.9.4 -> mozilla-0.9.5
Summary: Port upgrade: www/mozilla-0.9.4 -> mozilla-0.9.5
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-21 07:40 UTC by Nuzrin Yaapar
Modified: 2001-10-22 12:48 UTC (History)
0 users

See Also:


Attachments
file.diff (811 bytes, patch)
2001-10-21 07:40 UTC, Nuzrin Yaapar
no flags Details | Diff
file.diff (599 bytes, patch)
2001-10-21 07:40 UTC, Nuzrin Yaapar
no flags Details | Diff
file.diff (563 bytes, patch)
2001-10-21 07:40 UTC, Nuzrin Yaapar
no flags Details | Diff
file.diff (559 bytes, patch)
2001-10-21 07:40 UTC, Nuzrin Yaapar
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nuzrin Yaapar 2001-10-21 07:40:00 UTC
* upgrade mozilla to 0.9.5
* now we can use *tab browsing*! so long galeon ;)

Fix: [nuzrin@nuzrin /usr/ports/www]> diff -ruN mozilla-new/ mozilla/
PORTNAME=      mozilla
-PORTVERSION=   0.9.5
+PORTVERSION=   0.9.4
 PORTEPOCH=     1
 CATEGORIES=    www
 MASTER_SITES=  ${MASTER_SITE_MOZILLA}
@@ -36,7 +36,6 @@
                --disable-cpp-rtti              \
                --disable-debug                 \
                --disable-idltool               \
-               --disable-logging               \
                --disable-md                    \
                --disable-pedantic              \
                --disable-xterm-updates         \
#include "prthread.h"

@@ -8,7 +8,7 @@
  #include <sys/syscall.h>

  #define PR_LINKER_ARCH        "freebsd"
-@@ -65,7 +66,7 @@
+@@ -49,7 +50,7 @@
  #define _PR_HAVE_SOCKADDR_LEN
  #define _PR_STAT_HAS_ST_ATIMESPEC
  #define _PR_NO_LARGE_FILES
@@ -9,7 +9,7 @@
  #define PT_PRIO_MIN            sched_get_priority_min(SCHED_OTHER)
  #define PT_PRIO_MAX            sched_get_priority_max(SCHED_OTHER)
  #elif defined(NTO)
-@@ -244,7 +244,7 @@
+@@ -203,7 +203,7 @@
   */
  #define PT_PRIO_MIN            1
  #define PT_PRIO_MAX            127
include $(MOD_DEPTH)/config/UNIX.mk

@@ -11,7 +14,7 @@

 +# During FreeBSD port build, CFLAGS contains all of the optimizations
 +# flags desired...
-+OPTIMIZER              = $(MOZ_OPTIMIZE_FLAGS)
++OPTIMIZER             = $(MOZ_OPTIMIZE_FLAGS)
 +
  ifeq ($(OS_TEST),alpha)
  CPU_ARCH              = alpha
@@ -22,19 +25,18 @@
  CPU_ARCH_TAG          = _$(CPU_ARCH)

 -OS_CFLAGS             = $(DSO_CFLAGS) $(OS_REL_CFLAGS) -ansi -Wall -pipe $(THREAD_FLAG) -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK
--
-+OS_CFLAGS              = $(DSO_CFLAGS) $(OS_REL_CFLAGS) -ansi -Wall -pipe -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK
++OS_CFLAGS             = $(DSO_CFLAGS) $(OS_REL_CFLAGS) -ansi -Wall -pipe -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK
+
  #
  # The default implementation strategy for FreeBSD is pthreads.
- #
-@@ -60,8 +61,8 @@
+@@ -60,8 +62,8 @@
  else
  USE_PTHREADS          = 1
  IMPL_STRATEGY         = _PTH
 -DEFINES                       += -D_THREAD_SAFE
 -THREAD_FLAG           += -pthread
-+DEFINES                        += -D_THREAD_SAFE -D_REENTRANT
-+DSO_LDOPTS             += -pthread
++DEFINES                       += -D_THREAD_SAFE -D_REENTRANT
++DSO_LDOPTS            += -pthread
  endif

  ARCH                  = freebsd


@@ -9,7 +12,7 @@
      QT_LIBS="-L/usr/X11R6/lib -L${QTDIR}/lib -lqt -lXext -lX11"

      # Check whether --with-static-qt or --without-static-qt was given.
-@@ -8594,6 +8594,9 @@
+@@ -8587,6 +8587,9 @@
  os2*)
      LIBS=
      ;;
@@ -19,20 +22,29 @@
  esac
  for ac_hdr in sys/byteorder.h compat.h getopt.h
  do
-@@ -9289,8 +9292,6 @@
-       if test $? -eq 0; then
-               if test -z "`egrep -i '(unrecognize|unknown)' conftest.out | grep pthreads`" && test -z "`egrep -i '(error|incorrect)' conftest.out`" ; then
-                           ac_cv_have_dash_pthreads=yes
--                          CFLAGS="$CFLAGS -pthreads"
--                          CXXFLAGS="$CXXFLAGS -pthreads"
-                   fi
-           fi
-           rm -f conftest*
-@@ -13636,6 +13637,7 @@
+@@ -9316,8 +9319,6 @@
+       if test $? -eq 0; then
+               if test -z "`egrep -i '(unrecognize|unknown)' conftest.out | grep pthread`" && test -z "`egrep -i '(error|incorrect)' conftest.out`" ; then
+                       ac_cv_have_dash_pthread=yes
+-                      CFLAGS="$CFLAGS -pthread"
+-                      CXXFLAGS="$CXXFLAGS -pthread"
+               fi
+       fi
+       rm -f conftest*
+@@ -9351,7 +9352,7 @@
+ EOF
+
+                                               if test "$ac_cv_have_dash_pthread" = "yes"; then
+-                              _PTHREAD_LDFLAGS=""
++                              _PTHREAD_LDFLAGS="-pthread"
+                       else
+                               _PTHREAD_LDFLAGS="-lc_r"
+                       fi
+@@ -13701,6 +13702,7 @@
          ;;
      *)
          NSPR_LIBS=`./nsprpub/config/nspr-config --prefix=$MOZ_BUILD_ROOT/dist --exec-prefix=$MOZ_BUILD_ROOT/dist --libs`
-+        NSPR_LIBS="$NSPR_LIBS $BSD_PTHREAD_LIBS"
++      NSPR_LIBS="$NSPR_LIBS $BSD_PTHREAD_LIBS"
          $PERL -pi.bak -e "s {^NSPR_LIBS\s*=.*} {NSPR_LIBS = $NSPR_LIBS }" config/autoconf.mk
          ;;
      esac--SJ3UViUOK19jQ4aSRSMkmLJIBZ6lX8HA2hHdV2516oQzhOSM
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

diff -ruN mozilla-new/Makefile mozilla/Makefile
--- mozilla-new/Makefile        Sun Oct 21 13:06:21 2001
+++ mozilla/Makefile    Tue Sep 18 16:12:08 2001
@@ -6,7 +6,7 @@
 #
How-To-Repeat: None.
Comment 1 Peter Pentchev freebsd_committer freebsd_triage 2001-10-21 10:51:35 UTC
Responsible Changed
From-To: freebsd-ports->gnome

Over to maintainer.
Comment 2 Maxim Sobolev freebsd_committer freebsd_triage 2001-10-22 12:48:18 UTC
State Changed
From-To: open->closed

Committed, thank you!
Comment 3 Maxim Sobolev freebsd_committer freebsd_triage 2001-10-22 12:48:18 UTC
State Changed
From-To: open->closed

Committed, thank you!