OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 22-Dec-2007 16:19:00
Branch: HEAD Handle: 2007122215185800
Added files:
openpkg-src/c2man c2man.patch
Modified files:
openpkg-src/c2man c2man.spec
Log:
we require Flex anyway, so we can just kick out Solaris lex specifics
to get rid of flex-old requirements
Summary:
Revision Changes Path
1.1 +12 -0 openpkg-src/c2man/c2man.patch
1.30 +4 -2 openpkg-src/c2man/c2man.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/c2man/c2man.patch
============================================================================
$ cvs diff -u -r0 -r1.1 c2man.patch
--- /dev/null 2007-12-22 16:16:11 +0100
+++ c2man.patch 2007-12-22 16:18:59 +0100
@@ -0,0 +1,12 @@
+Index: lex.l
+--- lex.l.orig 2000-02-25 02:41:11 +0100
++++ lex.l 2007-12-22 16:17:07 +0100
+@@ -87,8 +87,6 @@
+ STRING \"(\\.|\\\n|[^"\\])*\"
+ QUOTED ({STRING}|\'(\\\'|[^'\n])*\'|\\.)
+
+-%p 5000
+-%e 2000
+ %s CPP1 INIT1 INIT2 CURLY SQUARE LEXYACC SKIP COMMENT COMMLINE CPPCOMMENT
EMBEDDED
+ %%
+
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/c2man/c2man.spec
============================================================================
$ cvs diff -u -r1.29 -r1.30 c2man.spec
--- openpkg-src/c2man/c2man.spec 1 Jan 2007 17:36:56 -0000 1.29
+++ openpkg-src/c2man/c2man.spec 22 Dec 2007 15:18:58 -0000 1.30
@@ -37,10 +37,11 @@
Group: Development
License: GPL
Version: %{V_here}
-Release: 20061204
+Release: 20071222
# list of sources
Source0:
ftp://ftp.research.canon.com.au/pub/misc/c2man/c2man-%{V_real}.tar.gz
+Patch0: c2man.patch
# build information
Prefix: %{l_prefix}
@@ -69,13 +70,14 @@
%prep
%setup -q -c %{V_here}
+ %patch -p0
%build
./Configure -d -e -s \
-Dcc="%{l_cc}" \
-Doptimize="%{l_cflags -O}" \
-Dprefix=%{l_prefix} \
- -Dlex="%{l_prefix}/bin/flex-old" \
+ -Dlex="%{l_prefix}/bin/flex" \
-Dyacc="%{l_prefix}/bin/bison -y"
%{l_make} %{l_mflags -O}
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]