File tree Expand file tree Collapse file tree 2 files changed +37
-1
lines changed Expand file tree Collapse file tree 2 files changed +37
-1
lines changed Original file line number Diff line number Diff line change 77Summary: MinGW Windows port of the Netscape Portable Runtime (NSPR)
88Name: mingw32-nspr
99Version: 4.8
10- Release: 1 %{?dist }
10+ Release: 2 %{?dist }
1111License: MPLv1.1 or GPLv2+ or LGPLv2+
1212URL: http://www.mozilla.org/projects/nspr/
1313Group: System Environment/Libraries
@@ -25,10 +25,14 @@ Source2: nspr-config-vars.in
2525Patch1: nspr-config-pc.patch
2626Patch1000: mingw32-nspr-4.7.2-build.patch
2727Patch1001: mingw32-nspr-4.7.2-extra-build.patch
28+ Patch1002: nspr-configure-fedora-cross.patch
2829
2930BuildRequires: mingw32-filesystem >= 33
3031BuildRequires: mingw32-gcc
32+ BuildRequires: mingw32-gcc-c++
3133BuildRequires: mingw32-binutils
34+ # XXX not sure if this is really required
35+ BuildRequires: mingw32-dlfcn
3236
3337Requires: pkgconfig
3438
@@ -62,6 +66,7 @@ cp ./mozilla/nsprpub/config/nspr-config.in ./mozilla/nsprpub/config/nspr-config-
6266pushd ./mozilla/nsprpub
6367%patch1000 -p0
6468%patch1001 -p0
69+ %patch1002 -p4
6570popd
6671
6772cp %{SOURCE2 } ./mozilla/nsprpub/config/
159164#%{_mingw32_libdir}/libplds4_s.a
160165
161166%changelog
167+ * Sun Jan 31 2010 Amorilia <amorilia@users.sourceforge.net> - 4.8-2
168+ - Another fix for build inside mock.
169+
162170* Fri Oct 9 2009 Amorilia <amorilia@users.sourceforge.net> - 4.8-1
163171- Update to 4.8
164172- Fix for libplds4.dll.a import library
Original file line number Diff line number Diff line change 1+ diff --git a/nspr-4.8/mozilla/nsprpub/configure b/nspr-4.8/mozilla/nsprpub/configure
2+ index 542542d..7512a24 100755
3+ --- a/nspr-4.8/mozilla/nsprpub/configure
4+ +++ b/nspr-4.8/mozilla/nsprpub/configure
5+ @@ -2599,6 +2599,9 @@ else
6+ CROSS_COMPILE=
7+ fi
8+
9+ + # amorilia: this hack fixes the fedora build in mock (don't ask why)
10+ + CROSS_COMPILE=
11+ +
12+ echo $ac_n "checking for gcc -pipe support""... $ac_c" 1>&6
13+ echo "configure:2604: checking for gcc -pipe support" >&5
14+ if test -n "$GNU_CC" && test -n "$GNU_CXX" && test -n "$GNU_AS"; then
15+ diff --git a/nspr-4.8/mozilla/nsprpub/configure.in b/nspr-4.8/mozilla/nsprpub/configure.in
16+ index 40310c0..0004251 100644
17+ --- a/nspr-4.8/mozilla/nsprpub/configure.in
18+ +++ b/nspr-4.8/mozilla/nsprpub/configure.in
19+ @@ -525,6 +525,9 @@ else
20+ CROSS_COMPILE=
21+ fi
22+
23+ + # amorilia: this hack fixes the fedora build in mock (don't ask why)
24+ + CROSS_COMPILE=
25+ +
26+ dnl ========================================================
27+ dnl Check for gcc -pipe support
28+ dnl ========================================================
You can’t perform that action at this time.
0 commit comments