From: Logarithmus <Logarithmus@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] gpsim: remove #include "../config.h" from breakpoints.h to prevent errors about missing config.h
Date: Wed, 11 Nov 2020 03:13:49 +0100 [thread overview]
Message-ID: <20201111021349.ds-st-D80bWyVKjg0avOZWyeKsMM0wYg8i6cEsd37nA@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-25944@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 671 bytes --]
There is an updated pull request by Logarithmus against master on the void-packages repository
https://github.com/Logarithmus/void-packages gpsim
https://github.com/void-linux/void-packages/pull/25944
gpsim: remove #include "../config.h" from breakpoints.h to prevent errors about missing config.h
When using `breakpoints.h` from `gpsim-devel` package, program fails to build due to missing `config.h` header.
AFAIK this header is generated automatically by `autotools` and exists only during the build process.
Another fix is installing `eXdbm` headers along with `gpsim`.
A patch file from https://github.com/void-linux/void-packages/pull/25944.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gpsim-25944.patch --]
[-- Type: text/x-diff, Size: 1365 bytes --]
From 44288d1a1b1ff845e0fb57654853e45cb7e05746 Mon Sep 17 00:00:00 2001
From: Artur Sinila <opensource@logarithmus.dev>
Date: Fri, 23 Oct 2020 01:48:33 +0300
Subject: [PATCH] gpsim: remove #include "../config.h" from breakpoints.h to
prevent errors about missing config.h
---
srcpkgs/gpsim/template | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/gpsim/template b/srcpkgs/gpsim/template
index 1778e73658e..187584a68f9 100644
--- a/srcpkgs/gpsim/template
+++ b/srcpkgs/gpsim/template
@@ -1,7 +1,7 @@
# Template file for 'gpsim'
pkgname=gpsim
version=0.31.0
-revision=1
+revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="gtk+-devel popt-devel readline-devel"
@@ -13,7 +13,8 @@ distfiles="https://sourceforge.net/projects/gpsim/files/gpsim/${version}/gpsim-$
checksum=110ee6be3a5d02b32803a91e480cbfc9d423ef72e0830703fc0bc97b9569923f
pre_configure() {
- vsed -i -e 's/#include "error.h"//' src/modules.cc
+ vsed -i src/modules.cc -e 's/#include "error.h"//'
+ vsed -i src/breakpoints.h -e 's/#include "\.\.\/config.h"//'
}
gpsim-devel_package() {
@@ -21,6 +22,7 @@ gpsim-devel_package() {
depends="gpsim-${version}_${revision} gtk+-devel popt-devel readline-devel"
pkg_install() {
vmove usr/include/gpsim
+ vmove usr/include/eXdbm
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
next prev parent reply other threads:[~2020-11-11 2:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-28 17:46 [PR PATCH] " Logarithmus
2020-11-09 15:36 ` ericonr
2020-11-11 1:43 ` [PR PATCH] [Updated] " Logarithmus
2020-11-11 2:13 ` Logarithmus [this message]
2020-12-18 0:48 ` [PR PATCH] [Closed]: " sgn
2020-12-18 0:48 ` sgn
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=20201111021349.ds-st-D80bWyVKjg0avOZWyeKsMM0wYg8i6cEsd37nA@z \
--to=logarithmus@users.noreply.github.com \
--cc=ml@inbox.vuxu.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;
as well as URLs for NNTP newsgroup(s).