tags 667311 + patch
thanks

diff -Nru opencsg-1.3.2/debian/changelog opencsg-1.3.2/debian/changelog
--- opencsg-1.3.2/debian/changelog      2012-02-03 17:59:49.000000000 +0000
+++ opencsg-1.3.2/debian/changelog      2012-04-17 11:54:21.000000000 +0000
@@ -1,3 +1,11 @@
+opencsg (1.3.2-1.1) unstable; urgency=low
+
+  * Non maintainer upload.
+  * Fix build failure with GCC 4.7, introduced by Debian changes.
+    Closes: #667311.
+
+ -- Matthias Klose <[email protected]>  Tue, 17 Apr 2012 13:53:37 +0200
+
 opencsg (1.3.2-1) unstable; urgency=low
 
   * New upstream bugfix release.
diff -Nru opencsg-1.3.2/debian/patches/debian-changes 
opencsg-1.3.2/debian/patches/debian-changes
--- opencsg-1.3.2/debian/patches/debian-changes 2012-02-03 18:03:12.000000000 
+0000
+++ opencsg-1.3.2/debian/patches/debian-changes 2012-04-17 11:54:54.000000000 
+0000
@@ -2,17 +2,21 @@
 changes mixed together. To review them
 separately, please inspect the GIT history
 at http://gitorious.org/openscad-debian/opencsg.
---- opencsg-1.3.2.orig/Makefile
-+++ opencsg-1.3.2/Makefile
+Index: opencsg-1.3.2/Makefile
+===================================================================
+--- opencsg-1.3.2.orig/Makefile        2012-04-17 11:52:37.343429996 +0000
++++ opencsg-1.3.2/Makefile     2012-04-17 11:54:24.375427346 +0000
 @@ -1,4 +1,4 @@
 -SUBDIRS = glew src example
 +SUBDIRS = src example
  
  all:
        for X in $(SUBDIRS); do make -C $$X ; done
---- opencsg-1.3.2.orig/src/Makefile
-+++ opencsg-1.3.2/src/Makefile
-@@ -16,9 +16,9 @@ CFLAGS   = -pipe -Wall -W -O2 -fPIC
+Index: opencsg-1.3.2/src/Makefile
+===================================================================
+--- opencsg-1.3.2.orig/src/Makefile    2012-04-17 11:52:37.343429996 +0000
++++ opencsg-1.3.2/src/Makefile 2012-04-17 11:54:24.375427346 +0000
+@@ -16,9 +16,9 @@
  CXXFLAGS = -pipe -Wall -W -O2 -fPIC
  LEXFLAGS = 
  YACCFLAGS= -d
@@ -20,7 +24,7 @@
 +INCPATH  = -I. -I../include -I.. -I/usr/X11R6/include
  LINK     = g++
 -LFLAGS   =  -shared -Wl,-soname,libopencsg.so.1 -Wl,-rpath,../lib
-+LFLAGS   =  -shared -Wl,-soname,libopencsg.so.1 -Wl
++LFLAGS   =  -shared -Wl,-soname,libopencsg.so.1
  LIBS     = $(SUBLIBS) -L/usr/X11R6/lib -lGLU -lGL -lXmu
  AR       = ar cqs
  RANLIB   = 

Reply via email to