summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/tcltk/tcl/tcl-add-soname.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/tcltk/tcl/tcl-add-soname.patch')
-rw-r--r--meta/recipes-devtools/tcltk/tcl/tcl-add-soname.patch38
1 files changed, 19 insertions, 19 deletions
diff --git a/meta/recipes-devtools/tcltk/tcl/tcl-add-soname.patch b/meta/recipes-devtools/tcltk/tcl/tcl-add-soname.patch
index eca0a18..d3691f6 100644
--- a/meta/recipes-devtools/tcltk/tcl/tcl-add-soname.patch
+++ b/meta/recipes-devtools/tcltk/tcl/tcl-add-soname.patch
@@ -1,10 +1,10 @@
Upstream-Status: Pending
-diff --git unix.orig/configure unix/configure
-index f778a7b..25083c2 100755
---- unix.orig/configure
-+++ unix/configure
-@@ -6889,6 +6889,7 @@ fi
+Index: unix/configure
+===================================================================
+--- unix.orig/configure 2013-09-19 23:17:13.000000000 +0300
++++ unix/configure 2013-10-16 15:58:37.450136217 +0300
+@@ -6899,6 +6899,7 @@
LIBS="$LIBS -lc"
SHLIB_CFLAGS=""
SHLIB_SUFFIX=".so"
@@ -12,11 +12,19 @@ index f778a7b..25083c2 100755
DL_OBJS="tclLoadDl.o"
LD_LIBRARY_PATH_VAR="LIBPATH"
-diff --git unix.orig/tcl.m4 unix/tcl.m4
-index b13fddd..7254f66 100644
---- unix.orig/tcl.m4
-+++ unix/tcl.m4
-@@ -1408,12 +1408,15 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
+Index: unix/tcl.m4
+===================================================================
+--- unix.orig/tcl.m4 2013-09-19 23:17:13.000000000 +0300
++++ unix/tcl.m4 2013-10-16 16:18:50.719586228 +0300
+@@ -1408,6 +1408,7 @@
+ Linux*|GNU*|NetBSD-Debian)
+ SHLIB_CFLAGS="-fPIC"
+ SHLIB_SUFFIX=".so"
++ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.0'
+
+ CFLAGS_OPTIMIZE="-O2"
+ # egcs-2.91.66 on Redhat Linux 6.0 generates lots of warnings
+@@ -1415,12 +1416,15 @@
# get rid of the warnings.
#CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES"
@@ -33,15 +41,7 @@ index b13fddd..7254f66 100644
LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
AS_IF([test "`uname -m`" = "alpha"], [CFLAGS="$CFLAGS -mieee"])
AS_IF([test $do64bit = yes], [
-@@ -1439,6 +1442,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
- GNU*)
- SHLIB_CFLAGS="-fPIC"
- SHLIB_SUFFIX=".so"
-+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.0'
-
- SHLIB_LD='${CC} -shared'
- DL_OBJS=""
-@@ -2098,7 +2102,7 @@ dnl # preprocessing tests use only CPPFLAGS.
+@@ -2050,7 +2054,7 @@
AS_IF([test "${SHARED_BUILD}" = 1 -a "${SHLIB_SUFFIX}" != ""], [
LIB_SUFFIX=${SHARED_LIB_SUFFIX}
OpenPOWER on IntegriCloud