firefox-esr 52 patches for wheezy

Mike Hommey mh at glandium.org
Fri May 5 08:03:39 UTC 2017


On Wed, Apr 26, 2017 at 07:46:50PM +0200, Emilio Pozuelo Monfort wrote:
> From f5cea02f4c19b04de834639cc8e5daec5b9a787b Mon Sep 17 00:00:00 2001
> From: Emilio Pozuelo Monfort <pochu at debian.org>
> Date: Sat, 22 Apr 2017 13:51:23 +0200
> Subject: [PATCH 2/3] Build with -fPIC on wheezy
> 
> ---
>  debian/changelog | 2 ++
>  debian/rules     | 1 +
>  2 files changed, 3 insertions(+)
> 
> diff --git a/debian/changelog b/debian/changelog
> index 85fadd30dc3..1d41bfdf9c6 100644
> --- a/debian/changelog
> +++ b/debian/changelog
> @@ -2,6 +2,8 @@ firefox-esr (52.1.0esr-2) UNRELEASED; urgency=medium
>  
>    * debian/rules, debian/control.in:
>      - Switch to gcc-mozilla (GCC 4.8) on wheezy, as required by FF 52.
> +  * debian/rules:
> +    - Build with -fPIC on wheezy.
>  
>   -- Emilio Pozuelo Monfort <pochu at debian.org>  Sat, 22 Apr 2017 13:48:08 +0200
>  
> diff --git a/debian/rules b/debian/rules
> index 62c417bd46b..250e4c94935 100755
> --- a/debian/rules
> +++ b/debian/rules
> @@ -35,6 +35,7 @@ $(foreach lib,$(sort $(call uc,$(SYSTEM_LIBS))),$(eval $(call system_lib,$(lib))
>  ifeq ($(BACKPORT),wheezy)
>  CC := /usr/lib/gcc-mozilla/bin/gcc
>  CXX := /usr/lib/gcc-mozilla/bin/g++
> +CFLAGS := -fPIC

You'll have to detail why you need this, because this shouldn't be
needed.

> From 9cad00699574e93277e29832da5259086aae59ed Mon Sep 17 00:00:00 2001
> From: Emilio Pozuelo Monfort <pochu at debian.org>
> Date: Sat, 22 Apr 2017 14:29:13 +0200
> Subject: [PATCH 3/3] Don't remove debian/control on clean
> 
> ---
>  debian/changelog | 3 +++
>  debian/rules     | 2 +-
>  2 files changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/debian/changelog b/debian/changelog
> index 1d41bfdf9c6..9f413fcddd0 100644
> --- a/debian/changelog
> +++ b/debian/changelog
> @@ -4,6 +4,9 @@ firefox-esr (52.1.0esr-2) UNRELEASED; urgency=medium
>      - Switch to gcc-mozilla (GCC 4.8) on wheezy, as required by FF 52.
>    * debian/rules:
>      - Build with -fPIC on wheezy.
> +    - Don't remove debian/control on clean before generating it. Otherwise
> +      generating it will fail on wheezy as /usr/share/dpkg/pkg-info.mk
> +      relies on debian/control being there to determine the source name.

Can you remind me what pkg-info.mk does that requires debian/control?

Mike



More information about the pkg-mozilla-maintainers mailing list