Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37046909
en ru br
Репозитории ALT
S:8.45-alt2
5.1: 7.9-alt3
4.1: 7.6-alt1.M41.1
4.0: 7.6-alt1.M40.1
+updates:7.4-alt1
3.0: 6.4-alt1
www.altlinux.org/Changes

Группа :: Система/Библиотеки
Пакет: pcre

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: pcre-7.3-deb-alt-shlib.patch
Скачать


 Debian release of PCRE 4.5 had
 
 PCRE_LIB_VERSION=13:0:10
 PCRE_POSIXLIB_VERSION=13:0:10
 
 which corresponds to latest debian-revision (soname libpcre.so.3,
 installed as libpcre.so.3.9.0) and followed the instructions about version
 numbering in the libtool manual:
 |  3. If the library source code has changed at all since the last
 |     update, then increment REVISION (`C:R:A' becomes `C:r+1:A').
 
 13:1:10
 
   4. If any interfaces have been added, removed, or changed since the
      last update, increment CURRENT, and set REVISION to 0.
 
 14:0:10
 
   5. If any interfaces have been added since the last public release,
      then increment AGE.
 
 14:0:11
 
   6. If any interfaces have been removed since the last public release,
      then set AGE to 0.
 
 n/a
 
 Therefore I'm using 14:0:11 for this release of PCRE 5.0
--- pcre/configure.ac
+++ pcre/configure.ac
@@ -12,9 +12,9 @@ m4_define(pcre_prerelease, [])
 m4_define(pcre_date, [2007-08-28])
 
 # Libtool shared library interface versions (current:revision:age)
-m4_define(libpcre_version, [0:1:0])
-m4_define(libpcreposix_version, [0:0:0])
-m4_define(libpcrecpp_version, [0:0:0])
+m4_define(libpcre_version, [17:4:14])
+m4_define(libpcreposix_version, [17:4:14])
+m4_define(libpcrecpp_version, [1:0:0])
 
 AC_PREREQ(2.57)
 AC_INIT(PCRE, pcre_major.pcre_minor[]pcre_prerelease, , pcre)
--- pcre/configure
+++ pcre/configure
@@ -21369,11 +21369,11 @@ esac
 # The extra LDFLAGS for each particular library
 # (Note: The libpcre*_version bits are m4 variables, assigned above)
 
-EXTRA_LIBPCRE_LDFLAGS="$NO_UNDEFINED -version-info 0:1:0"
+EXTRA_LIBPCRE_LDFLAGS="$NO_UNDEFINED -version-info 17:4:14"
 
-EXTRA_LIBPCREPOSIX_LDFLAGS="$NO_UNDEFINED -version-info 0:0:0"
+EXTRA_LIBPCREPOSIX_LDFLAGS="$NO_UNDEFINED -version-info 17:4:14"
 
-EXTRA_LIBPCRECPP_LDFLAGS="$NO_UNDEFINED $EXPORT_ALL_SYMBOLS -version-info 0:0:0"
+EXTRA_LIBPCRECPP_LDFLAGS="$NO_UNDEFINED $EXPORT_ALL_SYMBOLS -version-info 1:0:0"
 
 
 
--- pcre/pcreposix.h
+++ pcre/pcreposix.h
@@ -129,14 +129,19 @@ file. */
 
 /* The functions */
 
-PCREPOSIX_EXP_DECL int regcomp(regex_t *, const char *, int);
-PCREPOSIX_EXP_DECL int regexec(const regex_t *, const char *, size_t,
+PCREPOSIX_EXP_DECL int pcreposix_regcomp(regex_t *, const char *, int);
+PCREPOSIX_EXP_DECL int pcreposix_regexec(const regex_t *, const char *, size_t,
                      regmatch_t *, int);
-PCREPOSIX_EXP_DECL size_t regerror(int, const regex_t *, char *, size_t);
-PCREPOSIX_EXP_DECL void regfree(regex_t *);
+PCREPOSIX_EXP_DECL size_t pcreposix_regerror(int, const regex_t *, char *, size_t);
+PCREPOSIX_EXP_DECL void pcreposix_regfree(regex_t *);
 
 #ifdef __cplusplus
 }   /* extern "C" */
 #endif
 
+#define regcomp pcreposix_regcomp
+#define regexec pcreposix_regexec
+#define regerror pcreposix_regerror
+#define regfree pcreposix_regfree
+
 #endif /* End of pcreposix.h */
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin