* [gentoo-commits] gentoo commit in src/patchsets/grub/0.97: 018_all_grub-0.97-config-file-chk.patch 900_all_grub-0.97-no-strict-aliasing.patch ChangeLog
@ 2012-01-06 4:54 Mike Frysinger (vapier)
0 siblings, 0 replies; only message in thread
From: Mike Frysinger (vapier) @ 2012-01-06 4:54 UTC (permalink / raw
To: gentoo-commits
vapier 12/01/06 04:54:23
Modified: ChangeLog
Added: 018_all_grub-0.97-config-file-chk.patch
900_all_grub-0.97-no-strict-aliasing.patch
Log:
fix minor build warnings
Revision Changes Path
1.11 src/patchsets/grub/0.97/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/grub/0.97/ChangeLog?rev=1.11&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/grub/0.97/ChangeLog?rev=1.11&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/grub/0.97/ChangeLog?r1=1.10&r2=1.11
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo/src/patchsets/grub/0.97/ChangeLog,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ChangeLog 6 Jan 2012 03:06:34 -0000 1.10
+++ ChangeLog 6 Jan 2012 04:54:23 -0000 1.11
@@ -1,6 +1,11 @@
# ChangeLog for grub patchset
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/patchsets/grub/0.97/ChangeLog,v 1.10 2012/01/06 03:06:34 vapier Exp $
+# $Header: /var/cvsroot/gentoo/src/patchsets/grub/0.97/ChangeLog,v 1.11 2012/01/06 04:54:23 vapier Exp $
+
+ 05 Jan 2012; Mike Frysinger <vapier@gentoo.org>
+ 018_all_grub-0.97-config-file-chk.patch,
+ 900_all_grub-0.97-no-strict-aliasing.patch:
+ Fix a few build time warnings.
05 Jan 2012; Mike Frysinger <vapier@gentoo.org>
825_all_grub-0.97-automake-pkglib.patch:
1.1 src/patchsets/grub/0.97/018_all_grub-0.97-config-file-chk.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/grub/0.97/018_all_grub-0.97-config-file-chk.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/grub/0.97/018_all_grub-0.97-config-file-chk.patch?rev=1.1&content-type=text/plain
Index: 018_all_grub-0.97-config-file-chk.patch
===================================================================
config_file is declared as an array, so checking its address is pointless
--- grub/grub/main.c
+++ grub/grub/main.c
@@ -141,10 +141,7 @@ main (int argc, char **argv)
program_name = argv[0];
default_boot_drive = boot_drive;
default_install_partition = install_partition;
- if (config_file)
- default_config_file = config_file;
- else
- default_config_file = "NONE";
+ default_config_file = config_file;
/* Parse command-line options. */
do
1.1 src/patchsets/grub/0.97/900_all_grub-0.97-no-strict-aliasing.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/grub/0.97/900_all_grub-0.97-no-strict-aliasing.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/grub/0.97/900_all_grub-0.97-no-strict-aliasing.patch?rev=1.1&content-type=text/plain
Index: 900_all_grub-0.97-no-strict-aliasing.patch
===================================================================
the grub code violates aliasing rules pretty badly, and not worth
the effort to go through the huge tree and fix code which is not
being maintained upstream
--- grub/configure.ac
+++ grub/configure.ac
@@ -124,6 +124,9 @@
fi
fi
+STAGE1_CFLAGS="$STAGE1_CFLAGS -fno-strict-aliasing"
+STAGE2_CFLAGS="$STAGE2_CFLAGS -fno-strict-aliasing"
+GRUB_CFLAGS="$GRUB_CFLAGS -fno-strict-aliasing"
AC_SUBST(STAGE1_CFLAGS)
AC_SUBST(STAGE2_CFLAGS)
AC_SUBST(GRUB_CFLAGS)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-01-06 4:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-06 4:54 [gentoo-commits] gentoo commit in src/patchsets/grub/0.97: 018_all_grub-0.97-config-file-chk.patch 900_all_grub-0.97-no-strict-aliasing.patch ChangeLog Mike Frysinger (vapier)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox