[med-svn] r14840 - in trunk/packages/gdpc/trunk/debian: . patches

Andreas Tille tille at alioth.debian.org
Tue Oct 15 13:19:09 UTC 2013


Author: tille
Date: 2013-10-15 13:19:08 +0000 (Tue, 15 Oct 2013)
New Revision: 14840

Added:
   trunk/packages/gdpc/trunk/debian/patches/40_fix_gcc4.8_build.patch
Modified:
   trunk/packages/gdpc/trunk/debian/changelog
   trunk/packages/gdpc/trunk/debian/patches/series
Log:
Fix build with gcc4.8


Modified: trunk/packages/gdpc/trunk/debian/changelog
===================================================================
--- trunk/packages/gdpc/trunk/debian/changelog	2013-10-15 13:04:33 UTC (rev 14839)
+++ trunk/packages/gdpc/trunk/debian/changelog	2013-10-15 13:19:08 UTC (rev 14840)
@@ -5,6 +5,9 @@
      - debhelper 9
      - Use anonscm in Vcs fields
   * debian/copyright: DEP5
+  * debian/patches/40_fix_gcc4.8_build.patch:
+    Fix build with gcc4.8
+    Closes: #713652
 
  -- Andreas Tille <tille at debian.org>  Tue, 15 Oct 2013 14:55:27 +0200
 

Added: trunk/packages/gdpc/trunk/debian/patches/40_fix_gcc4.8_build.patch
===================================================================
--- trunk/packages/gdpc/trunk/debian/patches/40_fix_gcc4.8_build.patch	                        (rev 0)
+++ trunk/packages/gdpc/trunk/debian/patches/40_fix_gcc4.8_build.patch	2013-10-15 13:19:08 UTC (rev 14840)
@@ -0,0 +1,15 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Tue, 15 Oct 2013 14:55:27 +0200
+Bug-Debian: http://bugs.debian.org/713652
+Description: Add missing -lm to linker which is required when using gcc 4.8
+
+--- a/Makefile
++++ b/Makefile
+@@ -1,6 +1,6 @@
+ CC = gcc
+ FLAGS=$(CFLAGS) -g -Wall `pkg-config --cflags gtk+-2.0 gthread-2.0` -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED
+-LIBS=`pkg-config --libs gtk+-2.0 gthread-2.0`
++LIBS=`pkg-config --libs gtk+-2.0 gthread-2.0` -lm
+ bindir ?= /usr/bin
+ 
+ .c.o:

Modified: trunk/packages/gdpc/trunk/debian/patches/series
===================================================================
--- trunk/packages/gdpc/trunk/debian/patches/series	2013-10-15 13:04:33 UTC (rev 14839)
+++ trunk/packages/gdpc/trunk/debian/patches/series	2013-10-15 13:19:08 UTC (rev 14840)
@@ -1,2 +1,3 @@
 20_Makefile_options.patch
 30_gdk_enable_deprecated.patch
+40_fix_gcc4.8_build.patch




More information about the debian-med-commit mailing list