aboutsummaryrefslogtreecommitdiffstats
path: root/main/cups/cups-nostrip.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/cups/cups-nostrip.patch')
-rw-r--r--main/cups/cups-nostrip.patch42
1 files changed, 21 insertions, 21 deletions
diff --git a/main/cups/cups-nostrip.patch b/main/cups/cups-nostrip.patch
index 62b3ce23449..f689368e770 100644
--- a/main/cups/cups-nostrip.patch
+++ b/main/cups/cups-nostrip.patch
@@ -1,29 +1,28 @@
diff -ru a/config-scripts/cups-compiler.m4 b/config-scripts/cups-compiler.m4
--- a/config-scripts/cups-compiler.m4 2020-04-27 14:04:29.000000000 -0400
+++ b/config-scripts/cups-compiler.m4 2021-08-06 20:53:29.316010169 -0400
-@@ -9,9 +9,6 @@
+@@ -11,9 +11,6 @@
dnl Clear the debugging and non-shared library options unless the user asks
dnl for them...
-INSTALL_STRIP=""
-AC_SUBST(INSTALL_STRIP)
-
- AC_ARG_WITH(optim, [ --with-optim set optimization flags ],
- OPTIM="$withval",
- OPTIM="")
-@@ -25,8 +22,6 @@
- dnl For debugging, keep symbols, otherwise strip them...
- if test x$enable_debug = xyes -a "x$OPTIM" = x; then
- OPTIM="-g"
--else
-- INSTALL_STRIP="-s"
- fi
+ AC_ARG_WITH([optim], AS_HELP_STRING([--with-optim], [set optimization flags]), [
+ OPTIM="$withval"
+ ], [
+@@ -31,7 +28,6 @@
+ AS_IF([test x$enable_debug = xyes -a "x$OPTIM" = x], [
+ OPTIM="-g"
+ ], [
+- INSTALL_STRIP="-s"
+ ])
dnl Debug printfs can slow things down, so provide a separate option for that
diff -ru a/configure b/configure
--- a/configure 2020-04-27 14:04:29.000000000 -0400
+++ b/configure 2021-08-06 20:54:01.585892266 -0400
-@@ -694,7 +694,6 @@
+@@ -726,7 +726,6 @@
ARCHFLAGS
UNITTESTS
OPTIM
@@ -31,7 +30,7 @@ diff -ru a/configure b/configure
LIBTOOL_INSTALL
LIBTOOL_CXX
LIBTOOL_CC
-@@ -6662,7 +6661,6 @@
+@@ -7902,7 +7901,6 @@
@@ -39,19 +38,21 @@ diff -ru a/configure b/configure
-@@ -6698,8 +6696,6 @@
+@@ -7956,10 +7954,6 @@
+
+ OPTIM="-g"
- if test x$enable_debug = xyes -a "x$OPTIM" = x; then
- OPTIM="-g"
--else
-- INSTALL_STRIP="-s"
+-else $as_nop
+-
+- INSTALL_STRIP="-s"
+-
fi
- if test x$enable_debug_printfs = xyes; then
+ if test x$enable_debug_printfs = xyes
diff -ru a/Makedefs.in b/Makedefs.in
--- a/Makedefs.in 2020-04-27 14:04:29.000000000 -0400
+++ b/Makedefs.in 2021-08-06 20:53:42.565961754 -0400
-@@ -45,12 +45,12 @@
+@@ -46,12 +46,12 @@
# Installation programs...
#
@@ -65,4 +66,3 @@ diff -ru a/Makedefs.in b/Makedefs.in
+INSTALL_LIB = @LIBTOOL_INSTALL@ $(INSTALL) -c -m @CUPS_EXE_FILE_PERM@
INSTALL_MAN = $(INSTALL) -c -m 444
INSTALL_SCRIPT = $(INSTALL) -c -m @CUPS_EXE_FILE_PERM@
-