forked from pool/ghc-iwlib
Compare commits
6 Commits
Author | SHA256 | Date | |
---|---|---|---|
0cb1ca83e5 | |||
1661a0c19d | |||
200f75564d | |||
1325493173 | |||
ecff96d0bb | |||
75c198cb67 |
12
add-missing-dependency-on-libm.patch
Normal file
12
add-missing-dependency-on-libm.patch
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
Only in iwlib-0.1.2-patched: dist
|
||||||
|
diff -ubr iwlib-0.1.2/iwlib.cabal iwlib-0.1.2-patched/iwlib.cabal
|
||||||
|
--- iwlib-0.1.2/iwlib.cabal 2001-09-09 01:46:40.000000000 +0000
|
||||||
|
+++ iwlib-0.1.2-patched/iwlib.cabal 2024-11-21 11:50:52.468886653 +0000
|
||||||
|
@@ -24,5 +24,5 @@
|
||||||
|
includes: iwlib.h
|
||||||
|
default-language: Haskell2010
|
||||||
|
exposed-modules: Network.IWlib
|
||||||
|
- extra-libraries: iw
|
||||||
|
+ extra-libraries: iw m
|
||||||
|
ghc-options: -Wall
|
||||||
|
\ No newline at end of file
|
@@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 28 10:19:51 UTC 2025 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
- Update copyright header. No functional change.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 16 13:25:17 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
- Apply "add-missing-dependency-on-libm.patch" to fix the build
|
||||||
|
with ghc-9.10.1.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 30 17:07:18 UTC 2023 - Peter Simons <psimons@suse.com>
|
Thu Mar 30 17:07:18 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ghc-iwlib
|
# spec file for package ghc-iwlib
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -25,6 +25,7 @@ Summary: Bindings for the iw C library
|
|||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://hackage.haskell.org/package/%{pkg_name}
|
URL: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||||
|
Patch01: add-missing-dependency-on-libm.patch
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-base-devel
|
BuildRequires: ghc-base-devel
|
||||||
BuildRequires: ghc-base-prof
|
BuildRequires: ghc-base-prof
|
||||||
@@ -63,7 +64,7 @@ Supplements: (ghc-%{pkg_name}-devel and ghc-prof)
|
|||||||
This package provides the Haskell %{pkg_name} profiling library.
|
This package provides the Haskell %{pkg_name} profiling library.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{pkg_name}-%{version}
|
%autosetup -n %{pkg_name}-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
|
Reference in New Issue
Block a user