Some idiot reflowed the sdl test, thus making sure it breaks with gcc3

This commit is contained in:
espie 2003-12-29 13:52:19 +00:00
parent 8e9e8ccb93
commit cc269f5e63
3 changed files with 72 additions and 0 deletions

View File

@ -0,0 +1,24 @@
$OpenBSD: patch-acinclude_m4,v 1.1 2003/12/29 13:52:19 espie Exp $
--- acinclude.m4.orig 2003-12-29 14:44:54.000000000 +0100
+++ acinclude.m4 2003-12-29 14:47:06.000000000 +0100
@@ -110,16 +110,12 @@ int main (int argc, char *argv[])
}
else
{
- printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the
-minimum version\n", $sdl_major_version, $sdl_minor_version,
+ printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version,
$sdl_micro_version);
- printf("*** of SDL required is %d.%d.%d. If sdl-config is correct,
-then it is\n", major, minor, micro);
+ printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
printf("*** best to upgrade to the required version.\n");
- printf("*** If sdl-config was wrong, set the environment variable
-SDL_CONFIG\n");
- printf("*** to point to the correct copy of sdl-config, and remove
-the file\n");
+ printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
+ printf("*** to point to the correct copy of sdl-config, and remove the file\n");
printf("*** config.cache before re-running configure\n");
return 1;
}

View File

@ -0,0 +1,24 @@
$OpenBSD: patch-aclocal_m4,v 1.1 2003/12/29 13:52:19 espie Exp $
--- aclocal.m4.orig 2003-12-29 14:44:54.000000000 +0100
+++ aclocal.m4 2003-12-29 14:46:47.000000000 +0100
@@ -122,16 +122,12 @@ int main (int argc, char *argv[])
}
else
{
- printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the
-minimum version\n", $sdl_major_version, $sdl_minor_version,
+ printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version,
$sdl_micro_version);
- printf("*** of SDL required is %d.%d.%d. If sdl-config is correct,
-then it is\n", major, minor, micro);
+ printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
printf("*** best to upgrade to the required version.\n");
- printf("*** If sdl-config was wrong, set the environment variable
-SDL_CONFIG\n");
- printf("*** to point to the correct copy of sdl-config, and remove
-the file\n");
+ printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
+ printf("*** to point to the correct copy of sdl-config, and remove the file\n");
printf("*** config.cache before re-running configure\n");
return 1;
}

View File

@ -0,0 +1,24 @@
$OpenBSD: patch-configure,v 1.3 2003/12/29 13:52:19 espie Exp $
--- configure.orig 2003-12-29 14:44:54.000000000 +0100
+++ configure 2003-12-29 14:46:22.000000000 +0100
@@ -1258,16 +1258,12 @@ int main (int argc, char *argv[])
}
else
{
- printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the
-minimum version\n", $sdl_major_version, $sdl_minor_version,
+ printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version,
$sdl_micro_version);
- printf("*** of SDL required is %d.%d.%d. If sdl-config is correct,
-then it is\n", major, minor, micro);
+ printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
printf("*** best to upgrade to the required version.\n");
- printf("*** If sdl-config was wrong, set the environment variable
-SDL_CONFIG\n");
- printf("*** to point to the correct copy of sdl-config, and remove
-the file\n");
+ printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
+ printf("*** to point to the correct copy of sdl-config, and remove the file\n");
printf("*** config.cache before re-running configure\n");
return 1;
}