aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/liburing/fix-configure.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/liburing/fix-configure.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/liburing/fix-configure.patch')
-rw-r--r--vcpkg/ports/liburing/fix-configure.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/vcpkg/ports/liburing/fix-configure.patch b/vcpkg/ports/liburing/fix-configure.patch
new file mode 100644
index 0000000..e567a95
--- /dev/null
+++ b/vcpkg/ports/liburing/fix-configure.patch
@@ -0,0 +1,36 @@
+diff --git a/configure b/configure
+index 4794306..76e6334 100755
+--- a/configure
++++ b/configure
+@@ -20,7 +20,7 @@ for opt do
+ ;;
+ --mandir=*) mandir="$optarg"
+ ;;
+- --datadir=*) datadir="$optarg"
++ --datarootdir=*) datadir="$optarg"
+ ;;
+ --cc=*) cc="$optarg"
+ ;;
+@@ -30,10 +30,12 @@ for opt do
+ ;;
+ --enable-sanitizer) use_sanitizer=yes
+ ;;
++ --enable-shared) ENABLE_SHARED=1
++ ;;
++ --enable-static) ENABLE_SHARED=0
++ ;;
+ *)
+ echo "ERROR: unknown option $opt"
+- echo "Try '$0 --help' for more information"
+- exit 1
+ ;;
+ esac
+ done
+@@ -133,6 +135,7 @@ echo "# Automatically generated by configure - do not modify" > $config_host_mak
+ printf "# Configured with:" >> $config_host_mak
+ printf " '%s'" "$0" "$@" >> $config_host_mak
+ echo >> $config_host_mak
++echo "ENABLE_SHARED=${ENABLE_SHARED}" >> $config_host_mak
+
+ do_cxx() {
+ # Run the compiler, capturing its output to the log.