-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7d4387d
commit eca4c51
Showing
4 changed files
with
55 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
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,25 @@ | ||
#!/usr/bin/env -S bash ../.port_include.sh | ||
port='pacman' | ||
version='b6241a373cc09f021c2ab29714eca5f9e33463f8' | ||
files="https://codeload.github.com/ebuc99/pacman/zip/${version} pacman.zip d688f75d33c7bf4f217bfcaf0d5ee507fd73bb233d77303927d15b54988f0231" | ||
auth_type='sha256' | ||
useconfigure='true' | ||
depends=( | ||
'SDL2' | ||
'SDL2_image' | ||
'SDL2_ttf' | ||
'SDL2_mixer' | ||
) | ||
configopts=( | ||
"--with-sdl-prefix=${SERENITY_INSTALL_ROOT}/usr/local" | ||
) | ||
use_fresh_config_sub='true' | ||
config_sub_paths=('config.sub') | ||
launcher_name='Pacman' | ||
launcher_category='Games' | ||
launcher_command='/usr/local/bin/pacman' | ||
icon_file='data/gfx/pacman_desktop.png' | ||
|
||
pre_patch() { | ||
run ./autogen.sh | ||
} |
22 changes: 22 additions & 0 deletions
22
Ports/pacman/patches/0001-Remove-incorrect-linker-library-path.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,22 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: Gunnar Beutner <[email protected]> | ||
Date: Sun, 23 Oct 2022 12:49:01 +0200 | ||
Subject: [PATCH] Remove incorrect linker library path | ||
|
||
--- | ||
src/Makefile.am | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/src/Makefile.am b/src/Makefile.am | ||
index 51a1cc1c819a1f3be4ab245abd2c8f8af3560571..2eee4b103359c8061626024a9ec1654aad4a2933 100644 | ||
--- a/src/Makefile.am | ||
+++ b/src/Makefile.am | ||
@@ -81,7 +81,7 @@ pacman_LDFLAGS = -I/usr/include/SDL2 -D_REENTRANT #$(SDL2_CFLAGS) | ||
pacman_LDADD = \ | ||
$(SDL2_LIBS) \ | ||
-lSDL2_mixer \ | ||
- -L/usr/lib64 -lSDL2 | ||
+ -lSDL2 | ||
|
||
|
||
|
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,7 @@ | ||
# Patches for pacman on SerenityOS | ||
|
||
## `0001-Remove-incorrect-linker-library-path.patch` | ||
|
||
Remove incorrect linker library path | ||
|
||
|