[firebird] add patch to btyacc to have PIE compiler flags

Philippe Makowski makowski at fedoraproject.org
Sat Apr 27 12:17:55 UTC 2013


commit 2beaa8373d360a791e334401c6b9b28ffa5ae6d3
Author: Philippe Makowski <pmakowski at espelida.com>
Date:   Sat Apr 27 13:31:07 2013 +0200

    add patch to btyacc to have PIE compiler flags

 firebird-btyacc-fpie.patch |   11 +++++++++++
 firebird.spec              |    3 +++
 2 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/firebird-btyacc-fpie.patch b/firebird-btyacc-fpie.patch
new file mode 100644
index 0000000..e276c31
--- /dev/null
+++ b/firebird-btyacc-fpie.patch
@@ -0,0 +1,11 @@
+--- extern/btyacc/Makefile.ori	2013-03-19 09:38:04.000000000 +0100
++++ extern/btyacc/Makefile	2013-04-27 13:20:35.964379129 +0200
+@@ -12,7 +12,7 @@ HDRS	      = defs.h mstring.h
+ # across all of our supported compilers/platforms.
+ 
+ # Vanilla CFLAGS
+-CFLAGS=
++#CFLAGS=
+ 
+ # No LDFLAGS
+ #LDFLAGS=
diff --git a/firebird.spec b/firebird.spec
index e5c42c3..b1e709c 100644
--- a/firebird.spec
+++ b/firebird.spec
@@ -26,6 +26,8 @@ Source7: firebird-superserver.service
 Patch0: firebird-2.5.2-svn-CORE-3946.patch
 Patch1: firebird-2.5.2-svn-CORE-4058.patch
 
+Patch2: firebird-btyacc-fpie.patch
+
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: bison
@@ -161,6 +163,7 @@ Multi-process, local client libraries for Firebird SQL RDBMS
 %setup -q -n %{pkgname}
 %patch0
 %patch1
+%patch2
 # convert intl character to UTF-8
 iconv -f ISO-8859-1 -t utf-8 -c ./doc/README.intl     -o ./doc/README.intl
 


More information about the scm-commits mailing list