Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] musl-legacy-compat: add include guards to cdefs.h
@ 2020-05-12 12:59 ahesford
  2020-05-12 17:43 ` [PR PATCH] [Merged]: " Hoshpak
  0 siblings, 1 reply; 2+ messages in thread
From: ahesford @ 2020-05-12 12:59 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 496 bytes --]

There is a new pull request by ahesford against master on the void-packages repository

https://github.com/ahesford/void-packages musl-legacy-compat
https://github.com/void-linux/void-packages/pull/21882

musl-legacy-compat: add include guards to cdefs.h
The `cdefs.h` included in this package is missing include guards, breaking some software with sloppy includes that expects this file.

cc: @Gottox 

A patch file from https://github.com/void-linux/void-packages/pull/21882.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-musl-legacy-compat-21882.patch --]
[-- Type: text/x-diff, Size: 1287 bytes --]

From c9126b5594219aaca67a4cae7a135648fc922fcd Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Tue, 12 May 2020 08:56:35 -0400
Subject: [PATCH] musl-legacy-compat: add include guards to cdefs.h

---
 srcpkgs/musl-legacy-compat/files/cdefs.h | 5 +++++
 srcpkgs/musl-legacy-compat/template      | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/musl-legacy-compat/files/cdefs.h b/srcpkgs/musl-legacy-compat/files/cdefs.h
index 06edf0bf723..841a5da8ba4 100644
--- a/srcpkgs/musl-legacy-compat/files/cdefs.h
+++ b/srcpkgs/musl-legacy-compat/files/cdefs.h
@@ -1,3 +1,6 @@
+#ifndef _SYS_CDEFS_H_
+#define _SYS_CDEFS_H_
+
 #warning usage of non-standard #include <sys/cdefs.h> is deprecated
 
 #undef __P
@@ -27,3 +30,5 @@
 
 #define __CONCAT(x,y)   x ## y
 #define __STRING(x)     #x
+
+#endif /* _SYS_CDEFS_H_ */
diff --git a/srcpkgs/musl-legacy-compat/template b/srcpkgs/musl-legacy-compat/template
index 4c5394dfaad..3c926e315cd 100644
--- a/srcpkgs/musl-legacy-compat/template
+++ b/srcpkgs/musl-legacy-compat/template
@@ -1,7 +1,7 @@
 # Template file for 'musl-legacy-compat'
 pkgname=musl-legacy-compat
 version=0.3
-revision=3
+revision=4
 archs="*-musl"
 bootstrap=yes
 short_desc="Legacy compatibility headers for the musl libc"

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: musl-legacy-compat: add include guards to cdefs.h
  2020-05-12 12:59 [PR PATCH] musl-legacy-compat: add include guards to cdefs.h ahesford
@ 2020-05-12 17:43 ` Hoshpak
  0 siblings, 0 replies; 2+ messages in thread
From: Hoshpak @ 2020-05-12 17:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 332 bytes --]

There's a merged pull request on the void-packages repository

musl-legacy-compat: add include guards to cdefs.h
https://github.com/void-linux/void-packages/pull/21882

Description:
The `cdefs.h` included in this package is missing include guards, breaking some software with sloppy includes that expects this file.

cc: @Gottox 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-05-12 17:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-12 12:59 [PR PATCH] musl-legacy-compat: add include guards to cdefs.h ahesford
2020-05-12 17:43 ` [PR PATCH] [Merged]: " Hoshpak

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).