forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-cdr/dvd+rw-tools: fix build w/newer glibc
- Loading branch information
Showing
2 changed files
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
app-cdr/dvd+rw-tools/files/dvd+rw-tools-7.0-sysmacros.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
include sysmacros.h explicitly for major()/minor()/etc... | ||
|
||
--- a/growisofs.c | ||
+++ b/growisofs.c | ||
@@ -408,6 +408,7 @@ | ||
# ifndef _GNU_SOURCE | ||
# define _GNU_SOURCE | ||
# endif | ||
+# include <sys/sysmacros.h> | ||
#elif defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || \ | ||
(defined(__APPLE__) && defined(__MACH__)) | ||
# define off64_t off_t |