Browse Source

modifying package: ctalk-0.0.15a 20071026 -> 20071029

Ralf S. Engelschall 18 years ago
parent
commit
a5783f5561
2 changed files with 19 additions and 19 deletions
  1. 15 15
      ctalk/ctalk.patch
  2. 4 4
      ctalk/ctalk.spec

+ 15 - 15
ctalk/ctalk.patch

@@ -110,9 +110,9 @@ Index: ctalk-0.0.15/src/Makefile.in
  LIBTOOL = @LIBTOOL@
  LIB_MAJOR_VERSION = @LIB_MAJOR_VERSION@
  LIB_MINOR_VERSION = @LIB_MINOR_VERSION@
-Index: ctpp-1.0.20/ctpp/Makefile.in
---- ctpp-1.0.20/ctpp/Makefile.in.orig	2007-09-12 14:36:28 +0200
-+++ ctpp-1.0.20/ctpp/Makefile.in	2007-09-18 07:49:32 +0200
+Index: ctpp-1.0.21/ctpp/Makefile.in
+--- ctpp-1.0.21/ctpp/Makefile.in.orig	2007-09-12 14:36:28 +0200
++++ ctpp-1.0.21/ctpp/Makefile.in	2007-09-18 07:49:32 +0200
 @@ -121,7 +121,7 @@
  INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  LDFLAGS = @LDFLAGS@
@@ -122,9 +122,9 @@ Index: ctpp-1.0.20/ctpp/Makefile.in
  LIBTOOL = @LIBTOOL@
  LIB_MAJOR_VERSION = @LIB_MAJOR_VERSION@
  LIB_MINOR_VERSION = @LIB_MINOR_VERSION@
-Index: ctpp-1.0.20/ctpp/builtins.c
---- ctpp-1.0.20/ctpp/builtins.c.orig	2007-09-04 06:14:05 +0200
-+++ ctpp-1.0.20/ctpp/builtins.c	2007-09-18 07:49:32 +0200
+Index: ctpp-1.0.21/ctpp/builtins.c
+--- ctpp-1.0.21/ctpp/builtins.c.orig	2007-09-04 06:14:05 +0200
++++ ctpp-1.0.21/ctpp/builtins.c	2007-09-18 07:49:32 +0200
 @@ -80,11 +80,12 @@
     *  config file included above.  See the comments in 
     *  config/linux-gnu-x86.c
@@ -151,9 +151,9 @@ Index: ctpp-1.0.20/ctpp/builtins.c
 +#endif
    return FALSE;
  }
-Index: ctpp-1.0.20/ctpp/ccompat.c
---- ctpp-1.0.20/ctpp/ccompat.c.orig	2007-09-04 06:14:05 +0200
-+++ ctpp-1.0.20/ctpp/ccompat.c	2007-09-18 07:49:32 +0200
+Index: ctpp-1.0.21/ctpp/ccompat.c
+--- ctpp-1.0.21/ctpp/ccompat.c.orig	2007-09-04 06:14:05 +0200
++++ ctpp-1.0.21/ctpp/ccompat.c	2007-09-18 07:49:32 +0200
 @@ -53,8 +53,10 @@
  
  char cpp_subdir[FILENAME_MAX];
@@ -174,9 +174,9 @@ Index: ctpp-1.0.20/ctpp/ccompat.c
  
    /* Try to find out what the compiler target is.  It may not 
       be the same as the autoconf $host.
-Index: ctpp-1.0.20/ctpp/i_opt.c
---- ctpp-1.0.20/ctpp/i_opt.c.orig	2007-08-27 03:18:27 +0200
-+++ ctpp-1.0.20/ctpp/i_opt.c	2007-09-18 07:49:32 +0200
+Index: ctpp-1.0.21/ctpp/i_opt.c
+--- ctpp-1.0.21/ctpp/i_opt.c.orig	2007-08-27 03:18:27 +0200
++++ ctpp-1.0.21/ctpp/i_opt.c	2007-09-18 07:49:32 +0200
 @@ -30,6 +30,8 @@
  #include <stdlib.h>
  #include <string.h>
@@ -186,9 +186,9 @@ Index: ctpp-1.0.20/ctpp/i_opt.c
  #include "ctpp.h"
  
  extern char source_file[FILENAME_MAX];  /* Declared in rtinfo.c. */
-Index: ctpp-1.0.20/libctpp/lex.c
---- ctpp-1.0.20/libctpp/lex.c.orig	2007-08-27 03:04:06 +0200
-+++ ctpp-1.0.20/libctpp/lex.c	2007-09-18 07:49:32 +0200
+Index: ctpp-1.0.21/libctpp/lex.c
+--- ctpp-1.0.21/libctpp/lex.c.orig	2007-08-27 03:04:06 +0200
++++ ctpp-1.0.21/libctpp/lex.c	2007-09-18 07:49:32 +0200
 @@ -26,6 +26,8 @@
  #include <string.h>
  #include <ctype.h>

+ 4 - 4
ctalk/ctalk.spec

@@ -24,7 +24,7 @@
 
 #   package versions
 %define       V_ctalk 0.0.15a
-%define       V_ctpp  1.0.20
+%define       V_ctpp  1.0.21a
 
 #   package information
 Name:         ctalk
@@ -37,7 +37,7 @@ Class:        EVAL
 Group:        Language
 License:      GPL
 Version:      %{V_ctalk}
-Release:      20071026
+Release:      20071029
 
 #   list of sources
 Source0:      http://switch.dl.sourceforge.net/ctalk-lang/ctalk-%{V_ctalk}.tar.gz
@@ -86,7 +86,7 @@ AutoReqProv:  no
           --disable-shared
       %{l_make} %{l_mflags -O}
     ) || exit $?
-    ( cd ctpp-%{V_ctpp}
+    ( cd ctpp-*
       CC="%{l_cc}" \
       CFLAGS="%{l_cflags -O}" \
       ./configure \
@@ -102,7 +102,7 @@ AutoReqProv:  no
     ( cd ctalk-*
       %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
     ) || exit $?
-    ( cd ctpp-%{V_ctpp}
+    ( cd ctpp-*
       %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
     ) || exit $?
     strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true