Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Aug 2012 08:10:56 GMT
From:      Luca Pizzamiglio <luca.pizzamiglio@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/170321: [MAINTAINER] Small clean-up of the port
Message-ID:  <201208020810.q728AuWL050624@red.freebsd.org>
Resent-Message-ID: <201208020820.q728KB3q002835@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         170321
>Category:       ports
>Synopsis:       [MAINTAINER] Small clean-up of the port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 02 08:20:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Luca Pizzamiglio
>Release:        FreeBSD 8.3-STABLE
>Organization:
>Environment:
FreeBSD pizzamig.bally.de 8.3-STABLE FreeBSD 8.3-STABLE #7: Wed Jun 20 14:56:08 CEST 2012     root@xxx:/usr/obj/usr/src/sys/PIZZAMIG  i386
>Description:
This update fix a comment in Makefile (useful to better detect problems like in ports/170080) and merges a couple of small patches I received from jhb@ and Raghu Gyambavantha.
I guess no PORTREVISION bumping is required.


>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -Nru devel/gdb.orig/Makefile devel/gdb/Makefile
--- devel/gdb.orig/Makefile	2012-07-27 09:05:23.000000000 +0200
+++ devel/gdb/Makefile	2012-08-02 09:56:57.000000000 +0200
@@ -2,7 +2,7 @@
 # Date created:				16 November 2010
 # Whom:					Steven Kreuzer <skreuzer@FreeBSD.org>
 #
-# $FreeBSD: ports/devel/gdb/Makefile,v 1.20 2012/07/27 07:05:23 scheidell Exp $
+# $FreeBSD$
 #
 
 PORTNAME=	gdb
@@ -38,7 +38,7 @@
 
 ONLY_FOR_ARCHS=	i386 amd64	# untested elsewhere, might work
 
-# Forcing to use the readline.6
+# Forcing to use the readline from ports (readline in FreeBSD world is not compatible anymore)
 LIB_DEPENDS+=	readline:${PORTSDIR}/devel/readline
 CFLAGS+=	-isystem ${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
diff -Nru devel/gdb.orig/files/fbsd-threads.c devel/gdb/files/fbsd-threads.c
--- devel/gdb.orig/files/fbsd-threads.c	2012-06-23 11:12:05.000000000 +0200
+++ devel/gdb/files/fbsd-threads.c	2012-08-02 09:56:49.000000000 +0200
@@ -747,8 +747,10 @@
       */
       if (!fbsd_thread_alive (ops, inferior_ptid) && !ptid_equal(inferior_ptid, ret))
         {
-          delete_thread (inferior_ptid);
+          ptid_t save_ptid;
+          save_ptid = inferior_ptid;
           inferior_ptid = ret;
+          delete_thread (save_ptid);
         }
     }
 
@@ -1176,7 +1178,7 @@
   else
     name = SYMBOL_PRINT_NAME (ms);
 
-  printf_filtered ("Destructor %p <%s>\n", destructor, name);
+  printf_filtered ("Key %d, destructor %p <%s>\n", key, destructor, name);
   return 0;
 }
 


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208020810.q728AuWL050624>