Accepting request 178232 from home:elvigia:branches:Base:System

- Ensure the PCRE library and tools are built with large file 
  support in 32 bit archs.

OBS-URL: https://build.opensuse.org/request/show/178232
OBS-URL: https://build.opensuse.org/package/show/Base:System/pcre?expand=0&rev=49
This commit is contained in:
2013-06-09 13:45:47 +00:00
committed by Git OBS Bridge
parent cd6d8e1c48
commit 81d5c2609c
3 changed files with 21 additions and 8 deletions

View File

@@ -5,11 +5,8 @@ Subject: [PATCH] build: Use GCC visibility to hide private symbols
http://bugs.exim.org/show_bug.cgi?id=1173
--
diff --git a/m4/visibility.m4 b/m4/visibility.m4
new file mode 100644
index 0000000..07fccee
--- /dev/null
+++ b/m4/visibility.m4
+++ pcre-8.32/m4/visibility.m4
@@ -0,0 +1,89 @@
+# visibility.m4 serial 4 (gettext-0.18.2)
+dnl Copyright (C) 2005, 2008, 2010-2011 Free Software Foundation, Inc.
@@ -100,6 +97,16 @@ index 0000000..07fccee
+ AC_DEFINE_UNQUOTED([HAVE_VISIBILITY], [$HAVE_VISIBILITY],
+ [Define to 1 or 0, depending whether the compiler supports simple visibility declarations.])
+])
--
1.7.12.503.g5976753.dirty
--- pcre-8.32.orig/configure.ac
+++ pcre-8.32/configure.ac
@@ -46,7 +46,9 @@ AC_CONFIG_MACRO_DIR([m4])
remember_set_CFLAGS="$CFLAGS"
remember_set_CXXFLAGS="$CXXFLAGS"
-AC_PROG_CC
+AC_PROG_CC_STDC
+AC_USE_SYSTEM_EXTENSIONS
+AC_SYS_LARGEFILE
AC_PROG_CXX
AM_PROG_CC_C_O

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Jun 8 20:16:10 UTC 2013 - crrodriguez@opensuse.org
- Ensure the PCRE library and tools are built with large file
support in 32 bit archs.
-------------------------------------------------------------------
Sun Jan 6 15:40:59 UTC 2013 - p.drouand@gmail.com

View File

@@ -159,7 +159,7 @@ autoreconf -fiv
--enable-pcre16 \
--enable-utf8 \
--enable-unicode-properties
%{__make} %{?_smp_mflags}
%{__make} %{?_smp_mflags} V=1
%install
%makeinstall