Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
lsof
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pkg
lsof
Merge requests
!1
Fix ftbfs due to missing major/minor macros in tests
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fix ftbfs due to missing major/minor macros in tests
wip/rietsh/fix-ftbfs-sysmacros
into
apertis/v2021dev3
Overview
7
Commits
2
Pipelines
2
Changes
3
All threads resolved!
Hide all comments
Merged
Ritesh Raj Sarraf
requested to merge
wip/rietsh/fix-ftbfs-sysmacros
into
apertis/v2021dev3
4 years ago
Overview
7
Commits
2
Pipelines
2
Changes
3
All threads resolved!
Hide all comments
Expand
Patch has already been applied in Debian.
Edited
4 years ago
by
Ritesh Raj Sarraf
0
0
Merge request reports
Compare
apertis/v2021dev3
version 1
f0b43b8f
4 years ago
apertis/v2021dev3 (base)
and
latest version
latest version
2836798a
2 commits,
4 years ago
version 1
f0b43b8f
2 commits,
4 years ago
3 files
+
45
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
debian/patches/majorminor
0 → 100644
+
37
−
0
Options
Index: lsof-4.91+dfsg/tests/LTlib.c
===================================================================
--- lsof-4.91+dfsg.orig/tests/LTlib.c
+++ lsof-4.91+dfsg/tests/LTlib.c
@@ -231,26 +231,32 @@
_PROTOTYPE(static X2DEV_T x2dev,(char *x
*/
#if !defined(major_S)
+#include <sys/sysmacros.h>
#define major_S major
#endif /* defined(major_S) */
#if !defined(minor_S)
+#include <sys/sysmacros.h>
#define minor_S minor
#endif /* defined(minor_S) */
#if !defined(unit_S)
+#include <sys/sysmacros.h>
#define unit_S(x) 0
#endif /* defined(unit_S) */
#if !defined(major_X)
+#include <sys/sysmacros.h>
#define major_X(dp, em) major(x2dev(dp, em))
#endif /* defined(major_X) */
#if !defined(minor_X)
+#include <sys/sysmacros.h>
#define minor_X(dp, em) minor(x2dev(dp, em))
#endif /* defined(minor_X) */
#if !defined(unit_X)
+#include <sys/sysmacros.h>
#define unit_X(dp, em) 0
#endif /* defined(unit_X) */
Loading