public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-editors/cooledit/files: cooledit-3.17.17-asneeded.patch cooledit-3.17.17-implicit_declarations.patch
@ 2008-12-07 13:04 Samuli Suominen (ssuominen)
  0 siblings, 0 replies; only message in thread
From: Samuli Suominen (ssuominen) @ 2008-12-07 13:04 UTC (permalink / raw
  To: gentoo-commits

ssuominen    08/12/07 13:04:20

  Added:                cooledit-3.17.17-asneeded.patch
                        cooledit-3.17.17-implicit_declarations.patch
  Log:
  Fix compilation with LDFLAGS -Wl,--as-needed and implicit declarations because of missing string.h and stdlib.h wrt #246879.
  (Portage version: 2.1.6_rc3/cvs/Linux 2.6.27.7 i686)

Revision  Changes    Path
1.1                  app-editors/cooledit/files/cooledit-3.17.17-asneeded.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/cooledit/files/cooledit-3.17.17-asneeded.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/cooledit/files/cooledit-3.17.17-asneeded.patch?rev=1.1&content-type=text/plain

Index: cooledit-3.17.17-asneeded.patch
===================================================================
diff -ur cooledit-3.17.17.orig/widget/Makefile.am cooledit-3.17.17/widget/Makefile.am
--- cooledit-3.17.17.orig/widget/Makefile.am	2005-04-04 23:47:45.000000000 +0300
+++ cooledit-3.17.17/widget/Makefile.am	2008-12-07 14:47:18.000000000 +0200
@@ -20,6 +20,7 @@
 	look-cool.c look-gtk.c look-next.c
 
 libCw_la_LDFLAGS = -version-info 1:0:0
+libCw_la_LIBADD = @X_LIBS@ -lX11 @X_EXTRA_LIBS@ @LIBINTL@
 
 DEFS = @X_CFLAGS@ -DLOCALEDIR=\"$(localedir)\" -DLIBDIR=\"${exec_prefix}/share/cooledit\" @DEFS@ 
 



1.1                  app-editors/cooledit/files/cooledit-3.17.17-implicit_declarations.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/cooledit/files/cooledit-3.17.17-implicit_declarations.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/cooledit/files/cooledit-3.17.17-implicit_declarations.patch?rev=1.1&content-type=text/plain

Index: cooledit-3.17.17-implicit_declarations.patch
===================================================================
diff -ur cooledit-3.17.17.orig/editor/postscript.c cooledit-3.17.17/editor/postscript.c
--- cooledit-3.17.17.orig/editor/postscript.c	2005-04-04 23:47:45.000000000 +0300
+++ cooledit-3.17.17/editor/postscript.c	2008-12-07 14:55:25.000000000 +0200
@@ -1,5 +1,7 @@
 #include <config.h>
+#include <stdlib.h>
 #include <stdio.h>
+#include <string.h>
 #ifdef HAVE_SYS_STAT_H
 #include <sys/stat.h>
 #endif
diff -ur cooledit-3.17.17.orig/widget/aafont.c cooledit-3.17.17/widget/aafont.c
--- cooledit-3.17.17.orig/widget/aafont.c	2005-04-04 23:47:45.000000000 +0300
+++ cooledit-3.17.17/widget/aafont.c	2008-12-07 14:54:23.000000000 +0200
@@ -20,6 +20,7 @@
 #include <config.h>
 #include <stdlib.h>
 #include <stdio.h>
+#include <string.h>
 #include <X11/Xlib.h>
 #include <X11/Xutil.h>
 #include "aafont.h"
diff -ur cooledit-3.17.17.orig/widget/mad.c cooledit-3.17.17/widget/mad.c
--- cooledit-3.17.17.orig/widget/mad.c	2005-04-04 23:47:45.000000000 +0300
+++ cooledit-3.17.17/widget/mad.c	2008-12-07 14:54:30.000000000 +0200
@@ -22,6 +22,8 @@
 /* Generation MAD. It is based on the debauch package.              */
 /********************************************************************/
 
+#include <stdlib.h>
+#include <string.h>
 #include "mad.h"
 
 #undef malloc






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-12-07 13:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-07 13:04 [gentoo-commits] gentoo-x86 commit in app-editors/cooledit/files: cooledit-3.17.17-asneeded.patch cooledit-3.17.17-implicit_declarations.patch Samuli Suominen (ssuominen)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox