From 909ddeb56d558d858a7faaeb07bff530ec7189b2 Mon Sep 17 00:00:00 2001
From: Waldemar Brodkorb <wbx@openadk.org>
Date: Sat, 30 Jul 2011 13:53:24 +0200
Subject: disable PIE/pie CFLAGS

---
 package/cups/patches/patch-configure | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

(limited to 'package/cups')

diff --git a/package/cups/patches/patch-configure b/package/cups/patches/patch-configure
index 5b41c2edd..97243c0c9 100644
--- a/package/cups/patches/patch-configure
+++ b/package/cups/patches/patch-configure
@@ -1,5 +1,5 @@
 --- cups-1.4.4.orig/configure	2010-06-17 20:25:47.000000000 +0200
-+++ cups-1.4.4/configure	2010-10-03 01:12:27.000000000 +0200
++++ cups-1.4.4/configure	2011-07-29 16:46:45.000000000 +0200
 @@ -1966,7 +1966,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
  
  
@@ -29,3 +29,12 @@
  fi
  
  if test x$enable_debug_printfs = xyes; then
+@@ -11199,7 +11199,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
+ 	 test -z "$ac_c_werror_flag" ||
+ 	 test ! -s conftest.err
+        } && test -s conftest.$ac_objext; then
+-  PIEFLAGS="-pie -fPIE"
++  PIEFLAGS=""
+ 		{ echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6; }
+ else
-- 
cgit v1.2.3