vapier 14/11/08 09:53:34
Modified: acct-6.6.1-cross-compile.patch
acct-6.6.1-no-gets.patch
Log:
Restore proper documentation in patches.
Revision Changes Path
1.2 sys-process/acct/files/acct-6.6.1-cross-compile.patch
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/acct/files/acct-6.6.1-cross-compile.patch?rev=1.2&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/acct/files/acct-6.6.1-cross-compile.patch?rev=1.2&content-type=text/plain
diff :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/acct/files/acct-6.6.1-cross-compile.patch?r1=1.1&r2=1.2
Index: acct-6.6.1-cross-compile.patch
===================================================================
RCS file:
/var/cvsroot/gentoo-x86/sys-process/acct/files/acct-6.6.1-cross-compile.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- acct-6.6.1-cross-compile.patch 10 Oct 2013 19:18:36 -0000 1.1
+++ acct-6.6.1-cross-compile.patch 8 Nov 2014 09:53:34 -0000 1.2
@@ -1,6 +1,19 @@
-diff -uNr acct-6.6.1.ORIG/configure.ac acct-6.6.1/configure.ac
---- acct-6.6.1.ORIG/configure.ac 2013-10-10 20:00:31.581225736 +0100
-+++ acct-6.6.1/configure.ac 2013-10-10 20:03:42.393231583 +0100
+https://savannah.gnu.org/patch/?7473
+
+From 8958c3cb7b77ec50d8dae0490d8c80dee798e20d Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= <[email protected]>
+Date: Fri, 18 Feb 2011 06:13:20 +0100
+Subject: [PATCH] Don't generate files.h at build-time using an execution test.
+
+The *_LOC variables are never used in the build itself, but only in the
+built code; this means that they don't need to be known to ./configure at
+all.
+
+Since the previous method made acct not cross-compilable at all, this is
+much preferred.
+
+--- acct-6.6.1/configure.ac
++++ acct-6.6.1/configure.ac
@@ -228,102 +228,6 @@
AC_EGREP_HEADER([comp_t],[sys/acct.h],[AC_DEFINE(HAVE_COMP_T,
1, Define if <sys/acct.h> uses the COMP_T type.)])
) ]
@@ -118,9 +131,8 @@
-AC_CONFIG_FILES([Makefile lib/Makefile files.h version.h])
+AC_CONFIG_FILES([Makefile lib/Makefile version.h])
AC_OUTPUT
-diff -uNr acct-6.6.1.ORIG/files.h acct-6.6.1/files.h
---- acct-6.6.1.ORIG/files.h 1970-01-01 01:00:00.000000000 +0100
-+++ acct-6.6.1/files.h 2013-10-10 20:01:36.314227720 +0100
+--- acct-6.6.1/files.h
++++ acct-6.6.1/files.h
@@ -0,0 +1,123 @@
+/* files.h
+ *
@@ -245,9 +257,8 @@
+#endif
+
+#endif /* ! FILES_H */
-diff -uNr acct-6.6.1.ORIG/files.h.in acct-6.6.1/files.h.in
---- acct-6.6.1.ORIG/files.h.in 2013-10-10 20:00:31.584225736 +0100
-+++ acct-6.6.1/files.h.in 1970-01-01 01:00:00.000000000 +0100
+--- acct-6.6.1/files.h.in
++++ acct-6.6.1/files.h.in
@@ -1,48 +0,0 @@
-/* files.h.in
- *
@@ -297,9 +308,8 @@
-#endif
-
-#endif /* ! FILES_H */
-diff -uNr acct-6.6.1.ORIG/Makefile.am acct-6.6.1/Makefile.am
---- acct-6.6.1.ORIG/Makefile.am 2013-10-10 20:00:31.585225736 +0100
-+++ acct-6.6.1/Makefile.am 2013-10-10 20:01:36.313227720 +0100
+--- acct-6.6.1/Makefile.am
++++ acct-6.6.1/Makefile.am
@@ -66,11 +66,6 @@
SYS_AC = @SYS_AC@
SYS_SA = @SYS_SA@
1.2 sys-process/acct/files/acct-6.6.1-no-gets.patch
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/acct/files/acct-6.6.1-no-gets.patch?rev=1.2&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/acct/files/acct-6.6.1-no-gets.patch?rev=1.2&content-type=text/plain
diff :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/acct/files/acct-6.6.1-no-gets.patch?r1=1.1&r2=1.2
Index: acct-6.6.1-no-gets.patch
===================================================================
RCS file:
/var/cvsroot/gentoo-x86/sys-process/acct/files/acct-6.6.1-no-gets.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- acct-6.6.1-no-gets.patch 10 Oct 2013 19:18:36 -0000 1.1
+++ acct-6.6.1-no-gets.patch 8 Nov 2014 09:53:34 -0000 1.2
@@ -1,6 +1,17 @@
-diff -uNr acct-6.6.1.ORIG/lib/stdio.in.h acct-6.6.1/lib/stdio.in.h
---- acct-6.6.1.ORIG/lib/stdio.in.h 2013-10-10 20:06:21.740236465 +0100
-+++ acct-6.6.1/lib/stdio.in.h 2013-10-10 20:08:09.969239782 +0100
+hack until acct pulls a newer gnulib version
+
+From 66712c23388e93e5c518ebc8515140fa0c807348 Mon Sep 17 00:00:00 2001
+From: Eric Blake <[email protected]>
+Date: Thu, 29 Mar 2012 13:30:41 -0600
+Subject: [PATCH] stdio: don't assume gets any more
+
+Gnulib intentionally does not have a gets module, and now that C11
+and glibc have dropped it, we should be more proactive about warning
+any user on a platform that still has a declaration of this dangerous
+interface.
+
+--- acct-6.6.1/lib/stdio.in.h
++++ acct-6.6.1/lib/stdio.in.h
@@ -699,10 +699,6 @@
so any use of gets warrants an unconditional warning; besides, C11
removed it. */