diff options
author | Vladimír Čunát <v@cunat.cz> | 2023-09-04 20:19:44 +0200 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2023-09-04 20:19:44 +0200 |
commit | b4cc33304856c45c4965127ea2905c7f20cb4eaa (patch) | |
tree | c654168463fae5e46c3f0e41c2bc735e27995858 /pkgs/development/lisp-modules-new-obsolete/patches/qt-libs-dont-download.patch | |
parent | 0a1690dd6bf9ed7f3d6d0caeb8036274deafcdac (diff) | |
parent | fcf38c9baca5f009ceb601353dcb1857c29d3e06 (diff) | |
download | nixpkgs-b4cc33304856c45c4965127ea2905c7f20cb4eaa.tar nixpkgs-b4cc33304856c45c4965127ea2905c7f20cb4eaa.tar.gz nixpkgs-b4cc33304856c45c4965127ea2905c7f20cb4eaa.tar.bz2 nixpkgs-b4cc33304856c45c4965127ea2905c7f20cb4eaa.tar.lz nixpkgs-b4cc33304856c45c4965127ea2905c7f20cb4eaa.tar.xz nixpkgs-b4cc33304856c45c4965127ea2905c7f20cb4eaa.tar.zst nixpkgs-b4cc33304856c45c4965127ea2905c7f20cb4eaa.zip |
Merge branch 'master' into staging-next
Diffstat (limited to 'pkgs/development/lisp-modules-new-obsolete/patches/qt-libs-dont-download.patch')
-rw-r--r-- | pkgs/development/lisp-modules-new-obsolete/patches/qt-libs-dont-download.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/pkgs/development/lisp-modules-new-obsolete/patches/qt-libs-dont-download.patch b/pkgs/development/lisp-modules-new-obsolete/patches/qt-libs-dont-download.patch deleted file mode 100644 index e21a44c2a17..00000000000 --- a/pkgs/development/lisp-modules-new-obsolete/patches/qt-libs-dont-download.patch +++ /dev/null @@ -1,36 +0,0 @@ ---- a/qt-libs.asd -+++ b/qt-libs.asd -@@ -17,5 +17,4 @@ - :components ((:file "qt-libs")) - :depends-on (:qt-lib-generator - :cl-ppcre -- :cffi) -- :perform (asdf:load-op :after (op c) (uiop:symbol-call :qt-libs :ensure-standalone-libs))) -+ :cffi)) ---- a/qt-libs.lisp -+++ b/qt-libs.lisp -@@ -94,16 +94,14 @@ - standalone-dir) - - (defun %ensure-lib-loaded (file) -- (let ((file (etypecase file -- (pathname file) -- (string (installed-library-file file)))) -- (name (intern (string-upcase (pathname-name file)))) -- #+sbcl(sb-ext:*muffled-warnings* 'style-warning)) -- (cffi::register-foreign-library -- name `((T ,file)) -- :search-path (to-directory file)) -- (unless (cffi:foreign-library-loaded-p name) -- (cffi:load-foreign-library name)))) -+ (let ((name (make-pathname :name (format nil "lib~a" file) -+ :type #+unix "so" -+ #+darwin "dylib"))) -+ (or (find-if (lambda (lib) -+ (equal (cffi:foreign-library-pathname lib) -+ (namestring name))) -+ (cffi:list-foreign-libraries)) -+ (cffi:load-foreign-library name)))) - - (defun ensure-lib-loaded (file) - (cond ((pathnamep file) \ No newline at end of file |