Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #12013

Re: problem with swt4-gtk update

From Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Newsgroups linux.debian.maint.java
Subject Re: problem with swt4-gtk update
Date 2020-12-29 01:40 +0100
Message-ID <Brbdo-5SO-11@gated-at.bofh.it> (permalink)
References <Br9lg-4vH-17@gated-at.bofh.it> <BraKm-5IP-15@gated-at.bofh.it> <BraU1-5M5-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Dec 29, 2020 at 12:18 AM Thorsten Glaser <t.glaser@tarent.de> wrote:
>
> On Tue, 29 Dec 2020, Sudip Mukherjee wrote:
>
> > +export DEB_CFLAGS_MAINT_APPEND=-fPIC -DNO_gdk_1texture_1new_1from_1file
>
> -D goes to CPPFLAGS, not CFLAGS.

oops. thanks Thorsten. So the modified patch is pasted below. But even
if we add it to CPPFLAGS it will eventually get added to CFLAGS as
d/rules is doing "CFLAGS+=$(CPPFLAGS)".


diff --git a/debian/rules b/debian/rules
index 803ce85a..5add19ce 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,7 @@
 include /usr/share/dpkg/pkg-info.mk

 export DEB_CFLAGS_MAINT_APPEND=-fPIC
+export DEB_CPPFLAGS_MAINT_APPEND=-DNO_gdk_1texture_1new_1from_1file
 DEB_BUILD_MAINT_OPTIONS=hardening=+all
 include /usr/share/dpkg/buildflags.mk
 CFLAGS+=$(CPPFLAGS)


-- 
Regards
Sudip

Back to linux.debian.maint.java | Previous | NextPrevious in thread | Find similar


Thread

problem with swt4-gtk update Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2020-12-28 23:40 +0100
  Re: problem with swt4-gtk update Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2020-12-29 01:10 +0100
    Re: problem with swt4-gtk update Thorsten Glaser <t.glaser@tarent.de> - 2020-12-29 01:20 +0100
      Re: problem with swt4-gtk update Thorsten Glaser <t.glaser@tarent.de> - 2020-12-29 01:40 +0100
        Re: problem with swt4-gtk update Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2020-12-29 01:50 +0100
          Re: problem with swt4-gtk update Emmanuel Bourg <ebourg@apache.org> - 2020-12-29 08:30 +0100
      Re: problem with swt4-gtk update Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2020-12-29 01:40 +0100

csiph-web