Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
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
alpine
aports
Commits
512479cb
Commit
512479cb
authored
4 years ago
by
Leo
Browse files
Options
Downloads
Patches
Plain Diff
main/xf86-video-fbdev: fix build
parent
d8ffe20e
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
main/xf86-video-fbdev/APKBUILD
+5
-7
5 additions, 7 deletions
main/xf86-video-fbdev/APKBUILD
main/xf86-video-fbdev/fix-build.patch
+17
-0
17 additions, 0 deletions
main/xf86-video-fbdev/fix-build.patch
with
22 additions
and
7 deletions
main/xf86-video-fbdev/APKBUILD
+
5
−
7
View file @
512479cb
...
...
@@ -7,13 +7,12 @@ url="https://www.x.org"
arch
=
"all"
license
=
"MIT"
subpackages
=
"
$pkgname
-doc"
depends
=
makedepends
=
"xorg-server-dev libxi-dev util-macros xorgproto"
source
=
"https://www.x.org/releases/individual/driver/
$pkgname
-
$pkgver
.tar.bz2"
source
=
"https://www.x.org/releases/individual/driver/xf86-video-fbdev-
$pkgver
.tar.bz2
fix-build.patch
"
builddir
=
"
$srcdir
"
/
$pkgname
-
$pkgver
build
()
{
cd
"
$builddir
"
export
LDFLAGS
=
"
$LDFLAGS
-Wl,-z,lazy"
./configure
\
--build
=
$CBUILD
\
...
...
@@ -23,13 +22,12 @@ build() {
}
check
()
{
cd
"
$builddir
"
make check
}
package
()
{
cd
"
$builddir
"
make
DESTDIR
=
"
$pkgdir
"
install
}
sha512sums
=
"c1217b943bbe3301b3c2a8649ed1004c3c67b02607bd56bbc14f6dfa05e7f0184332c81a6a19595514745501ed88526aee932e555779b7c3a8233646b0979448 xf86-video-fbdev-0.5.0.tar.bz2"
sha512sums
=
"c1217b943bbe3301b3c2a8649ed1004c3c67b02607bd56bbc14f6dfa05e7f0184332c81a6a19595514745501ed88526aee932e555779b7c3a8233646b0979448 xf86-video-fbdev-0.5.0.tar.bz2
19c6680d8e8b0ba3903fb76438b54f294a1715b93d50e1cb2ef95bb04770add5fdad1df4260ab7eb00bb26578baa79b7cfed3f7fa6cba70348611cc3797af3ee fix-build.patch"
This diff is collapsed.
Click to expand it.
main/xf86-video-fbdev/fix-build.patch
0 → 100644
+
17
−
0
View file @
512479cb
Upstream: no (too lazy)
Reason: fixes build by getting rid of old cpp macro
diff --git a/src/fbdev.c b/src/fbdev.c
index f25ef72..02a2b7a 100644
--- a/src/fbdev.c
+++ b/src/fbdev.c
@@ -1010,7 +1010,7 @@
FBDevScreenInit(SCREEN_INIT_ARGS_DECL)
fPtr->CloseScreen = pScreen->CloseScreen;
pScreen->CloseScreen = FBDevCloseScreen;
-#if XV
+#if defined(XV)
{
XF86VideoAdaptorPtr *ptr;
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment