File xemacs-21.5.27-no-expdyn-ia64-106744.patch of Package xemacs

--- xemacs-21.5.27/aclocal.m4~	2006-03-28 18:55:49.000000000 +0300
+++ xemacs-21.5.27/aclocal.m4	2007-01-04 00:34:57.000000000 +0200
@@ -549,11 +549,12 @@
 dnl usually need to be prefix with ${wl} or some other such thing.
 dnl
 
-if test "$xe_gnu_ld" = yes; then
-  if test "$ld_shlibs" = yes; then
-    ld_dynamic_link_flags="${wl}-export-dynamic"
-  fi
-fi
+dnl dnl avoid -export-dynamic on ia64
+dnl if test "$xe_gnu_ld" = yes; then
+dnl   if test "$ld_shlibs" = yes; then
+dnl     ld_dynamic_link_flags="${wl}-export-dynamic"
+dnl   fi
+dnl fi
 
 if test -z "$ld_dynamic_link_flags"; then
   case "$xehost_os" in
--- xemacs-21.5.27/configure~	2006-05-16 07:16:04.000000000 +0300
+++ xemacs-21.5.27/configure	2007-01-04 00:34:35.000000000 +0200
@@ -22928,11 +22928,6 @@
 fi # End of if cc_produces_so = no
 
 
-if test "$xe_gnu_ld" = yes; then
-  if test "$ld_shlibs" = yes; then
-    ld_dynamic_link_flags="${wl}-export-dynamic"
-  fi
-fi
 
 if test -z "$ld_dynamic_link_flags"; then
   case "$xehost_os" in
openSUSE Build Service is sponsored by