ALT Linux repos
Group :: System/Libraries
RPM: pcre
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: pcre-7.4-alt1.patch
Download
Download
pcre-config.in | 14 ++------------
pcretest.c | 2 +-
2 files changed, 3 insertions(+), 13 deletions(-)
diff --git a/pcre-config.in b/pcre-config.in
index 3b52101..7933cd4 100644
--- a/pcre-config.in
+++ b/pcre-config.in
@@ -12,16 +12,6 @@ if test $# -eq 0; then
exit 1
fi
-libR=
-case `uname -s` in
- *SunOS*)
- libR=" -R@libdir@"
- ;;
- *BSD*)
- libR=" -Wl,-R@libdir@"
- ;;
-esac
-
while test $# -gt 0; do
case "$1" in
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
@@ -55,10 +45,10 @@ while test $# -gt 0; do
echo $includes
;;
--libs-posix)
- echo -L@libdir@$libR -lpcreposix -lpcre
+ echo -lpcreposix -lpcre
;;
--libs)
- echo -L@libdir@$libR -lpcre
+ echo -lpcre
;;
*)
echo "${usage}" 1>&2
diff --git a/pcretest.c b/pcretest.c
index a222146..a00d044 100644
--- a/pcretest.c
+++ b/pcretest.c
@@ -764,7 +764,7 @@ options, followed by a set of test data, terminated by an empty line. */
int main(int argc, char **argv)
{
FILE *infile = stdin;
-int options = 0;
+long int options = 0;
int study_options = 0;
int op = 1;
int timeit = 0;