~ubuntu-branches/ubuntu/quantal/enigmail/quantal-security

« back to all changes in this revision

Viewing changes to build/unix/build-toolchain/glibc-deterministic.patch

  • Committer: Package Import Robot
  • Author(s): Chris Coulson
  • Date: 2013-09-13 16:02:15 UTC
  • mfrom: (0.12.16)
  • Revision ID: package-import@ubuntu.com-20130913160215-u3g8nmwa0pdwagwc
Tags: 2:1.5.2-0ubuntu0.12.10.1
* New upstream release v1.5.2 for Thunderbird 24

* Build enigmail using a stripped down Thunderbird 17 build system, as it's
  now quite difficult to build the way we were doing previously, with the
  latest Firefox build system
* Add debian/patches/no_libxpcom.patch - Don't link against libxpcom, as it
  doesn't exist anymore (but exists in the build system)
* Add debian/patches/use_sdk.patch - Use the SDK version of xpt.py and
  friends
* Drop debian/patches/ipc-pipe_rename.diff (not needed anymore)
* Drop debian/patches/makefile_depth.diff (not needed anymore)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
diff -ru a/configure.in b/configure.in
2
 
--- a/configure.in      2011-01-17 23:34:07.000000000 -0500
3
 
+++ b/configure.in      2012-01-25 20:40:27.919485606 -0500
4
 
@@ -841,14 +841,6 @@
5
 
 LIBC_PROG_BINUTILS
6
 
 AC_SUBST(MIG)dnl Needed by sysdeps/mach/configure.in
7
 
 
8
 
-# Accept binutils 2.13 or newer.
9
 
-AC_CHECK_PROG_VER(AS, $AS, --version,
10
 
-                 [GNU assembler.* \([0-9]*\.[0-9.]*\)],
11
 
-                 [2.1[3-9]*], AS=: critic_missing="$critic_missing as")
12
 
-AC_CHECK_PROG_VER(LD, $LD, --version,
13
 
-                 [GNU ld.* \([0-9][0-9]*\.[0-9.]*\)],
14
 
-                 [2.1[3-9]*], LD=: critic_missing="$critic_missing ld")
15
 
-
16
 
 # We need the physical current working directory.  We cannot use the
17
 
 # "pwd -P" shell builtin since that's not portable.  Instead we try to
18
 
 # find a pwd binary.  Note that assigning to the PWD environment
19
 
@@ -2175,6 +2167,7 @@
20
 
 fi
21
 
 AC_SUBST(old_glibc_headers)
22
 
 
23
 
+libc_cv_slibdir=${prefix}/lib64
24
 
 AC_SUBST(libc_cv_slibdir)
25
 
 AC_SUBST(libc_cv_localedir)
26
 
 AC_SUBST(libc_cv_sysconfdir)
27
 
diff -ru a/csu/Makefile b/csu/Makefile
28
 
--- a/csu/Makefile      2011-01-17 23:34:07.000000000 -0500
29
 
+++ b/csu/Makefile      2012-01-23 13:58:28.957792633 -0500
30
 
@@ -223,8 +223,7 @@
31
 
                   if [ -z "$$os" ]; then \
32
 
                     os=Linux; \
33
 
                   fi; \
34
 
-                  printf '"Compiled on a %s %s system on %s.\\n"\n' \
35
 
-                         "$$os" "$$version" "`date +%Y-%m-%d`";; \
36
 
+                   ;; \
37
 
           *) ;; \
38
 
         esac; \
39
 
         files="$(all-Banner-files)";                           \
40
 
diff -ru a/elf/Makefile b/elf/Makefile
41
 
--- a/elf/Makefile      2008-10-31 16:35:11.000000000 -0400
42
 
+++ b/elf/Makefile      2012-02-16 12:20:00.038593752 -0500
43
 
@@ -295,18 +295,11 @@
44
 
 z-now-yes = -Wl,-z,now
45
 
 
46
 
 $(objpfx)ld.so: $(objpfx)librtld.os $(ld-map)
47
 
-       @rm -f $@.lds
48
 
-       $(LINK.o) -nostdlib -nostartfiles -shared $(z-now-$(bind-now))  \
49
 
-                 $(LDFLAGS-rtld) -Wl,-z,defs -Wl,--verbose 2>&1 |      \
50
 
-                 LC_ALL=C \
51
 
-                 sed -e '/^=========/,/^=========/!d;/^=========/d'    \
52
 
-                     -e 's/\. = 0 + SIZEOF_HEADERS;/& _begin = . - SIZEOF_HEADERS;/' \
53
 
-                 > $@.lds
54
 
        $(LINK.o) -nostdlib -nostartfiles -shared -o $@                 \
55
 
                  $(LDFLAGS-rtld) -Wl,-z,defs $(z-now-$(bind-now))      \
56
 
                  $(filter-out $(map-file),$^) $(load-map-file)         \
57
 
-                 -Wl,-soname=$(rtld-installed-name) -T $@.lds
58
 
-       rm -f $@.lds
59
 
+                 -Wl,-soname=$(rtld-installed-name)                    \
60
 
+                 -Wl,-defsym=_begin=0
61
 
 
62
 
 # interp.c exists just to get this string into the libraries.
63
 
 CFLAGS-interp.c = -D'RUNTIME_LINKER="$(slibdir)/$(rtld-installed-name)"' \
64
 
diff -ru a/localedata/Makefile b/localedata/Makefile
65
 
--- a/localedata/Makefile       2006-04-26 01:14:03.000000000 -0400
66
 
+++ b/localedata/Makefile       2012-02-17 10:31:24.592345047 -0500
67
 
@@ -113,7 +113,7 @@
68
 
        $(make-target-directory)
69
 
        rm -f $(@:.gz=) $@
70
 
        $(INSTALL_DATA) $< $(@:.gz=)
71
 
-       gzip -9 $(@:.gz=)
72
 
+       gzip -9n $(@:.gz=)
73
 
 
74
 
 # Install the locale source files in the appropriate directory.
75
 
 $(inst_i18ndir)/locales/%: locales/% $(+force); $(do-install)
76
 
diff -ru a/Makeconfig b/Makeconfig
77
 
--- a/Makeconfig        2006-07-10 17:42:27.000000000 -0400
78
 
+++ b/Makeconfig        2012-02-17 08:28:31.859584817 -0500
79
 
@@ -674,7 +674,7 @@
80
 
           $(foreach lib,$(libof-$(basename $(@F))) \
81
 
                         $(libof-$(<F)) $(libof-$(@F)),$(CPPFLAGS-$(lib))) \
82
 
           $(CPPFLAGS-$(<F)) $(CPPFLAGS-$(@F)) $(CPPFLAGS-$(basename $(@F)))
83
 
-override CFLAGS        = -std=gnu99 \
84
 
+override CFLAGS        = -std=gnu99 -fgnu89-inline \
85
 
                  $(filter-out %frame-pointer,$(+cflags)) $(+gccwarn-c) \
86
 
                  $(sysdep-CFLAGS) $(CFLAGS-$(suffix $@)) $(CFLAGS-$(<F)) \
87
 
                  $(CFLAGS-$(@F))
88
 
diff -ru a/Makerules b/Makerules
89
 
--- a/Makerules 2011-01-17 23:34:07.000000000 -0500
90
 
+++ b/Makerules 2012-01-30 08:47:56.565068903 -0500
91
 
@@ -977,9 +977,9 @@
92
 
         echo '   Use the shared library, but some functions are only in';\
93
 
         echo '   the static library, so try that secondarily.  */';\
94
 
         cat $<; \
95
 
-        echo 'GROUP ( $(slibdir)/libc.so$(libc.so-version)' \
96
 
-             '$(libdir)/$(patsubst %,$(libtype.oS),$(libprefix)$(libc-name))'\
97
 
-             ' AS_NEEDED (' $(slibdir)/$(rtld-installed-name) ') )' \
98
 
+        echo 'GROUP ( libc.so$(libc.so-version)' \
99
 
+             '$(patsubst %,$(libtype.oS),$(libprefix)$(libc-name))'\
100
 
+             ' AS_NEEDED (' $(rtld-installed-name) ') )' \
101
 
        ) > $@.new
102
 
        mv -f $@.new $@
103
 
 
104
 
diff -ru a/nscd/nscd_stat.c b/nscd/nscd_stat.c
105
 
--- a/nscd/nscd_stat.c  2011-01-17 23:34:07.000000000 -0500
106
 
+++ b/nscd/nscd_stat.c  2012-01-23 15:54:45.231607606 -0500
107
 
@@ -38,7 +38,7 @@
108
 
 
109
 
 
110
 
 /* We use this to make sure the receiver is the same.  */
111
 
-static const char compilation[21] = __DATE__ " " __TIME__;
112
 
+static const char compilation[21] = "don't need this";
113
 
 
114
 
 /* Statistic data for one database.  */
115
 
 struct dbstat