ports: Add libjpeg port
This commit is contained in:
13
ports/libjpeg/patches/0001-add-banan_os-target.patch
Normal file
13
ports/libjpeg/patches/0001-add-banan_os-target.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff -ruN jpeg-9f/config.sub jpeg-9f-banan_os/config.sub
|
||||
--- jpeg-9f/config.sub 2024-01-08 19:38:48.000000000 +0200
|
||||
+++ jpeg-9f-banan_os/config.sub 2025-06-11 10:57:34.463953673 +0300
|
||||
@@ -1748,7 +1748,8 @@
|
||||
| skyos* | haiku* | rdos* | toppers* | drops* | es* \
|
||||
| onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
|
||||
| midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \
|
||||
- | nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr*)
|
||||
+ | nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr* \
|
||||
+ | banan_os* )
|
||||
;;
|
||||
# This one is extra strict with allowed versions
|
||||
sco3.2v2 | sco3.2v[4-9]* | sco5v6*)
|
||||
20
ports/libjpeg/patches/0002-build-shared-libraries.patch
Normal file
20
ports/libjpeg/patches/0002-build-shared-libraries.patch
Normal file
@@ -0,0 +1,20 @@
|
||||
diff -ruN jpeg-9f/configure jpeg-9f-banan_os/configure
|
||||
--- jpeg-9f/configure 2024-01-08 19:38:44.000000000 +0200
|
||||
+++ jpeg-9f-banan_os/configure 2025-06-11 11:03:15.719030091 +0300
|
||||
@@ -12944,6 +12944,16 @@
|
||||
esac
|
||||
;;
|
||||
|
||||
+banan_os*)
|
||||
+ version_type=linux # correct to gnu/linux during the next big refactor
|
||||
+ need_lib_prefix=no
|
||||
+ need_version=no
|
||||
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
|
||||
+ soname_spec='$libname$release$shared_ext$major'
|
||||
+ dynamic_linker="$host_os DynamicLoader.so"
|
||||
+ shlibpath_var=LD_LIBRARY_PATH
|
||||
+ ;;
|
||||
+
|
||||
beos*)
|
||||
library_names_spec='$libname$shared_ext'
|
||||
dynamic_linker="$host_os ld.so"
|
||||
Reference in New Issue
Block a user