This commit is contained in:
parent
abe1e89c0b
commit
d5ef42b840
15
flex-2.5.34-asneeded.patch
Normal file
15
flex-2.5.34-asneeded.patch
Normal file
@ -0,0 +1,15 @@
|
||||
libraries need to be last
|
||||
|
||||
Index: tests/test-pthread/Makefile.am
|
||||
===================================================================
|
||||
--- tests/test-pthread/Makefile.am.orig
|
||||
+++ tests/test-pthread/Makefile.am
|
||||
@@ -37,7 +37,7 @@ scanner.c: $(srcdir)/scanner.l
|
||||
$(FLEX) $(LFLAGS) $<
|
||||
|
||||
$(testname)$(EXEEXT): $(OBJS)
|
||||
- $(CC) -o $@ $(LDFLAGS) $(OBJS) $(LOADLIBES)
|
||||
+ $(CC) -o $@ $(OBJS) $(LOADLIBES) $(LDFLAGS)
|
||||
|
||||
test: $(testname)$(EXEEXT)
|
||||
./$(testname) $(srcdir)/test-*.input
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 13 08:38:26 CEST 2009 - coolo@novell.com
|
||||
|
||||
- fix link line
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 12 11:35:11 CET 2009 - rguenther@suse.de
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
Name: flex
|
||||
BuildRequires: bison gcc-c++ help2man
|
||||
Url: http://flex.sourceforge.net/
|
||||
License: BSD 3-Clause
|
||||
License: BSD 3-clause (or similar)
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: m4
|
||||
PreReq: %install_info_prereq
|
||||
@ -32,7 +32,7 @@ Obsoletes: flex-64bit
|
||||
%endif
|
||||
#
|
||||
Version: 2.5.35
|
||||
Release: 44
|
||||
Release: 45
|
||||
Summary: Fast Lexical Analyzer Generator
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Source1: lex-wrapper.sh
|
||||
@ -41,6 +41,7 @@ Patch1: flex-2.5.34-fPIC.patch
|
||||
Patch2: flex-2.5.33-yylineno.patch
|
||||
Patch3: flex-2.5.34-doc-fix.diff
|
||||
Patch4: flex-2.5.34-g++44.diff
|
||||
Patch5: flex-2.5.34-asneeded.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -63,6 +64,7 @@ Authors:
|
||||
#patch2
|
||||
%patch3
|
||||
%patch4
|
||||
%patch5
|
||||
cp %{S:2} .
|
||||
|
||||
%build
|
||||
@ -101,6 +103,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||||
|
||||
%changelog
|
||||
* Sat Jun 13 2009 coolo@novell.com
|
||||
- fix link line
|
||||
* Mon Jan 12 2009 rguenther@suse.de
|
||||
- Add patch to include <cstdio> in the C++ header section. Fixes
|
||||
the C++ parts of the testsuite with GCC 4.4.
|
||||
|
Loading…
x
Reference in New Issue
Block a user