rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=7241ea1de8e62733d64fedf6f34d4da38d674fdf

commit 7241ea1de8e62733d64fedf6f34d4da38d674fdf
Author: Vitalii Vorobiov <vi.vorob...@samsung.com>
Date:   Tue Feb 2 18:45:19 2016 +0000

    live_gengrid: fix SIGSEV on item text load
    
    @fix #50533
---
 src/bin/ui/live_view/elementary/live_gengrid.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/bin/ui/live_view/elementary/live_gengrid.c 
b/src/bin/ui/live_view/elementary/live_gengrid.c
index cfc4220..f87b6c5 100644
--- a/src/bin/ui/live_view/elementary/live_gengrid.c
+++ b/src/bin/ui/live_view/elementary/live_gengrid.c
@@ -99,7 +99,12 @@ _grid_text_get(void *data __UNUSED__,
    EINA_LIST_FOREACH(part_list, l, demo_part)
      {
         if (!strcmp(demo_part->name, part))
-          return strdup(demo_part->text_content);
+          {
+             if (!demo_part->text_content)
+               return NULL;
+             else
+               return strdup(demo_part->text_content);
+          }
      }
 
    return NULL;

-- 



From owner-freebsd-po...@freebsd.org Wed Feb 03 07:11:07 2016
Return-path: <owner-freebsd-po...@freebsd.org>
Envelope-to: arch...@mail-archive.com
Delivery-date: Wed, 03 Feb 2016 07:11:07 -0800
Received: from bolt10b.mxthunder.net ([208.53.48.136])
        by mail-archive.com with esmtp (Exim 4.76)
        (envelope-from <owner-freebsd-po...@freebsd.org>)
        id 1aQz5A-0003io-AK
        for arch...@mail-archive.com; Wed, 03 Feb 2016 07:11:00 -0800
Received: by bolt10b.mxthunder.net (Postfix, from userid 12345)
        id 3pwRBZ5N4zz2NZwb; Wed,  3 Feb 2016 07:04:23 -0800 (PST)
Received: from mx2.freebsd.org (mx2.freebsd.org [8.8.178.116])
        (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
        (No client certificate requested)
        by bolt10b.mxthunder.net (Postfix) with ESMTPS id 3pwR9V1wxKz2NZdm
        for <arch...@mail-archive.com>; Wed,  3 Feb 2016 07:03:57 -0800 (PST)
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
        (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
        (No client certificate requested)
        by mx2.freebsd.org (Postfix) with ESMTPS id 5E3CB4213;
        Wed,  3 Feb 2016 15:03:57 +0000 (UTC)
        (envelope-from owner-freebsd-po...@freebsd.org)
Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org 
[IPv6:2001:1900:2254:206a::50:5])
        by mx1.freebsd.org (Postfix) with ESMTP id 44761DDF;
        Wed,  3 Feb 2016 15:03:57 +0000 (UTC)
        (envelope-from owner-freebsd-po...@freebsd.org)
Delivered-To: freebsd-po...@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 10914A99522
 for <freebsd-po...@mailman.ysv.freebsd.org>;
 Wed,  3 Feb 2016 15:03:51 +0000 (UTC) (envelope-from w...@hiwaay.net)
Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id D9383D68
 for <freebsd-po...@freebsd.org>; Wed,  3 Feb 2016 15:03:50 +0000 (UTC)
 (envelope-from w...@hiwaay.net)
Received: from kabini1.local (dynamic-216-186-244-25.knology.net
 [216.186.244.25] (may be forged)) (authenticated bits=0)
 by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id u13F3mgE014512
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits8 verify=NO)
 for <freebsd-po...@freebsd.org>; Wed, 3 Feb 2016 09:03:49 -0600
Subject: Re: [moved from toolchain] GCC5: pkg vs. ports
To: freebsd-po...@freebsd.org
References: <56b20ca6.2080...@hiwaay.net>
 <56b215f4.1020...@infracaninophile.co.uk>
From: "William A. Mahaffey III" <w...@hiwaay.net>
Message-ID: <56b216d4.3060...@hiwaay.net>
Date: Wed, 3 Feb 2016 09:09:18 -0553.75
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101
 Thunderbird/38.4.0
MIME-Version: 1.0
In-Reply-To: <56b215f4.1020...@infracaninophile.co.uk>
X-BeenThere: freebsd-po...@freebsd.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: Porting software to FreeBSD <freebsd-ports.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-ports>,
 <mailto:freebsd-ports-requ...@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports/>
List-Post: <mailto:freebsd-po...@freebsd.org>
List-Help: <mailto:freebsd-ports-requ...@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-ports>,
 <mailto:freebsd-ports-requ...@freebsd.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: owner-freebsd-po...@freebsd.org
Sender: owner-freebsd-po...@freebsd.org
X-MXTHUNDER-Identifier:  <56b216d4.3060...@hiwaay.net>
X-MXTHUNDER-IP-Rating:  0, 8.8.178.116, Ugly c=0.369283 p=0.166667 Source Normal
X-MXTHUNDER-Scan-Result:  100
X-MXTHUNDER-Rules:
        100-5946975-2380-2399-m
        100-5946619-4958-4972-m
        100-5946619-7047-7061-m
        100-5946975-0-7119-f
X-MXTHUNDER-Group:  Bulk Mail

On 02/03/16 09:06, Matthew Seaman wrote:
> On 2016/02/03 14:18, William A. Mahaffey III wrote:
>> I just did a full 'pkg upgrade' on my FBSD 9.3R box, which installed the
>> newest GCC5. I also updated ports. When I used the pkg-provided GCC5, it
>> doesn't have graphite support enabled, so no auto-parallelization. When
>> I checked the port w/ make showconfig. it shows graphite enabled. I am
>> recompiling it as I write this, but I thought the pkg was/is configured
>> from the port & would have graphite enabled by default, w/ no recompile
>> needed on my part, no ? I have the various other pkg's req'd for
>> graphite support pkg-installed (& just updated this A.M.), so I thought
>> I was ready to go. Not a huge issue, but recompiling the compiler shoots
>> about an hour on my box, would be sweet to avoid that. TIA for any clues
>> & have a good one.
> Unless you've your own poudriere setup, upgrading using binary packages
> will always get you the default options for everything you install --
> what's in any ports tree or any option settings you have locally makes
> no difference.
>
> If you are using poudriere, then remember to set options using
> 'poudriere options -c some/package' -- it doesn't automatically pick up
> options you make from the ports tree.
>
> Well, not unless you've been terribly cunning and done something like
> creating a symbolic link like so:
>
> # cd /usr/local/etc/poudriere
> # mv -f options options.old
> # ln -s /var/db/ports options
>
>       Cheers,
>
>       Matthew


Thanks, I am not running poudriere, I am only using ports for gcc5-devel
to enable graphite support, everything else is pkg-maintained.


--

        William A. Mahaffey III

  ----------------------------------------------------------------------

        "The M1 Garand is without doubt the finest implement of war
         ever devised by man."
                            -- Gen. George S. Patton Jr.

_______________________________________________
freebsd-po...@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to