components/automake/automake-1.11.2/patches/fix-tests.patch
author Stephen Gaul Jr <steve.gaul@oracle.com>
Fri, 24 Jun 2016 11:30:54 -0700
changeset 6279 b8986042dd84
parent 1849 039e7d9ae82b
permissions -rw-r--r--
PSARC/2016/217 Smartcard Reintroduction PSARC/2016/232 CACkey Smartcard PKCS#11 provider 22822476 Add CACKey v0.7.4 to Userland consolidation
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1849
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     1
# Changes to fix "gmake test" failures.
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     2
#
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     3
# There are three known failures:
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     4
#
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     5
# FAIL: instspc.test
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     6
# FAIL: silent-many-gcc.test
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     7
# FAIL: silent-many-generic.test
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     8
#
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     9
# For instspc:
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    10
# The Korn shell doesn't seem to like a directory called "...". Fixed by
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    11
# using bash. See CR #18633442 for more details.
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    12
#
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    13
# For silent-many-gcc and silent-many-generic:
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    14
# Linking against the libfl.so library when you don't have a yylex() routine
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    15
# causes an Undefined Symbol error. See CR #18620525 for more details.
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    16
#
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    17
# These patches will not be submitted upstream because they are workarounds
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    18
# for broken versions of flex and ksh93 on Solaris. It will be up to those
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    19
# two component owners to determine if they need to submit their fixes upstream.
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    20
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    21
--- automake-1.11.2/tests/instspc.test.orig	2014-04-18 14:51:51.287627135 -0700
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    22
+++ automake-1.11.2/tests/instspc.test	2014-04-21 14:46:54.459937549 -0700
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    23
@@ -1,4 +1,4 @@
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    24
-#! /bin/sh
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    25
+#! /bin/bash
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    26
 # Copyright (C) 2004, 2005, 2011 Free Software Foundation, Inc.
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    27
 #
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    28
 # This program is free software; you can redistribute it and/or modify
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    29
--- automake-1.11.2/tests/silent-many-gcc.test.orig	2014-04-18 09:10:39.993584044 -0700
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    30
+++ automake-1.11.2/tests/silent-many-gcc.test	2014-04-18 11:33:41.312452525 -0700
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    31
@@ -121,6 +121,7 @@
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    32
 SUBDIRS = sub
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    33
 AM_YFLAGS = -d
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    34
 LDADD = $(LEXLIB)
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    35
+bar_LDADD =
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    36
 BUILT_SOURCES = foo6.h
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    37
 EOF
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    38
 
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    39
@@ -136,6 +137,7 @@
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    40
 ba2_FCFLAGS = $(AM_FCFLAGS)
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    41
 AM_YFLAGS = -d
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    42
 LDADD = $(LEXLIB)
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    43
+bla_LDADD =
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    44
 BUILT_SOURCES = baz6.h
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    45
 EOF
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    46
 
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    47
--- automake-1.11.2/tests/silent-many-generic.test.orig	2014-04-18 09:11:13.481486031 -0700
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    48
+++ automake-1.11.2/tests/silent-many-generic.test	2014-04-18 11:36:09.225575076 -0700
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    49
@@ -123,6 +123,7 @@
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    50
 SUBDIRS = sub
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    51
 AM_YFLAGS = -d
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    52
 LDADD = $(LEXLIB)
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    53
+bar_LDADD =
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    54
 BUILT_SOURCES = foo6.h
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    55
 EOF
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    56
 
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    57
@@ -138,6 +139,7 @@
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    58
 ba2_FCFLAGS = $(AM_FCFLAGS)
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    59
 AM_YFLAGS = -d
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    60
 LDADD = $(LEXLIB)
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    61
+bla_LDADD =
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    62
 BUILT_SOURCES = baz6.h
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    63
 EOF
039e7d9ae82b 15941131 automake "gmake test" failures
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    64