Compare commits

...
Sign in to create a new pull request.

4 commits

Author SHA1 Message Date
Fedora Release Engineering
c13e528363 dist-git conversion 2010-07-28 14:33:45 +00:00
Bill Nottingham
45a124a600 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:28:10 +00:00
Petr Machata
9d7d34fe10 Reintroduce the signed patch 2008-05-12 11:31:51 +00:00
Jesse Keating
6a385199d3 Initialize branch F-9 for flex 2008-04-20 18:00:51 +00:00
4 changed files with 17 additions and 22 deletions

View file

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: flex
# $Id: Makefile,v 1.1 2004/09/09 04:46:04 cvsdist Exp $
NAME := flex
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attempt a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

11
flex-2.5.35-sign.patch Normal file
View file

@ -0,0 +1,11 @@
--- flex-2.5.35/gen.c-orig 2008-04-30 22:51:08.000000000 +0200
+++ flex-2.5.35/gen.c 2008-04-30 22:51:14.000000000 +0200
@@ -1890,7 +1890,7 @@
outn ("\tif ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \\");
outn ("\t\t{ \\");
outn ("\t\tint c = '*'; \\");
- outn ("\t\tint n; \\");
+ outn ("\t\tunsigned n; \\");
outn ("\t\tfor ( n = 0; n < max_size && \\");
outn ("\t\t\t (c = getc( yyin )) != EOF && c != '\\n'; ++n ) \\");
outn ("\t\t\tbuf[n] = (char) c; \\");

View file

@ -1,11 +1,12 @@
Summary: A tool for creating scanners (text pattern recognizers)
Name: flex
Version: 2.5.35
Release: 1%{?dist}
Release: 2%{?dist}
License: BSD
Group: Development/Tools
URL: http://flex.sourceforge.net/
Source: flex-%{version}.tar.bz2
Patch0: flex-2.5.35-sign.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: m4
BuildRequires: gettext bison m4
@ -28,6 +29,7 @@ application development.
%prep
%setup -q
%patch0 -p1
%build
%configure --disable-dependency-tracking CFLAGS="-fPIC $RPM_OPT_FLAGS"
@ -74,6 +76,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_infodir}/flex.info*
%changelog
* Mon May 12 2008 Petr Machata <pmachata@redhat.com> - 2.5.35-2
- Resolves: #445950
* Wed Feb 27 2008 Petr Machata <pmachata@redhat.com> - 2.5.35-1
- Rebase to 2.5.35. Drop two patches.
- Resolves: #434961