packages: cvsnt/cvsnt.spec, cvsnt/cvsnt-visibility.patch (NEW) - up to 2.5....

arekm arekm at pld-linux.org
Mon Aug 17 21:34:16 CEST 2009


Author: arekm                        Date: Mon Aug 17 19:34:16 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 2.5.04.3510 (visibility disabled - broken)

---- Files affected:
packages/cvsnt:
   cvsnt.spec (1.42 -> 1.43) , cvsnt-visibility.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/cvsnt/cvsnt.spec
diff -u packages/cvsnt/cvsnt.spec:1.42 packages/cvsnt/cvsnt.spec:1.43
--- packages/cvsnt/cvsnt.spec:1.42	Fri Jul  3 15:52:40 2009
+++ packages/cvsnt/cvsnt.spec	Mon Aug 17 21:34:11 2009
@@ -23,12 +23,12 @@
 Summary(pl.UTF-8):	Concurrent Versioning System
 Name:		cvsnt
 # 2.5.04 is current stable series (2.5.05 is not)
-Version:	2.5.04.3236
-Release:	8
+Version:	2.5.04.3510
+Release:	1
 License:	GPL v2+/LGPL v2+
 Group:		Development/Version Control
 Source0:	http://www.cvsnt.org/archive/%{name}-%{version}.tar.gz
-# Source0-md5:	853d1f2e1c89e8776467271d34bc0dcf
+# Source0-md5:	e4919c2d6d4b9795dc3a5cfa3a44836c
 Source1:	%{name}.inetd
 Source2:	%{name}-cvslockd.init
 Source3:	%{name}.pam
@@ -42,6 +42,7 @@
 Patch7:		%{name}-ipv6.patch
 Patch8:		%{name}-fixes.patch
 Patch9:		%{name}-gcc4.patch
+Patch10:	%{name}-visibility.patch
 URL:		http://www.cvsnt.org/
 BuildRequires:	autoconf >= 2.58
 BuildRequires:	automake >= 1:1.7.9
@@ -218,6 +219,7 @@
 %patch7 -p1
 %patch8 -p1
 %patch9 -p1
+%patch10 -p0
 
 rm -rf pcre libltdl zlib protocols/ntlm
 
@@ -405,6 +407,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.43  2009/08/17 19:34:11  arekm
+- up to 2.5.04.3510 (visibility disabled - broken)
+
 Revision 1.42  2009/07/03 13:52:40  baggins
 - rel 8
 - fixed gcc problems

================================================================
Index: packages/cvsnt/cvsnt-visibility.patch
diff -u /dev/null packages/cvsnt/cvsnt-visibility.patch:1.1
--- /dev/null	Mon Aug 17 21:34:16 2009
+++ packages/cvsnt/cvsnt-visibility.patch	Mon Aug 17 21:34:11 2009
@@ -0,0 +1,57 @@
+--- configure.in~	2009-08-17 21:27:40.152347576 +0200
++++ configure.in	2009-08-17 21:29:05.412340085 +0200
+@@ -52,54 +52,6 @@
+   fi
+ fi
+ 
+-# If Visibility support is available switch that on, to reduce the exported
+-# symbol space.
+-AC_ARG_ENABLE(visibility,
+-[  --enable-visibility     Enable gcc visibility options],
+-[],
+-[enable_visibility="no"])
+-if test x$enable_visibility = xyes; then
+-
+-AC_MSG_CHECKING(whether GNUC visibility support)
+-AC_CACHE_VAL(ac_cv_fvisibility_ok,
+-[ac_save_cc="$CC"
+-CC="$CC -fvisibility=hidden"
+-AC_TRY_RUN([int main() { return 0; }],
+-  ac_cv_fvisibility_ok=yes,
+-  ac_cv_fvisibility_ok=no,
+-  ac_cv_fvisibility_ok=no)
+-CC="$ac_save_cc"])
+-AC_MSG_RESULT($ac_cv_fvisibility_ok)
+-if test $ac_cv_fvisibility_ok = yes; then
+-AC_MSG_CHECKING(for GNUC visibility attribute)
+-GLIB_CHECK_COMPILE_WARNINGS([
+-void
+-__attribute__ ((visibility ("hidden")))
+-     f_hidden (void)
+-{
+-}
+-void
+-__attribute__ ((visibility ("default")))
+-     f_default (void)
+-{
+-}
+-int main (int argc, char **argv)
+-{
+-        f_hidden();
+-        f_default();
+-        return 0;
+-}
+-],g_have_gnuc_visibility=yes,g_have_gnuc_visibility=no)
+-AC_MSG_RESULT($g_have_gnuc_visibility)
+-if test x$g_have_gnuc_visibility = xyes; then
+-  AC_DEFINE(HAVE_GCC_VISIBILITY, 1, [supports GCC visibility attributes])
+-  CFLAGS="$CFLAGS -fvisibility=hidden"
+-  CXXFLAGS="$CXXFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
+-fi
+-fi
+-
+-fi
+-
+ dnl FIXME This is truly gross.
+ missing_dir=`cd $ac_aux_dir && pwd`
+ dnl FIXME I pulled this default list from sanity.sh.  Perhaps these lists
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/cvsnt/cvsnt.spec?r1=1.42&r2=1.43&f=u



More information about the pld-cvs-commit mailing list