public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-im/kadu/files: kadu-0.6.0.2-kill-strip.patch
@ 2009-02-04 17:21 Robert Buchholz (rbu)
  0 siblings, 0 replies; only message in thread
From: Robert Buchholz (rbu) @ 2009-02-04 17:21 UTC (permalink / raw
  To: gentoo-commits

rbu         09/02/04 17:21:28

  Added:                kadu-0.6.0.2-kill-strip.patch
  Log:
    Do allow building against internal libgadu, remove USE flag. This solves bug
    #256509 (file collision), bug #247990 (internal library copy) and security bug
    #244888 (buffer overread in libgadu). Do not strip binaries (bug #251995).
  (Portage version: 2.1.6.7/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  net-im/kadu/files/kadu-0.6.0.2-kill-strip.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/kadu/files/kadu-0.6.0.2-kill-strip.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/kadu/files/kadu-0.6.0.2-kill-strip.patch?rev=1.1&content-type=text/plain

Index: kadu-0.6.0.2-kill-strip.patch
===================================================================
From 7ccbae5f87973acf551c943488c93c89ebef6f96 Mon Sep 17 00:00:00 2001
From: Robert Buchholz <rbu@goodpoint.de>
Date: Wed, 4 Feb 2009 17:26:46 +0100
Subject: [PATCH] Kill -s CFLAG for regular build

Binaries are stripped using "make install-strip" and not during compile.
---
 configure.ac |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/configure.ac b/configure.ac
index 0f32cfe..30df316 100644
--- a/configure.ac
+++ b/configure.ac
@@ -802,10 +802,6 @@ if test "$enable_debug" = "yes"; then
 	CXXFLAGS="$CXXFLAGS -ggdb"
 	CFLAGS="$CFLAGS -ggdb"
 	libgadu_CFLAGS="$CFLAGS -ggdb"
-else
-	CXXFLAGS="$CXXFLAGS -s"
-	CFLAGS="$CFLAGS -s"
-	libgadu_CFLAGS="$CFLAGS -s"
 fi
 
 
@@ -820,10 +816,6 @@ if test -z "$enable_macosx"; then
 	SHARED_FLAGS=
 fi
 if test "$enable_macosx" = "yes"; then
-	# -s kills dynamic modules
-	CXXFLAGS="`echo $CXXFLAGS | sed 's/ -s//'`"
-	CFLAGS="`echo $CFLAGS | sed 's/ -s//'`"
-
 	LDFLAGS="$LDFLAGS -framework Carbon -framework QuickTime -lz -framework OpenGL -framework AGL"
 	DYNAMIC_OPT="-dynamic"
 	SO_EXT="dylib"
-- 
1.6.0.6







^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-02-04 17:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-04 17:21 [gentoo-commits] gentoo-x86 commit in net-im/kadu/files: kadu-0.6.0.2-kill-strip.patch Robert Buchholz (rbu)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox