public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mike Frysinger" <vapier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/gpsd/files/, sci-geosciences/gpsd/
Date: Mon,  9 May 2016 19:45:10 +0000 (UTC)	[thread overview]
Message-ID: <1462823092.c806f3c116e0bcd4aae79ad074eeec981ee963a9.vapier@gentoo> (raw)

commit:     c806f3c116e0bcd4aae79ad074eeec981ee963a9
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Mon May  9 18:47:31 2016 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Mon May  9 19:44:52 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c806f3c1

sci-geosciences/gpsd: fix parallel build #577432

 sci-geosciences/gpsd/files/gpsd-3.15-libgpsd.patch  |  7 ++++---
 sci-geosciences/gpsd/files/gpsd-3.15-timebase.patch | 12 ++++++++++++
 sci-geosciences/gpsd/gpsd-3.15.ebuild               |  1 +
 sci-geosciences/gpsd/gpsd-3.16.ebuild               |  3 +--
 4 files changed, 18 insertions(+), 5 deletions(-)

diff --git a/sci-geosciences/gpsd/files/gpsd-3.15-libgpsd.patch b/sci-geosciences/gpsd/files/gpsd-3.15-libgpsd.patch
index b8d2cf0..77ba8a7 100644
--- a/sci-geosciences/gpsd/files/gpsd-3.15-libgpsd.patch
+++ b/sci-geosciences/gpsd/files/gpsd-3.15-libgpsd.patch
@@ -24,7 +24,7 @@ index a050f38..53f697d 100644
              else:
                  obj_list.append(s)
          return env.SharedLibrary(target=target,
-@@ -925,9 +925,11 @@ static_gpslib = env.StaticLibrary("gps_static",
+@@ -925,9 +925,12 @@ static_gpslib = env.StaticLibrary("gps_static",
                                    [env.StaticObject(s) for s in libgps_sources],
                                    rtlibs)
  
@@ -36,6 +36,7 @@ index a050f38..53f697d 100644
 +                           sources=libgpsd_sources,
 +                           version=libgps_version,
 +                           parse_flags=usbflags + rtlibs + bluezflags + ["-lgps"])
++env.Depends(compiled_gpsdlib, [compiled_gpslib])
  
  libraries = [compiled_gpslib, compiled_gpsdlib]
  
@@ -58,12 +59,12 @@ index a050f38..53f697d 100644
  gpsctl = env.Program('gpsctl', ['gpsctl.c'],
                       LIBS=['gpsd'], parse_flags=gpsdflags+gpslibs)
 -env.Depends(gpsctl, [compiled_gpslib])
-+env.Depends(gpsctl, [compiled_gpslib, compiled_gpslib])
++env.Depends(gpsctl, [compiled_gpsdlib, compiled_gpslib])
  
  gpsmon = env.Program('gpsmon', gpsmon_sources,
                       LIBS=['gpsd'], parse_flags=gpsdflags+gpslibs + ncurseslibs)
 -env.Depends(gpsmon, [compiled_gpslib])
-+env.Depends(gpsmon, [compiled_gpslib, compiled_gpslib])
++env.Depends(gpsmon, [compiled_gpsdlib, compiled_gpslib])
  
  gpsdctl = env.Program('gpsdctl', ['gpsdctl.c'], parse_flags=gpslibs)
  env.Depends(gpsdctl, compiled_gpslib)

diff --git a/sci-geosciences/gpsd/files/gpsd-3.15-timebase.patch b/sci-geosciences/gpsd/files/gpsd-3.15-timebase.patch
new file mode 100644
index 0000000..2477d30
--- /dev/null
+++ b/sci-geosciences/gpsd/files/gpsd-3.15-timebase.patch
@@ -0,0 +1,12 @@
+don't always rebuild this header as it won't change between compile & install
+
+--- a/SConstruct
++++ b/SConstruct
+@@ -1174,7 +1174,6 @@
+     f.close()
+ timebase = env.Command(target="timebase.h",
+                        source=["leapseconds.cache"], action=timebase_h)
+-env.AlwaysBuild(timebase)
+ 
+ env.Textfile(target="gpsd_config.h", source=confdefs)
+ env.Textfile(target="gpsd.h", source=[File("gpsd.h-head"), File("gpsd_config.h"), File("gpsd.h-tail")])

diff --git a/sci-geosciences/gpsd/gpsd-3.15.ebuild b/sci-geosciences/gpsd/gpsd-3.15.ebuild
index e6f3172..bc6e7eb 100644
--- a/sci-geosciences/gpsd/gpsd-3.15.ebuild
+++ b/sci-geosciences/gpsd/gpsd-3.15.ebuild
@@ -73,6 +73,7 @@ src_prepare() {
 	epatch "${FILESDIR}"/${PN}-3.15-dynamic-libs.patch
 	epatch "${FILESDIR}"/${PN}-3.15-libgpsd.patch
 	epatch "${FILESDIR}"/${PN}-3.15-broken-install.patch
+	epatch "${FILESDIR}"/${PN}-3.15-timebase.patch
 	epatch "${FILESDIR}"/${PN}-3.16-sysmacros.patch #581740
 
 	# Avoid useless -L paths to the install dir

diff --git a/sci-geosciences/gpsd/gpsd-3.16.ebuild b/sci-geosciences/gpsd/gpsd-3.16.ebuild
index 5928f17..18ad0f6 100644
--- a/sci-geosciences/gpsd/gpsd-3.16.ebuild
+++ b/sci-geosciences/gpsd/gpsd-3.16.ebuild
@@ -73,6 +73,7 @@ src_prepare() {
 	epatch "${FILESDIR}"/${PN}-3.15-dynamic-libs.patch
 	epatch "${FILESDIR}"/${PN}-3.15-libgpsd.patch
 	epatch "${FILESDIR}"/${PN}-3.15-broken-install.patch
+	epatch "${FILESDIR}"/${PN}-3.15-timebase.patch
 	epatch "${FILESDIR}"/${PN}-3.16-sysmacros.patch #581740
 
 	# Avoid useless -L paths to the install dir
@@ -82,8 +83,6 @@ src_prepare() {
 
 	sed -e 's:libusb.h:libusb-1.0/libusb.h:' -i driver_garmin.c || die
 
-	eapply_user
-
 	use python && distutils-r1_src_prepare
 }
 


             reply	other threads:[~2016-05-09 19:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-09 19:45 Mike Frysinger [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-01-24  5:29 [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/gpsd/files/, sci-geosciences/gpsd/ Matthias Maier
2017-02-17 22:33 Michał Górny
2017-09-21 11:58 Andreas Hüttel
2019-09-12  3:57 Mike Frysinger
2019-10-04 19:23 Robin H. Johnson
2020-09-10 15:27 Marek Szuba
2020-09-25 17:56 Sam James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1462823092.c806f3c116e0bcd4aae79ad074eeec981ee963a9.vapier@gentoo \
    --to=vapier@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox