mirror of
https://git.yoctoproject.org/poky
synced 2026-09-13 00:49:33 +02:00
meta/*: remove unnecessary patches
The following patches are found, but not used by any recipe, so we should remove them. meta/recipes-connectivity/avahi/files/fix_for_automake_1.11.2.patch meta/recipes-connectivity/dhcp/dhcp/fix-client-path.patch meta/recipes-connectivity/libnss-mdns/files/alignment-fix.patch meta/recipes-core/dbus/dbus-1.6.10/test-run-path.patch meta/recipes-core/gettext/gettext-0.16.1/fixchicken.patch meta/recipes-core/gettext/gettext-0.16.1/getline.m4.patch meta/recipes-core/systemd/systemd/use-rootlibdir.patch meta/recipes-core/util-linux/util-linux/remove-lscpu.patch meta/recipes-core/util-linux/util-linux/remove_sigsetmark.patch meta/recipes-core/util-linux/util-linux/uclibc-compile.patch meta/recipes-devtools/autoconf/autoconf/autoconf-x.patch meta/recipes-devtools/btrfs-tools/btrfs-tools/btrfs-progs-fix-parallel-build.patch meta/recipes-devtools/btrfs-tools/btrfs-tools/btrfs-progs-fix-parallel-build2.patch meta/recipes-devtools/cdrtools/cdrtools-native/no_usr_src.patch meta/recipes-devtools/elfutils/elfutils-0.155/elfutils-robustify.patch meta/recipes-devtools/gdb/gdb/libiberty-cross.patch meta/recipes-devtools/perl/perl-5.14.3/asm-pageh-fix.patch meta/recipes-devtools/python/python-native/sys_platform_is_now_always_linux2.patch meta/recipes-devtools/python/python-pygobject/generate-constants.patch meta/recipes-devtools/qemu/files/3f08ffb4a4741d147634761dc053ed386243a0de.patch meta/recipes-devtools/qemu/files/enable-i386-linux-user.patch meta/recipes-devtools/qemu/files/init-info.patch meta/recipes-devtools/rpm/rpm/rpm_fix_for_automake-1.12.patch meta/recipes-devtools/tcf-agent/tcf-agent/fix_tcf-agent.init.patch meta/recipes-extended/iputils/files/arping-break-libsysfs-dependency.patch meta/recipes-extended/libarchive/libarchive/0003-Patch-from-upstream-rev-2516.patch meta/recipes-extended/procps/procps-3.2.8/pagesz-not-constant.patch meta/recipes-gnome/gtk+/gtk+-2.24.22/no-demos.patch meta/recipes-gnome/libglade/libglade-2.6.4/no-deprecation.patch meta/recipes-graphics/mesa/mesa/0005-llvmpipe-remove-the-power-of-two-sizeof-struct-cmd_b.patch meta/recipes-graphics/xorg-lib/libxxf86dga/libxxf86dga-1.1.3_fix_for_x32.patch meta/recipes-kernel/kmod/kmod/fix-undefined-O_CLOEXEC.patch meta/recipes-kernel/linux-libc-headers/linux-libc-headers/connector-msg-size-fix.patch meta/recipes-kernel/linux/linux-yocto/tools-perf-no-scripting.patch meta/recipes-support/gnutls/gnutls/gnutls-texinfo-euro.patch meta/recipes-support/nspr/nspr/fix-build-on-aarch64.patch [YOCTO #5180] (From OE-Core rev: e5d81f757de4bd1bfd37a96300edd50b77b0d21c) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -1,38 +0,0 @@
|
||||
Upstream-Status: Pending
|
||||
|
||||
Index: lib/autoconf/libs.m4
|
||||
===================================================================
|
||||
RCS file: /cvsroot/autoconf/autoconf/lib/autoconf/libs.m4,v
|
||||
retrieving revision 1.13
|
||||
diff -p -u -r1.13 libs.m4
|
||||
--- autoconf-2.59/lib/autoconf/libs.m4 6 Sep 2005 15:34:06 -0000 1.13
|
||||
+++ autoconf-2.59/lib/autoconf/libs.m4 18 Sep 2005 17:09:58 -0000
|
||||
@@ -265,13 +265,13 @@ ac_x_header_dirs='
|
||||
/usr/openwin/share/include'
|
||||
|
||||
if test "$ac_x_includes" = no; then
|
||||
- # Guess where to find include files, by looking for Intrinsic.h.
|
||||
+ # Guess where to find include files, by looking for Xlib.h.
|
||||
# First, try using that file with no special directory specified.
|
||||
- AC_PREPROC_IFELSE([AC_LANG_SOURCE([@%:@include <X11/Intrinsic.h>])],
|
||||
+ AC_PREPROC_IFELSE([AC_LANG_SOURCE([@%:@include <X11/Xlib.h>])],
|
||||
[# We can compile using X headers with no special include directory.
|
||||
ac_x_includes=],
|
||||
[for ac_dir in $ac_x_header_dirs; do
|
||||
- if test -r "$ac_dir/X11/Intrinsic.h"; then
|
||||
+ if test -r "$ac_dir/X11/Xlib.h"; then
|
||||
ac_x_includes=$ac_dir
|
||||
break
|
||||
fi
|
||||
@@ -284,9 +284,9 @@ if test "$ac_x_libraries" = no; then
|
||||
# Don't add to $LIBS permanently.
|
||||
ac_save_LIBS=$LIBS
|
||||
- LIBS="-lXt $LIBS"
|
||||
- AC_LINK_IFELSE([AC_LANG_PROGRAM([@%:@include <X11/Intrinsic.h>],
|
||||
- [XtMalloc (0)])],
|
||||
+ LIBS="-lX11 $LIBS"
|
||||
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([@%:@include <X11/Xlib.h>],
|
||||
+ [XrmInitialize ()])],
|
||||
[LIBS=$ac_save_LIBS
|
||||
# We can link X programs with no special library path.
|
||||
ac_x_libraries=],
|
||||
@@ -1,30 +0,0 @@
|
||||
btrfs-progs: fix parallel build
|
||||
|
||||
Upstream-Status: Submitted [http://permalink.gmane.org/gmane.comp.file-systems.btrfs/28197]
|
||||
|
||||
Parallel execution of "make install" may fail due to late creation of
|
||||
version.h, fix it by adding the dependence on version.h.
|
||||
|
||||
The fix is similare to 7aaf00fc[btrfs-progs: fix parallel build]
|
||||
|
||||
Signed-off-by: Roy.Li <rongqing.li@windriver.com>
|
||||
---
|
||||
Makefile | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index c43cb68..40ef205 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -190,7 +190,7 @@ clean :
|
||||
$(libs) $(lib_links)
|
||||
$(Q)$(MAKE) $(MAKEOPTS) -C man $@
|
||||
|
||||
-install: $(libs) $(progs) install-man
|
||||
+install: version.h $(libs) $(progs) install-man
|
||||
$(INSTALL) -m755 -d $(DESTDIR)$(bindir)
|
||||
$(INSTALL) $(progs) $(DESTDIR)$(bindir)
|
||||
$(INSTALL) -m755 -d $(DESTDIR)$(libdir)
|
||||
--
|
||||
1.7.10.4
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
btrfs-progs: Fix parallel build
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
"make btrfs.o" fails unable to find version.h.
|
||||
|
||||
This adds version.h as a dependency for all .o files and fixes various parallel
|
||||
build failures.
|
||||
|
||||
RP 20/9/2013
|
||||
---
|
||||
Makefile | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
Index: git/Makefile
|
||||
===================================================================
|
||||
--- git.orig/Makefile 2013-09-20 14:45:34.307723221 +0000
|
||||
+++ git/Makefile 2013-09-20 16:06:45.503611030 +0000
|
||||
@@ -76,7 +76,7 @@
|
||||
check = true
|
||||
endif
|
||||
|
||||
-.c.o:
|
||||
+%.o: %.c version.h
|
||||
$(Q)$(check) $<
|
||||
@echo " [CC] $@"
|
||||
$(Q)$(CC) $(DEPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c $<
|
||||
@@ -1,33 +0,0 @@
|
||||
From 8d835cc7185e7cd878712d8208e6aa29b227ceff Mon Sep 17 00:00:00 2001
|
||||
From: Andrei Dinu <andrei.adrianx.dinu@intel.com>
|
||||
Date: Thu, 9 May 2013 16:03:59 +0300
|
||||
Subject: [PATCH] Remove hard-coded references to /usr/src/linux/include to
|
||||
avoid host contamination.
|
||||
|
||||
Upstream-Status: Innappropriate [configuration]
|
||||
|
||||
Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
|
||||
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
|
||||
---
|
||||
cdrtools-3.00/DEFAULTS/Defaults.gnu | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
mode change 100644 => 100755 cdrtools-3.00/DEFAULTS/Defaults.gnu
|
||||
|
||||
diff --git a/DEFAULTS/Defaults.gnu b/cdrtools-3.00/DEFAULTS/Defaults.gnu
|
||||
old mode 100644
|
||||
new mode 100755
|
||||
index e3e102b..8a18209
|
||||
--- a/DEFAULTS/Defaults.gnu
|
||||
+++ b/DEFAULTS/Defaults.gnu
|
||||
@@ -28,7 +28,7 @@ DEFLINKMODE= static
|
||||
###########################################################################
|
||||
CWARNOPTS=
|
||||
|
||||
-DEFINCDIRS= $(SRCROOT)/include /usr/src/linux/include
|
||||
+DEFINCDIRS= $(SRCROOT)/include
|
||||
LDPATH= -L/opt/schily/lib
|
||||
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR)
|
||||
RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib
|
||||
--
|
||||
1.7.9.5
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,632 +0,0 @@
|
||||
Upstream-Status: Pending
|
||||
|
||||
--- libiberty/configure.in.old 2004-03-31 21:25:25.000000000 +0100
|
||||
+++ libiberty/configure.in 2004-03-31 21:18:02.000000000 +0100
|
||||
@@ -100,6 +100,7 @@
|
||||
AC_CHECK_TOOL(RANLIB, ranlib, :)
|
||||
|
||||
LIB_AC_PROG_CC
|
||||
+AC_PROG_CC_WORKS
|
||||
|
||||
AC_PROG_CC_C_O
|
||||
# autoconf is lame and doesn't give us any substitution variable for this.
|
||||
@@ -402,7 +403,6 @@
|
||||
|
||||
# We haven't set the list of objects yet. Use the standard autoconf
|
||||
# tests. This will only work if the compiler works.
|
||||
- AC_PROG_CC_WORKS
|
||||
AC_REPLACE_FUNCS($funcs)
|
||||
libiberty_AC_FUNC_C_ALLOCA
|
||||
AC_FUNC_VFORK
|
||||
|
||||
--- libiberty/configure.old 2003-06-19 21:05:35.000000000 +0100
|
||||
+++ libiberty/configure 2004-03-31 21:35:12.000000000 +0100
|
||||
@@ -1000,13 +1000,60 @@
|
||||
fi
|
||||
|
||||
|
||||
+echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
|
||||
+echo "configure:1005: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
|
||||
+
|
||||
+ac_ext=c
|
||||
+# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
|
||||
+ac_cpp='$CPP $CPPFLAGS'
|
||||
+ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
|
||||
+ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
|
||||
+cross_compiling=$ac_cv_prog_cc_cross
|
||||
+
|
||||
+cat > conftest.$ac_ext << EOF
|
||||
+
|
||||
+#line 1016 "configure"
|
||||
+#include "confdefs.h"
|
||||
+
|
||||
+main(){return(0);}
|
||||
+EOF
|
||||
+if { (eval echo configure:1021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
+ ac_cv_prog_cc_works=yes
|
||||
+ # If we can't run a trivial program, we are probably using a cross compiler.
|
||||
+ if (./conftest; exit) 2>/dev/null; then
|
||||
+ ac_cv_prog_cc_cross=no
|
||||
+ else
|
||||
+ ac_cv_prog_cc_cross=yes
|
||||
+ fi
|
||||
+else
|
||||
+ echo "configure: failed program was:" >&5
|
||||
+ cat conftest.$ac_ext >&5
|
||||
+ ac_cv_prog_cc_works=no
|
||||
+fi
|
||||
+rm -fr conftest*
|
||||
+ac_ext=c
|
||||
+# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
|
||||
+ac_cpp='$CPP $CPPFLAGS'
|
||||
+ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
|
||||
+ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
|
||||
+cross_compiling=$ac_cv_prog_cc_cross
|
||||
+
|
||||
+echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
|
||||
+if test $ac_cv_prog_cc_works = no; then
|
||||
+ { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
|
||||
+fi
|
||||
+echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
|
||||
+echo "configure:1047: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
|
||||
+echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
|
||||
+cross_compiling=$ac_cv_prog_cc_cross
|
||||
+
|
||||
|
||||
if test "x$CC" != xcc; then
|
||||
echo $ac_n "checking whether $CC and cc understand -c and -o together""... $ac_c" 1>&6
|
||||
-echo "configure:1007: checking whether $CC and cc understand -c and -o together" >&5
|
||||
+echo "configure:1054: checking whether $CC and cc understand -c and -o together" >&5
|
||||
else
|
||||
echo $ac_n "checking whether cc understands -c and -o together""... $ac_c" 1>&6
|
||||
-echo "configure:1010: checking whether cc understands -c and -o together" >&5
|
||||
+echo "configure:1057: checking whether cc understands -c and -o together" >&5
|
||||
fi
|
||||
set dummy $CC; ac_cc="`echo $2 |
|
||||
sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`"
|
||||
@@ -1018,16 +1065,16 @@
|
||||
# We do the test twice because some compilers refuse to overwrite an
|
||||
# existing .o file with -o, though they will create one.
|
||||
ac_try='${CC-cc} -c conftest.c -o conftest.o 1>&5'
|
||||
-if { (eval echo configure:1022: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
|
||||
- test -f conftest.o && { (eval echo configure:1023: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
|
||||
+if { (eval echo configure:1069: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
|
||||
+ test -f conftest.o && { (eval echo configure:1070: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
|
||||
then
|
||||
eval ac_cv_prog_cc_${ac_cc}_c_o=yes
|
||||
if test "x$CC" != xcc; then
|
||||
# Test first that cc exists at all.
|
||||
- if { ac_try='cc -c conftest.c 1>&5'; { (eval echo configure:1028: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
|
||||
+ if { ac_try='cc -c conftest.c 1>&5'; { (eval echo configure:1075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
|
||||
ac_try='cc -c conftest.c -o conftest.o 1>&5'
|
||||
- if { (eval echo configure:1030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
|
||||
- test -f conftest.o && { (eval echo configure:1031: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
|
||||
+ if { (eval echo configure:1077: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
|
||||
+ test -f conftest.o && { (eval echo configure:1078: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
|
||||
then
|
||||
# cc works too.
|
||||
:
|
||||
@@ -1063,7 +1110,7 @@
|
||||
|
||||
|
||||
echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
|
||||
-echo "configure:1067: checking for POSIXized ISC" >&5
|
||||
+echo "configure:1114: checking for POSIXized ISC" >&5
|
||||
if test -d /etc/conf/kconfig.d &&
|
||||
grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
|
||||
then
|
||||
@@ -1084,12 +1131,12 @@
|
||||
fi
|
||||
|
||||
echo $ac_n "checking for working const""... $ac_c" 1>&6
|
||||
-echo "configure:1088: checking for working const" >&5
|
||||
+echo "configure:1135: checking for working const" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
-#line 1093 "configure"
|
||||
+#line 1140 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
int main() {
|
||||
@@ -1138,7 +1185,7 @@
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
-if { (eval echo configure:1142: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
+if { (eval echo configure:1189: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_c_const=yes
|
||||
else
|
||||
@@ -1159,21 +1206,21 @@
|
||||
fi
|
||||
|
||||
echo $ac_n "checking for inline""... $ac_c" 1>&6
|
||||
-echo "configure:1163: checking for inline" >&5
|
||||
+echo "configure:1210: checking for inline" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
ac_cv_c_inline=no
|
||||
for ac_kw in inline __inline__ __inline; do
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
-#line 1170 "configure"
|
||||
+#line 1217 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
int main() {
|
||||
} $ac_kw foo() {
|
||||
; return 0; }
|
||||
EOF
|
||||
-if { (eval echo configure:1177: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
+if { (eval echo configure:1224: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_c_inline=$ac_kw; break
|
||||
else
|
||||
@@ -1199,14 +1246,14 @@
|
||||
esac
|
||||
|
||||
echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
|
||||
-echo "configure:1203: checking whether byte ordering is bigendian" >&5
|
||||
+echo "configure:1250: checking whether byte ordering is bigendian" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
ac_cv_c_bigendian=unknown
|
||||
# See if sys/param.h defines the BYTE_ORDER macro.
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
-#line 1210 "configure"
|
||||
+#line 1257 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
@@ -1217,11 +1264,11 @@
|
||||
#endif
|
||||
; return 0; }
|
||||
EOF
|
||||
-if { (eval echo configure:1221: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
+if { (eval echo configure:1268: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
# It does; now see whether it defined to BIG_ENDIAN or not.
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
-#line 1225 "configure"
|
||||
+#line 1272 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
@@ -1232,7 +1279,7 @@
|
||||
#endif
|
||||
; return 0; }
|
||||
EOF
|
||||
-if { (eval echo configure:1236: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
+if { (eval echo configure:1283: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_c_bigendian=yes
|
||||
else
|
||||
@@ -1252,7 +1299,7 @@
|
||||
echo $ac_n "cross-compiling... " 2>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
-#line 1256 "configure"
|
||||
+#line 1303 "configure"
|
||||
#include "confdefs.h"
|
||||
main () {
|
||||
/* Are we little or big endian? From Harbison&Steele. */
|
||||
@@ -1265,7 +1312,7 @@
|
||||
exit (u.c[sizeof (long) - 1] == 1);
|
||||
}
|
||||
EOF
|
||||
-if { (eval echo configure:1269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
+if { (eval echo configure:1316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
then
|
||||
ac_cv_c_bigendian=no
|
||||
else
|
||||
@@ -1283,7 +1330,7 @@
|
||||
echo "$ac_t""$ac_cv_c_bigendian" 1>&6
|
||||
if test $ac_cv_c_bigendian = unknown; then
|
||||
echo $ac_n "checking to probe for byte ordering""... $ac_c" 1>&6
|
||||
-echo "configure:1287: checking to probe for byte ordering" >&5
|
||||
+echo "configure:1334: checking to probe for byte ordering" >&5
|
||||
|
||||
cat >conftest.c <<EOF
|
||||
short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
|
||||
@@ -1352,7 +1399,7 @@
|
||||
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
||||
# ./install, which can be erroneously created by make from ./install.sh.
|
||||
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
|
||||
-echo "configure:1356: checking for a BSD compatible install" >&5
|
||||
+echo "configure:1403: checking for a BSD compatible install" >&5
|
||||
if test -z "$INSTALL"; then
|
||||
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
@@ -1413,7 +1460,7 @@
|
||||
# able to link anything, it had better be able to at least compile
|
||||
# something.
|
||||
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
|
||||
-echo "configure:1417: checking how to run the C preprocessor" >&5
|
||||
+echo "configure:1464: checking how to run the C preprocessor" >&5
|
||||
# On Suns, sometimes $CPP names a directory.
|
||||
if test -n "$CPP" && test -d "$CPP"; then
|
||||
CPP=
|
||||
@@ -1428,13 +1475,13 @@
|
||||
# On the NeXT, cc -E runs the code through the compiler's parser,
|
||||
# not just through cpp.
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
-#line 1432 "configure"
|
||||
+#line 1479 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <assert.h>
|
||||
Syntax Error
|
||||
EOF
|
||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||
-{ (eval echo configure:1438: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
+{ (eval echo configure:1485: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
||||
if test -z "$ac_err"; then
|
||||
:
|
||||
@@ -1445,13 +1492,13 @@
|
||||
rm -rf conftest*
|
||||
CPP="${CC-cc} -E -traditional-cpp"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
-#line 1449 "configure"
|
||||
+#line 1496 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <assert.h>
|
||||
Syntax Error
|
||||
EOF
|
||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||
-{ (eval echo configure:1455: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
+{ (eval echo configure:1502: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
||||
if test -z "$ac_err"; then
|
||||
:
|
||||
@@ -1462,13 +1509,13 @@
|
||||
rm -rf conftest*
|
||||
CPP="${CC-cc} -nologo -E"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
-#line 1466 "configure"
|
||||
+#line 1513 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <assert.h>
|
||||
Syntax Error
|
||||
EOF
|
||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||
-{ (eval echo configure:1472: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
+{ (eval echo configure:1519: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
||||
if test -z "$ac_err"; then
|
||||
:
|
||||
@@ -1496,17 +1543,17 @@
|
||||
do
|
||||
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
||||
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
||||
-echo "configure:1500: checking for $ac_hdr" >&5
|
||||
+echo "configure:1547: checking for $ac_hdr" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
-#line 1505 "configure"
|
||||
+#line 1552 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <$ac_hdr>
|
||||
EOF
|
||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||
-{ (eval echo configure:1510: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
+{ (eval echo configure:1557: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
||||
if test -z "$ac_err"; then
|
||||
rm -rf conftest*
|
||||
@@ -1533,12 +1580,12 @@
|
||||
done
|
||||
|
||||
echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
|
||||
-echo "configure:1537: checking for sys/wait.h that is POSIX.1 compatible" >&5
|
||||
+echo "configure:1584: checking for sys/wait.h that is POSIX.1 compatible" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
-#line 1542 "configure"
|
||||
+#line 1589 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <sys/types.h>
|
||||
#include <sys/wait.h>
|
||||
@@ -1554,7 +1601,7 @@
|
||||
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
|
||||
; return 0; }
|
||||
EOF
|
||||
-if { (eval echo configure:1558: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
+if { (eval echo configure:1605: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_header_sys_wait_h=yes
|
||||
else
|
||||
@@ -1575,12 +1622,12 @@
|
||||
fi
|
||||
|
||||
echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
|
||||
-echo "configure:1579: checking whether time.h and sys/time.h may both be included" >&5
|
||||
+echo "configure:1626: checking whether time.h and sys/time.h may both be included" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
-#line 1584 "configure"
|
||||
+#line 1631 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <sys/types.h>
|
||||
#include <sys/time.h>
|
||||
@@ -1589,7 +1636,7 @@
|
||||
struct tm *tp;
|
||||
; return 0; }
|
||||
EOF
|
||||
-if { (eval echo configure:1593: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
+if { (eval echo configure:1640: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_header_time=yes
|
||||
else
|
||||
@@ -1611,19 +1658,19 @@
|
||||
|
||||
|
||||
echo $ac_n "checking whether errno must be declared""... $ac_c" 1>&6
|
||||
-echo "configure:1615: checking whether errno must be declared" >&5
|
||||
+echo "configure:1662: checking whether errno must be declared" >&5
|
||||
if eval "test \"`echo '$''{'libiberty_cv_declare_errno'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
-#line 1620 "configure"
|
||||
+#line 1667 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <errno.h>
|
||||
int main() {
|
||||
int x = errno;
|
||||
; return 0; }
|
||||
EOF
|
||||
-if { (eval echo configure:1627: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
+if { (eval echo configure:1674: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
libiberty_cv_declare_errno=no
|
||||
else
|
||||
@@ -1645,12 +1692,12 @@
|
||||
|
||||
|
||||
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
|
||||
-echo "configure:1649: checking for ANSI C header files" >&5
|
||||
+echo "configure:1696: checking for ANSI C header files" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
-#line 1654 "configure"
|
||||
+#line 1701 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <stdlib.h>
|
||||
#include <stdarg.h>
|
||||
@@ -1658,7 +1705,7 @@
|
||||
#include <float.h>
|
||||
EOF
|
||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||
-{ (eval echo configure:1662: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
+{ (eval echo configure:1709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
||||
if test -z "$ac_err"; then
|
||||
rm -rf conftest*
|
||||
@@ -1675,7 +1722,7 @@
|
||||
if test $ac_cv_header_stdc = yes; then
|
||||
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
-#line 1679 "configure"
|
||||
+#line 1726 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <string.h>
|
||||
EOF
|
||||
@@ -1693,7 +1740,7 @@
|
||||
if test $ac_cv_header_stdc = yes; then
|
||||
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
-#line 1697 "configure"
|
||||
+#line 1744 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <stdlib.h>
|
||||
EOF
|
||||
@@ -1714,7 +1761,7 @@
|
||||
:
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
-#line 1718 "configure"
|
||||
+#line 1765 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <ctype.h>
|
||||
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
||||
@@ -1725,7 +1772,7 @@
|
||||
exit (0); }
|
||||
|
||||
EOF
|
||||
-if { (eval echo configure:1729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
+if { (eval echo configure:1776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
then
|
||||
:
|
||||
else
|
||||
@@ -1749,12 +1796,12 @@
|
||||
fi
|
||||
|
||||
echo $ac_n "checking for uintptr_t""... $ac_c" 1>&6
|
||||
-echo "configure:1753: checking for uintptr_t" >&5
|
||||
+echo "configure:1800: checking for uintptr_t" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_type_uintptr_t'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
-#line 1758 "configure"
|
||||
+#line 1805 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <sys/types.h>
|
||||
#if STDC_HEADERS
|
||||
@@ -1790,12 +1837,12 @@
|
||||
|
||||
|
||||
echo $ac_n "checking for pid_t""... $ac_c" 1>&6
|
||||
-echo "configure:1794: checking for pid_t" >&5
|
||||
+echo "configure:1841: checking for pid_t" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
-#line 1799 "configure"
|
||||
+#line 1846 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <sys/types.h>
|
||||
#if STDC_HEADERS
|
||||
@@ -1895,12 +1942,12 @@
|
||||
realpath canonicalize_file_name
|
||||
do
|
||||
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
||||
-echo "configure:1899: checking for $ac_func" >&5
|
||||
+echo "configure:1946: checking for $ac_func" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
-#line 1904 "configure"
|
||||
+#line 1951 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char $ac_func(); below. */
|
||||
@@ -1923,7 +1970,7 @@
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
-if { (eval echo configure:1927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
+if { (eval echo configure:1974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_func_$ac_func=yes"
|
||||
else
|
||||
@@ -2152,53 +2199,6 @@
|
||||
|
||||
# We haven't set the list of objects yet. Use the standard autoconf
|
||||
# tests. This will only work if the compiler works.
|
||||
- echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
|
||||
-echo "configure:2157: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
|
||||
-
|
||||
-ac_ext=c
|
||||
-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
|
||||
-ac_cpp='$CPP $CPPFLAGS'
|
||||
-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
|
||||
-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
|
||||
-cross_compiling=$ac_cv_prog_cc_cross
|
||||
-
|
||||
-cat > conftest.$ac_ext << EOF
|
||||
-
|
||||
-#line 2168 "configure"
|
||||
-#include "confdefs.h"
|
||||
-
|
||||
-main(){return(0);}
|
||||
-EOF
|
||||
-if { (eval echo configure:2173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
- ac_cv_prog_cc_works=yes
|
||||
- # If we can't run a trivial program, we are probably using a cross compiler.
|
||||
- if (./conftest; exit) 2>/dev/null; then
|
||||
- ac_cv_prog_cc_cross=no
|
||||
- else
|
||||
- ac_cv_prog_cc_cross=yes
|
||||
- fi
|
||||
-else
|
||||
- echo "configure: failed program was:" >&5
|
||||
- cat conftest.$ac_ext >&5
|
||||
- ac_cv_prog_cc_works=no
|
||||
-fi
|
||||
-rm -fr conftest*
|
||||
-ac_ext=c
|
||||
-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
|
||||
-ac_cpp='$CPP $CPPFLAGS'
|
||||
-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
|
||||
-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
|
||||
-cross_compiling=$ac_cv_prog_cc_cross
|
||||
-
|
||||
-echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
|
||||
-if test $ac_cv_prog_cc_works = no; then
|
||||
- { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
|
||||
-fi
|
||||
-echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
|
||||
-echo "configure:2199: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
|
||||
-echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
|
||||
-cross_compiling=$ac_cv_prog_cc_cross
|
||||
-
|
||||
for ac_func in $funcs
|
||||
do
|
||||
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
||||
@@ -2900,7 +2900,7 @@
|
||||
esac
|
||||
|
||||
|
||||
-for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h
|
||||
+for ac_hdr in unistd.h
|
||||
do
|
||||
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
||||
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
||||
@@ -3032,24 +3032,11 @@
|
||||
#include <fcntl.h>
|
||||
#include <sys/mman.h>
|
||||
|
||||
-#if HAVE_SYS_TYPES_H
|
||||
-# include <sys/types.h>
|
||||
-#endif
|
||||
-
|
||||
-#if HAVE_STDLIB_H
|
||||
-# include <stdlib.h>
|
||||
-#endif
|
||||
-
|
||||
-#if HAVE_SYS_STAT_H
|
||||
-# include <sys/stat.h>
|
||||
-#endif
|
||||
-
|
||||
-#if HAVE_UNISTD_H
|
||||
-# include <unistd.h>
|
||||
-#endif
|
||||
-
|
||||
/* This mess was copied from the GNU getpagesize.h. */
|
||||
#ifndef HAVE_GETPAGESIZE
|
||||
+# ifdef HAVE_UNISTD_H
|
||||
+# include <unistd.h>
|
||||
+# endif
|
||||
|
||||
/* Assume that all systems that can run configure have sys/param.h. */
|
||||
# ifndef HAVE_SYS_PARAM_H
|
||||
@@ -3157,7 +3144,7 @@
|
||||
}
|
||||
|
||||
EOF
|
||||
-if { (eval echo configure:3161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
+if { (eval echo configure:3148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
then
|
||||
ac_cv_func_mmap_fixed_mapped=yes
|
||||
else
|
||||
@@ -3181,7 +3168,7 @@
|
||||
|
||||
|
||||
echo $ac_n "checking for working strncmp""... $ac_c" 1>&6
|
||||
-echo "configure:3185: checking for working strncmp" >&5
|
||||
+echo "configure:3172: checking for working strncmp" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_func_strncmp_works'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
@@ -3189,7 +3176,7 @@
|
||||
ac_cv_func_strncmp_works=no
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
-#line 3193 "configure"
|
||||
+#line 3180 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
/* Test by Jim Wilson and Kaveh Ghazi.
|
||||
@@ -3253,7 +3240,7 @@
|
||||
}
|
||||
|
||||
EOF
|
||||
-if { (eval echo configure:3257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
+if { (eval echo configure:3244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
then
|
||||
ac_cv_func_strncmp_works=yes
|
||||
else
|
||||
@@ -1,21 +0,0 @@
|
||||
Upstream-Status:Pending
|
||||
|
||||
Perl inclues asm/page.h in order to get the definition for getpagesize which
|
||||
has been definied in unistd.h since glibc 2.1. Some recent version of linux
|
||||
libc headers removed the asm/page.h resulting in failures here for some
|
||||
people.
|
||||
|
||||
Index: perl-5.12.3/cpan/IPC-SysV/SysV.xs
|
||||
===================================================================
|
||||
--- perl-5.12.3.orig/cpan/IPC-SysV/SysV.xs 2001-07-01 04:46:07.000000000 +1000
|
||||
+++ perl-5.12.3/cpan/IPC-SysV/SysV.xs 2001-07-01 04:46:07.000000000 +1000
|
||||
@@ -3,9 +3,6 @@
|
||||
#include "XSUB.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
-#ifdef __linux__
|
||||
-# include <asm/page.h>
|
||||
-#endif
|
||||
#if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM)
|
||||
#ifndef HAS_SEM
|
||||
# include <sys/ipc.h>
|
||||
@@ -1,28 +0,0 @@
|
||||
Upstream-Status: Accepted [http://hg.python.org/cpython/rev/c816479f6aaf/]
|
||||
Bugtracker: http://bugs.python.org/issue12326
|
||||
|
||||
[Removed "Misc/NEWS" hunk]
|
||||
|
||||
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
|
||||
|
||||
# HG changeset patch
|
||||
# User Victor Stinner <victor.stinner@haypocalc.com>
|
||||
# Date 1313841758 -7200
|
||||
# Node ID c816479f6aaf71dbd3f3fe4b239186d60c55ce48
|
||||
# Parent 3e093590ac57fdda428c7da3f72ddf0c475ecf2b
|
||||
Issue #12326: sys.platform is now always 'linux2' on Linux
|
||||
|
||||
Even if Python is compiled on Linux 3.
|
||||
|
||||
diff --git a/configure.in b/configure.in
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -293,6 +293,7 @@ then
|
||||
MACHDEP="$ac_md_system$ac_md_release"
|
||||
|
||||
case $MACHDEP in
|
||||
+ linux*) MACHDEP="linux2";;
|
||||
cygwin*) MACHDEP="cygwin";;
|
||||
darwin*) MACHDEP="darwin";;
|
||||
atheos*) MACHDEP="atheos";;
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
Upstream-Status: Pending
|
||||
|
||||
Index: pygobject-2.14.2/gobject/Makefile.am
|
||||
===================================================================
|
||||
--- pygobject-2.14.2.orig/gobject/Makefile.am
|
||||
+++ pygobject-2.14.2/gobject/Makefile.am
|
||||
@@ -21,11 +21,11 @@ if PLATFORM_WIN32
|
||||
common_ldflags += -no-undefined
|
||||
endif
|
||||
|
||||
-constants.py: generate-constants$(EXEEXT) constants.py.in
|
||||
+constants.py: constants.py.in
|
||||
rm -f constants.py
|
||||
cp $(srcdir)/constants.py.in constants.py
|
||||
chmod 644 constants.py
|
||||
- $(top_builddir)/gobject/generate-constants$(EXEEXT) >> constants.py
|
||||
+ gobject-generate-constants$(EXEEXT) >> constants.py
|
||||
chmod 444 constants.py
|
||||
|
||||
generate_constants_CFLAGS = $(GLIB_CFLAGS)
|
||||
@@ -1,42 +0,0 @@
|
||||
Upstream-Status: Backport
|
||||
|
||||
[Appears to fix the random segfaults we were seeing in a variety of architectures:
|
||||
https://bugzilla.yoctoproject.org/show_bug.cgi?id=4216 ]
|
||||
|
||||
|
||||
From: Yeongkyoon Lee <yeongkyoon.lee@samsung.com>
|
||||
Date: Fri, 22 Mar 2013 12:50:17 +0000 (+0900)
|
||||
Subject: tcg: Fix occasional TCG broken problem when ldst optimization enabled
|
||||
X-Git-Url: http://git.qemu.org/?p=qemu.git;a=commitdiff_plain;h=52ae646d4a3ebdcdcc973492c6a56f2c49b6578f;hp=3f08ffb4a4741d147634761dc053ed386243a0de
|
||||
|
||||
tcg: Fix occasional TCG broken problem when ldst optimization enabled
|
||||
|
||||
is_tcg_gen_code() checks the upper limit of TCG generated code range wrong, so
|
||||
that TCG could get broken occasionally only when CONFIG_QEMU_LDST_OPTIMIZATION
|
||||
enabled. The reason is code_gen_buffer_max_size does not cover the upper range
|
||||
up to (TCG_MAX_OP_SIZE * OPC_BUF_SIZE), thus code_gen_buffer_max_size should be
|
||||
modified to code_gen_buffer_size.
|
||||
|
||||
CC: qemu-stable@nongnu.org
|
||||
Signed-off-by: Yeongkyoon Lee <yeongkyoon.lee@samsung.com>
|
||||
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
|
||||
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
|
||||
---
|
||||
|
||||
Index: qemu-1.4.0/translate-all.c
|
||||
===================================================================
|
||||
--- qemu-1.4.0.orig/translate-all.c 2013-04-09 10:58:19.000000000 +0000
|
||||
+++ qemu-1.4.0/translate-all.c 2013-04-09 10:58:34.783203406 +0000
|
||||
@@ -1310,10 +1310,10 @@
|
||||
/* check whether the given addr is in TCG generated code buffer or not */
|
||||
bool is_tcg_gen_code(uintptr_t tc_ptr)
|
||||
{
|
||||
- /* This can be called during code generation, code_gen_buffer_max_size
|
||||
+ /* This can be called during code generation, code_gen_buffer_size
|
||||
is used instead of code_gen_ptr for upper boundary checking */
|
||||
return (tc_ptr >= (uintptr_t)code_gen_buffer &&
|
||||
- tc_ptr < (uintptr_t)(code_gen_buffer + code_gen_buffer_max_size));
|
||||
+ tc_ptr < (uintptr_t)(code_gen_buffer + code_gen_buffer_size));
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -1,55 +0,0 @@
|
||||
Enable i386-linux-user
|
||||
|
||||
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
|
||||
|
||||
Upstream-Status: Inappropriate [configuration]
|
||||
|
||||
Index: qemu-0.14.0/Makefile.target
|
||||
===================================================================
|
||||
--- qemu-0.14.0.orig/Makefile.target
|
||||
+++ qemu-0.14.0/Makefile.target
|
||||
@@ -78,8 +78,13 @@ ifeq ($(TARGET_BASE_ARCH), i386)
|
||||
libobj-y += cpuid.o
|
||||
endif
|
||||
libobj-$(CONFIG_NEED_MMU) += mmu.o
|
||||
+ifndef CONFIG_LINUX_USER
|
||||
libobj-$(TARGET_I386) += helper_opengl.o opengl_exec.o
|
||||
libobj-$(TARGET_X86_64) += helper_opengl.o opengl_exec.o
|
||||
+else
|
||||
+libobj-$(TARGET_I386) += dummygl.o
|
||||
+libobj-$(TARGET_X86_64) += dummygl.o
|
||||
+endif #CONFIG_LINUX_USER
|
||||
libobj-$(TARGET_ARM) += dummygl.o
|
||||
libobj-$(TARGET_MIPS) += dummygl.o
|
||||
libobj-$(TARGET_PPC) += dummygl.o
|
||||
Index: qemu-0.14.0/target-i386/dummygl.c
|
||||
===================================================================
|
||||
--- /dev/null
|
||||
+++ qemu-0.14.0/target-i386/dummygl.c
|
||||
@@ -0,0 +1,26 @@
|
||||
+#include <string.h>
|
||||
+#include <stdlib.h>
|
||||
+#include <assert.h>
|
||||
+#include <stdint.h>
|
||||
+#include <X11/Xlib.h>
|
||||
+#include <X11/Xutil.h>
|
||||
+
|
||||
+void opengl_exec_set_parent_window(Display* _dpy, Window _parent_window)
|
||||
+{
|
||||
+
|
||||
+}
|
||||
+
|
||||
+void opengl_process_enable(void)
|
||||
+{
|
||||
+
|
||||
+}
|
||||
+
|
||||
+
|
||||
+void mem_opengl(uint64_t ptr)
|
||||
+{
|
||||
+
|
||||
+}
|
||||
+
|
||||
+void helper_opengl(void)
|
||||
+{
|
||||
+}
|
||||
@@ -1,18 +0,0 @@
|
||||
# This is a workaround to the crashes seen on Ubuntu. Setting info to zero
|
||||
# makes info.info.x11.display zero and avoids the calls to
|
||||
# opengl_exec_set_parent_window, one of which is crashing.
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Index: qemu-0.14.0/ui/sdl.c
|
||||
===================================================================
|
||||
--- qemu-0.14.0.orig/ui/sdl.c
|
||||
+++ qemu-0.14.0/ui/sdl.c
|
||||
@@ -863,6 +863,7 @@ void sdl_display_init(DisplayState *ds,
|
||||
vi = SDL_GetVideoInfo();
|
||||
host_format = *(vi->vfmt);
|
||||
|
||||
+ bzero(&info, sizeof(info));
|
||||
SDL_GetWMInfo(&info);
|
||||
if (info.subsystem == SDL_SYSWM_X11 && info.info.x11.display)
|
||||
opengl_exec_set_parent_window(info.info.x11.display,
|
||||
@@ -1,21 +0,0 @@
|
||||
Upstream-Status: 2012/05/02
|
||||
|
||||
automake 1.12 has depricated automatic de-ANSI-fication.
|
||||
|
||||
fix this issue:
|
||||
| configure.ac:564: error: automatic de-ANSI-fication support has been removed
|
||||
|
||||
Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
|
||||
2012/05/02
|
||||
Index: rpm-5.4.0/configure.ac
|
||||
===================================================================
|
||||
--- rpm-5.4.0.orig/configure.ac
|
||||
+++ rpm-5.4.0/configure.ac
|
||||
@@ -561,7 +561,6 @@ dnl # platform specific checks
|
||||
AC_SEARCH_LIBS([strerror],[cposix])
|
||||
|
||||
dnl # standard checks
|
||||
-AM_C_PROTOTYPES
|
||||
AC_C_INLINE
|
||||
AC_C_BIGENDIAN
|
||||
|
||||
@@ -1,96 +0,0 @@
|
||||
Upstream-Status: Inappropriate [poky-specific script]
|
||||
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -64,7 +64,7 @@
|
||||
install -d -m 755 $(INSTALLROOT)$(INCLUDE)/tcf/services
|
||||
install -c $(BINDIR)/agent -m 755 $(INSTALLROOT)$(SBIN)/tcf-agent
|
||||
install -c $(BINDIR)/client -m 755 $(INSTALLROOT)$(SBIN)/tcf-client
|
||||
- install -c main/tcf-agent.init -m 755 $(INSTALLROOT)$(INIT)/tcf-agent
|
||||
+ install -c tcf-agent.init -m 755 $(INSTALLROOT)$(INIT)/tcf-agent
|
||||
install -c config.h -m 755 $(INSTALLROOT)$(INCLUDE)/tcf/config.h
|
||||
install -c -t $(INSTALLROOT)$(INCLUDE)/tcf/framework -m 644 framework/*.h
|
||||
install -c -t $(INSTALLROOT)$(INCLUDE)/tcf/services -m 644 services/*.h
|
||||
--- /dev/null
|
||||
+++ b/tcf-agent.init
|
||||
@@ -0,0 +1,80 @@
|
||||
+#!/bin/sh
|
||||
+### BEGIN INIT INFO
|
||||
+# Provides: tcf-agent
|
||||
+# Default-Start: 3 5
|
||||
+# Default-Stop: 0 1 2 6
|
||||
+# Short-Description: Target Communication Framework agent
|
||||
+### END INIT INFO
|
||||
+
|
||||
+DAEMON_PATH=/usr/sbin/tcf-agent
|
||||
+DAEMON_NAME=`basename $DAEMON_PATH`
|
||||
+
|
||||
+. /etc/init.d/functions
|
||||
+
|
||||
+test -x $DAEMON_PATH || exit 0
|
||||
+
|
||||
+PATH=/sbin:/usr/sbin:/bin:/usr/bin
|
||||
+export PATH
|
||||
+
|
||||
+RETVAL=0
|
||||
+
|
||||
+case "$1" in
|
||||
+ start)
|
||||
+ echo -n "Starting $DAEMON_NAME: "
|
||||
+ $DAEMON_PATH -d -L- -l0
|
||||
+ RETVAL=$?
|
||||
+ if [ $RETVAL -eq 0 ] ; then
|
||||
+ echo "OK"
|
||||
+ touch /var/lock/subsys/$DAEMON_NAME
|
||||
+ else
|
||||
+ echo "FAIL"
|
||||
+ fi
|
||||
+ ;;
|
||||
+
|
||||
+ stop)
|
||||
+ echo -n "Stopping $DAEMON_NAME: "
|
||||
+ count=0
|
||||
+ pid=$(/bin/pidof $DAEMON_PATH)
|
||||
+ while [ -n "`/bin/pidof $DAEMON_PATH`" -a $count -lt 10 ] ; do
|
||||
+ kill $pid > /dev/null 2>&1
|
||||
+ sleep 1
|
||||
+ RETVAL=$?
|
||||
+ if [ $RETVAL != 0 -o -n "`/bin/pidof $DAEMON_PATH`" ] ; then
|
||||
+ sleep 3
|
||||
+ fi
|
||||
+ count=`expr $count + 1`
|
||||
+ pid=$(/bin/pidof $DAEMON_PATH)
|
||||
+ done
|
||||
+ rm -f /var/lock/subsys/$DAEMON_NAME
|
||||
+ if [ -n "`/bin/pidof $DAEMON_PATH`" ] ; then
|
||||
+ echo "FAIL"
|
||||
+ else
|
||||
+ echo "OK"
|
||||
+ fi
|
||||
+ ;;
|
||||
+
|
||||
+ restart)
|
||||
+ $0 stop
|
||||
+ sleep 1
|
||||
+ $0 start
|
||||
+ ;;
|
||||
+
|
||||
+ status)
|
||||
+ if [ -n "`/bin/pidof $DAEMON_PATH`" ] ; then
|
||||
+ echo "$DAEMON_NAME is running"
|
||||
+ else
|
||||
+ echo "$DAEMON_NAME is not running"
|
||||
+ fi
|
||||
+ ;;
|
||||
+
|
||||
+ condrestart)
|
||||
+ [ -f /var/lock/subsys/$DAEMON_NAME ] && $0 restart
|
||||
+ ;;
|
||||
+
|
||||
+ *)
|
||||
+ echo "usage: $0 { start | stop | restart | condrestart | status }"
|
||||
+ ;;
|
||||
+esac
|
||||
+
|
||||
+exit $RETVAL
|
||||
+
|
||||
Reference in New Issue
Block a user