packages: newt/newt.spec, newt/gold.patch (NEW) - fix building with gold - ...

wiget wiget at pld-linux.org
Sun Jul 17 17:12:50 CEST 2011


Author: wiget                        Date: Sun Jul 17 15:12:50 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix building with gold
- rel. 4

---- Files affected:
packages/newt:
   newt.spec (1.101 -> 1.102) , gold.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/newt/newt.spec
diff -u packages/newt/newt.spec:1.101 packages/newt/newt.spec:1.102
--- packages/newt/newt.spec:1.101	Wed Jul  6 20:08:34 2011
+++ packages/newt/newt.spec	Sun Jul 17 17:12:45 2011
@@ -11,7 +11,7 @@
 Summary(tr.UTF-8):	Not Erik's Windowing Toolkit - metin kipi pencereleme sistemi
 Name:		newt
 Version:	0.52.13
-Release:	3
+Release:	4
 License:	LGPL
 Group:		Libraries
 Source0:	https://fedorahosted.org/releases/n/e/newt/%{name}-%{version}.tar.gz
@@ -21,6 +21,7 @@
 Patch2:		%{name}-nopython.patch
 Patch3:		%{name}-make.patch
 Patch4:		%{name}-multipython.patch
+Patch5:		gold.patch
 URL:		https://fedorahosted.org/newt/
 BuildRequires:	autoconf >= 2.50
 BuildRequires:	docbook-utils
@@ -165,6 +166,7 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 %{__sed} -i -e 's,^#include <slang.h>$,#include <slang/slang.h>,g' dialogboxes.c
 
@@ -249,6 +251,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.102  2011/07/17 15:12:45  wiget
+- fix building with gold
+- rel. 4
+
 Revision 1.101  2011/07/06 18:08:34  arekm
 - rel 3; package so.XX, too (ldconfig doesn't create these here)
 

================================================================
Index: packages/newt/gold.patch
diff -u /dev/null packages/newt/gold.patch:1.1
--- /dev/null	Sun Jul 17 17:12:50 2011
+++ packages/newt/gold.patch	Sun Jul 17 17:12:45 2011
@@ -0,0 +1,11 @@
+--- newt-0.52.13/configure.ac.wiget	2011-07-17 17:07:20.843018152 +0200
++++ newt-0.52.13/configure.ac	2011-07-17 17:09:11.307821301 +0200
+@@ -19,7 +19,7 @@ AC_PROG_GREP
+ AC_MSG_CHECKING([for GNU ld])
+ LD=`$CC -print-prog-name=ld 2>&5`
+ 
+-if test `$LD -v 2>&1 | $ac_cv_path_GREP -c "GNU ld"` = 0; then
++if test `$LD -v 2>&1 | $ac_cv_path_GREP -cE "GNU (go)?ld"` = 0; then
+   # Not
+   GNU_LD=""
+   AC_MSG_RESULT([no])
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/newt/newt.spec?r1=1.101&r2=1.102&f=u



More information about the pld-cvs-commit mailing list