commit:     cb5b11dc1f76153067fdad889c05095768725233
Author:     Petr Vaněk <arkamar <AT> atlas <DOT> cz>
AuthorDate: Wed Mar 17 15:23:54 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Mar 18 11:07:51 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb5b11dc

www-client/surf: Respect CFLAGS and LDFLAGS

Closes: https://bugs.gentoo.org/742602
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Petr Vaněk <arkamar <AT> atlas.cz>
Closes: https://github.com/gentoo/gentoo/pull/13568
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 www-client/surf/files/surf-2.0-gentoo.patch | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www-client/surf/files/surf-2.0-gentoo.patch 
b/www-client/surf/files/surf-2.0-gentoo.patch
index 07aa6568f55..b0a7b5c8ef0 100644
--- a/www-client/surf/files/surf-2.0-gentoo.patch
+++ b/www-client/surf/files/surf-2.0-gentoo.patch
@@ -29,8 +29,8 @@
  CPPFLAGS = -DVERSION=\"${VERSION}\" -DWEBEXTDIR=\"${LIBPREFIX}\" 
-D_DEFAULT_SOURCE
 -CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
 -LDFLAGS = -s ${LIBS}
-+CFLAGS = -std=c99 -pedantic -Wall ${INCS} ${CPPFLAGS}
-+LDFLAGS = ${LIBS}
++CFLAGS += -std=c99 -pedantic -Wall ${INCS} ${CPPFLAGS}
++LDFLAGS += ${LIBS}
  
  # Solaris
  #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"

Reply via email to