Hello community,

here is the log from the commit of package libHX for openSUSE:Factory checked 
in at 2014-04-26 10:05:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libHX (Old)
 and      /work/SRC/openSUSE:Factory/.libHX.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libHX"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libHX/libHX.changes      2014-02-25 
07:33:18.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libHX.new/libHX.changes 2014-04-26 
10:05:45.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Apr 18 16:29:13 UTC 2014 - [email protected]
+
+- Update to new upstream release 3.20
+* Build fixes for the Solaris platform
+
+-------------------------------------------------------------------

Old:
----
  libHX-3.19.tar.xz
  libHX-3.19.tar.xz.asc

New:
----
  libHX-3.20.tar.asc
  libHX-3.20.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libHX.spec ++++++
--- /var/tmp/diff_new_pack.kfL5xk/_old  2014-04-26 10:05:45.000000000 +0200
+++ /var/tmp/diff_new_pack.kfL5xk/_new  2014-04-26 10:05:45.000000000 +0200
@@ -21,21 +21,18 @@
 Summary:        Useful collection of routines for C and C++ programming
 License:        LGPL-2.1 or LGPL-3.0
 Group:          Development/Libraries/C and C++
-Version:        3.19
+Version:        3.20
 Release:        0
 Url:            http://libhx.sf.net/
 
 Source:         http://downloads.sf.net/libhx/libHX-%version.tar.xz
-Source2:        http://downloads.sf.net/libhx/libHX-%version.tar.xz.asc
+Source2:        http://downloads.sf.net/libhx/libHX-%version.tar.asc
 Source3:        baselibs.conf
 Source4:        %name.keyring
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  gcc-c++
 BuildRequires:  pkgconfig
 BuildRequires:  xz
-%if 0%{?suse_version} >= 1230
-BuildRequires:  gpg-offline
-%endif
 
 %description
 libHX is a C library (with some C++ bindings available) that provides
@@ -72,7 +69,6 @@
 file parsing, type checking casts and more.
 
 %prep
-%{?gpg_verify: %gpg_verify %{S:2}}
 %if 0%{?__xz:1}
 %setup -q
 %else

++++++ libHX-3.19.tar.xz -> libHX-3.20.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libHX-3.19/configure new/libHX-3.20/configure
--- old/libHX-3.19/configure    2014-02-21 19:39:42.000000000 +0100
+++ new/libHX-3.20/configure    2014-04-18 18:28:15.000000000 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for libHX 3.19.
+# Generated by GNU Autoconf 2.69 for libHX 3.20.
 #
 #
 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@@ -587,8 +587,8 @@
 # Identity of this package.
 PACKAGE_NAME='libHX'
 PACKAGE_TARNAME='libhx'
-PACKAGE_VERSION='3.19'
-PACKAGE_STRING='libHX 3.19'
+PACKAGE_VERSION='3.20'
+PACKAGE_STRING='libHX 3.20'
 PACKAGE_BUGREPORT=''
 PACKAGE_URL=''
 
@@ -646,6 +646,8 @@
 libdl_LIBS
 HAVE_DLFCN_H_FALSE
 HAVE_DLFCN_H_TRUE
+WITH_GNU_LD_FALSE
+WITH_GNU_LD_TRUE
 pkgconfigdir
 MINGW32_FALSE
 MINGW32_TRUE
@@ -1337,7 +1339,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures libHX 3.19 to adapt to many kinds of systems.
+\`configure' configures libHX 3.20 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1407,7 +1409,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of libHX 3.19:";;
+     short | recursive ) echo "Configuration of libHX 3.20:";;
    esac
   cat <<\_ACEOF
 
@@ -1517,7 +1519,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-libHX configure 3.19
+libHX configure 3.20
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2243,7 +2245,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by libHX $as_me 3.19, which was
+It was created by libHX $as_me 3.20, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -3109,7 +3111,7 @@
 
 # Define the identity of the package.
  PACKAGE='libhx'
- VERSION='3.19'
+ VERSION='3.20'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -15884,6 +15886,15 @@
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
+ if test "$with_gnu_ld" = yes; then
+  WITH_GNU_LD_TRUE=
+  WITH_GNU_LD_FALSE='#'
+else
+  WITH_GNU_LD_TRUE='#'
+  WITH_GNU_LD_FALSE=
+fi
+
+
 LIBS_system="$LIBS"
 for ac_header in dlfcn.h
 do :
@@ -16685,6 +16696,10 @@
   as_fn_error $? "conditional \"MINGW32\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
+if test -z "${WITH_GNU_LD_TRUE}" && test -z "${WITH_GNU_LD_FALSE}"; then
+  as_fn_error $? "conditional \"WITH_GNU_LD\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
 if test -z "${HAVE_DLFCN_H_TRUE}" && test -z "${HAVE_DLFCN_H_FALSE}"; then
   as_fn_error $? "conditional \"HAVE_DLFCN_H\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
@@ -17094,7 +17109,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by libHX $as_me 3.19, which was
+This file was extended by libHX $as_me 3.20, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -17160,7 +17175,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-libHX config.status 3.19
+libHX config.status 3.20
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libHX-3.19/configure.ac new/libHX-3.20/configure.ac
--- old/libHX-3.19/configure.ac 2014-02-21 19:39:10.000000000 +0100
+++ new/libHX-3.20/configure.ac 2014-04-18 18:27:55.000000000 +0200
@@ -1,4 +1,4 @@
-AC_INIT([libHX], [3.19])
+AC_INIT([libHX], [3.20])
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_HEADERS([config.h])
 AC_CONFIG_MACRO_DIR([m4])
@@ -41,6 +41,8 @@
 AC_SUBST([pkgconfigdir])
 
 CHECK_GCC_FVISIBILITY
+AM_CONDITIONAL([WITH_GNU_LD], [test "$with_gnu_ld" = yes])
+
 LIBS_system="$LIBS"
 AC_CHECK_HEADERS([dlfcn.h])
 AM_CONDITIONAL([HAVE_DLFCN_H], [test "$ac_cv_header_dlfcn_h" = "yes"])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libHX-3.19/doc/changelog.txt 
new/libHX-3.20/doc/changelog.txt
--- old/libHX-3.19/doc/changelog.txt    2014-02-21 19:39:10.000000000 +0100
+++ new/libHX-3.20/doc/changelog.txt    2014-04-18 18:27:55.000000000 +0200
@@ -4,6 +4,12 @@
 ====
 
 
+v3.20 (2014-04-18)
+==================
+Enhancements:
+- resolve some link errors when built with Solaris ld
+
+
 v3.19 (2014-02-21)
 ==================
 Enhancements:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libHX-3.19/doc/libHX_Documentation.lyx 
new/libHX-3.20/doc/libHX_Documentation.lyx
--- old/libHX-3.19/doc/libHX_Documentation.lyx  2014-02-21 19:39:10.000000000 
+0100
+++ new/libHX-3.20/doc/libHX_Documentation.lyx  2014-04-18 18:27:55.000000000 
+0200
@@ -74,7 +74,7 @@
 \begin_body
 
 \begin_layout Title
-libHX 3.19
+libHX 3.20
 \begin_inset Newline newline
 \end_inset
 
@@ -11014,7 +11014,7 @@
 \series bold
 char *
 \series default
-HX_basename_safe(
+HX_basename_exact(
 \series bold
 const char *
 \series default
@@ -11025,7 +11025,7 @@
 \begin_layout Plain Layout
 
 \family typewriter
-HX_basename_safe
+HX_basename_exact
 \end_layout
 
 \end_inset
Files old/libHX-3.19/doc/libHX_Documentation.pdf and 
new/libHX-3.20/doc/libHX_Documentation.pdf differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libHX-3.19/src/Makefile.am 
new/libHX-3.20/src/Makefile.am
--- old/libHX-3.19/src/Makefile.am      2014-02-21 19:39:10.000000000 +0100
+++ new/libHX-3.20/src/Makefile.am      2014-04-18 18:27:55.000000000 +0200
@@ -13,8 +13,10 @@
                    mc.c misc.c opt.c \
                    rand.c string.c time.c
 libHX_la_LIBADD  = ${libdl_LIBS} ${libpthread_LIBS} ${librt_LIBS}
-libHX_la_LDFLAGS = -no-undefined -version-info 31:0:3 \
-                   -Wl,--version-script=${srcdir}/libHX.map
+libHX_la_LDFLAGS = -no-undefined -version-info 31:0:3
+if WITH_GNU_LD
+libHX_la_LDFLAGS += -Wl,--version-script=${srcdir}/libHX.map
+endif
 libHX_la_DEPENDENCIES = libHX.map
 
 if MINGW32
@@ -26,8 +28,10 @@
 
 libHX_rtcheck_la_SOURCES = rtcheck.c
 libHX_rtcheck_la_LIBADD  = ${libdl_LIBS}
-libHX_rtcheck_la_LDFLAGS = -no-undefined -avoid-version -module \
-                           -Wl,--version-script=${srcdir}/libHX.map
+libHX_rtcheck_la_LDFLAGS = -no-undefined -avoid-version -module
+if WITH_GNU_LD
+libHX_rtcheck_la_LDFLAGS += -Wl,--version-script=${srcdir}/libHX.map
+endif
 
 EXTRA_DIST = internal.h map_int.h libHX.map
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libHX-3.19/src/Makefile.in 
new/libHX-3.20/src/Makefile.in
--- old/libHX-3.19/src/Makefile.in      2014-02-21 19:39:43.000000000 +0100
+++ new/libHX-3.20/src/Makefile.in      2014-04-18 18:28:16.000000000 +0200
@@ -81,8 +81,10 @@
 build_triplet = @build@
 host_triplet = @host@
 @HAVE_DLFCN_H_TRUE@am__append_1 = libHX_rtcheck.la
-@MINGW32_TRUE@am__append_2 = ux-file.c ux-mmap.c
-@B_PROC_TRUE@am__append_3 = proc.c
+@WITH_GNU_LD_TRUE@am__append_2 = -Wl,--version-script=${srcdir}/libHX.map
+@MINGW32_TRUE@am__append_3 = ux-file.c ux-mmap.c
+@B_PROC_TRUE@am__append_4 = proc.c
+@WITH_GNU_LD_TRUE@am__append_5 = -Wl,--version-script=${srcdir}/libHX.map
 check_PROGRAMS = tc-compile$(EXEEXT) tc-cast$(EXEEXT) \
        tc-deque$(EXEEXT) tc-dir$(EXEEXT) tc-format$(EXEEXT) \
        tc-link$(EXEEXT) tc-list$(EXEEXT) tc-list2$(EXEEXT) \
@@ -92,12 +94,12 @@
        tc-strchr2$(EXEEXT) tc-string$(EXEEXT) tc-strquote$(EXEEXT) \
        tc-time$(EXEEXT) $(am__EXEEXT_1)
 TESTS = tc-strchr2$(EXEEXT) tc-strquote$(EXEEXT) $(am__EXEEXT_2)
-@HAVE_CXX_TRUE@am__append_4 = tx-compile tx-cast tx-deque tx-dir tx-list 
tx-list2 \
+@HAVE_CXX_TRUE@am__append_6 = tx-compile tx-cast tx-deque tx-dir tx-list 
tx-list2 \
 @HAVE_CXX_TRUE@                     tx-misc tx-netio \
 @HAVE_CXX_TRUE@                     tx-option tx-proc tx-rand tx-strchr2 
tx-string \
 @HAVE_CXX_TRUE@                     tx-strquote tx-time
 
-@HAVE_CXX_TRUE@am__append_5 = tx-strchr2 tx-strquote
+@HAVE_CXX_TRUE@am__append_7 = tx-strchr2 tx-strquote
 subdir = src
 DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
        $(top_srcdir)/build-aux/depcomp \
@@ -720,17 +722,14 @@
 AM_CXXFLAGS = ${regular_CXXFLAGS}
 lib_LTLIBRARIES = libHX.la $(am__append_1)
 libHX_la_SOURCES = deque.c dl.c format.c io.c map.c mc.c misc.c opt.c \
-       rand.c string.c time.c $(am__append_2) $(am__append_3)
+       rand.c string.c time.c $(am__append_3) $(am__append_4)
 libHX_la_LIBADD = ${libdl_LIBS} ${libpthread_LIBS} ${librt_LIBS}
-libHX_la_LDFLAGS = -no-undefined -version-info 31:0:3 \
-                   -Wl,--version-script=${srcdir}/libHX.map
-
+libHX_la_LDFLAGS = -no-undefined -version-info 31:0:3 $(am__append_2)
 libHX_la_DEPENDENCIES = libHX.map
 libHX_rtcheck_la_SOURCES = rtcheck.c
 libHX_rtcheck_la_LIBADD = ${libdl_LIBS}
 libHX_rtcheck_la_LDFLAGS = -no-undefined -avoid-version -module \
-                           -Wl,--version-script=${srcdir}/libHX.map
-
+       $(am__append_5)
 EXTRA_DIST = internal.h map_int.h libHX.map
 tc_cast_CFLAGS = ${AM_CFLAGS} -std=gnu99
 tc_cast_LDADD = libHX.la -lm
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libHX-3.19/src/io.c new/libHX-3.20/src/io.c
--- old/libHX-3.19/src/io.c     2014-02-21 19:39:10.000000000 +0100
+++ new/libHX-3.20/src/io.c     2014-04-18 18:27:55.000000000 +0200
@@ -99,7 +99,16 @@
                size -= sizeof(d->dentry) - offsetof(struct dirent, d_name);
                size += name_max + 1;
        } else {
+#ifdef NAME_MAX
                size += NAME_MAX; /* "best effort" :-/ */
+#elif defined(MAXNAMELEN)
+               size += MAXNAMELEN;
+#else
+               fprintf(stderr, "libHX-warning: Cannot determine buffer size 
for readdir\n");
+               closedir(tmp_dh);
+               errno = EINVAL;
+               return NULL;
+#endif
        }
        if ((d = malloc(size)) == NULL) {
                closedir(tmp_dh);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libHX-3.19/src/libHX.map new/libHX-3.20/src/libHX.map
--- old/libHX-3.19/src/libHX.map        2014-02-21 19:39:10.000000000 +0100
+++ new/libHX-3.20/src/libHX.map        2014-04-18 18:27:55.000000000 +0200
@@ -33,7 +33,6 @@
        HX_strsep;
        HX_strupper;
        HX_zvecfree;
-       HX_zveclen;
        HXdeque_del;
        HXdeque_find;
        HXdeque_free;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libHX-3.19/src/string.c new/libHX-3.20/src/string.c
--- old/libHX-3.19/src/string.c 2014-02-21 19:39:10.000000000 +0100
+++ new/libHX-3.20/src/string.c 2014-04-18 18:27:55.000000000 +0200
@@ -48,9 +48,15 @@
 EXPORT_SYMBOL char *HX_basename(const char *s)
 {
        const char *p;
+       /* ignore trailing slashes */
        for (p = s + strlen(s) - 1; p >= s && *p == '/'; --p)
                ;
        if (p < s)
+               /*
+                * String contained only slashes - this must be the root
+                * directory. Since we have the opportunity, rather than
+                * returning "////", just give the cleaned-up "/".
+                */
                return const_cast1(char *, s + strlen(s) - 1);
        if ((p = HX_strbchr(s, p, '/')) != NULL)
                return const_cast1(char *, p + 1);
@@ -65,9 +71,11 @@
 
        if (*s == '\0')
                return HX_strdup(".");
+       /* ignore trailing slashes */
        for (end = s + strlen(s) - 1; end >= s && *end == '/'; --end)
                ;
        if (end < s)
+               /* string consisted of only slashes */
                return HX_strdup("/");
 
        start = HX_strbchr(s, end, '/');
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libHX-3.19/src/tc-string.c 
new/libHX-3.20/src/tc-string.c
--- old/libHX-3.19/src/tc-string.c      2014-02-21 19:39:10.000000000 +0100
+++ new/libHX-3.20/src/tc-string.c      2014-04-18 18:27:55.000000000 +0200
@@ -46,31 +46,22 @@
 static void t_path(void)
 {
        static const char *const paths[] = {
-               ".", "..", "/", "//", "/.", "/./", "/./.",
+               ".", "..", "/", "//", "/.", "/./", "/.//", "/./.",
                "/mnt", "//mnt", "/mnt/", "//mnt/", "//mnt//", "//mnt//root",
                "/mnt/.", "/mnt/./", "mnt", "mnt/", "mnt/root", "mnt/root/",
                "mnt//root", NULL
        };
        const char *const *iter;
-       char *item;
 
-       printf("# dirname\n");
+       printf("#\tname\tbn\tbne\tdn\n");
        for (iter = paths; *iter != NULL; ++iter) {
-               item = HX_dirname(*iter);
-               printf("\t%s -> %s\n", *iter, item);
-               free(item);
+               char *bn = HX_basename(*iter);
+               char *bne = HX_basename_exact(*iter);
+               char *dn = HX_dirname(*iter);
+               printf("\t%s\t%s\t%s\t%s\n", *iter, bn, bne, dn);
+               free(bne);
+               free(dn);
        }
-
-       printf("# basename_exact\n");
-       for (iter = paths; *iter != NULL; ++iter) {
-               item = HX_basename_exact(*iter);
-               printf("\t%s -> %s\n", *iter, item);
-               free(item);
-       }
-
-       printf("# basename_fast\n");
-       for (iter = paths; *iter != NULL; ++iter)
-               printf("\t%s -> %s\n", *iter, HX_basename(*iter));
 }
 
 static void t_strcpy(void)

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to