Package: pornview
Severity: normal

Hi dear maintainer, 

        this bug has been fixed in Ubuntu, and I am attaching the respective 
patch here.

The following changes has been made: 

  * reordered libs parameters passed to ld to build with --no-add-needed in
    src/Makefile.am and src/Makefile.in

Thanks for considering my patch.

Best regards.

-- System Information:
Debian Release: 6.0.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u pornview-0.2pre1/debian/changelog pornview-0.2pre1/debian/changelog
--- pornview-0.2pre1/debian/changelog
+++ pornview-0.2pre1/debian/changelog
@@ -1,3 +1,12 @@
+pornview (0.2pre1-11.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * debian/patches/change-libs-param-order-with-ld.patch: reordered
+    libs parameters passed to ld to build with --no-add-needed in
+    src/Makefile.am and src/Makefile.in (Closes: #615765)
+
+ -- Sebastian Carneiro <scarne...@fibertel.com.ar>  Sat, 30 Jul 2011 00:42:44 -0300
+
 pornview (0.2pre1-11) unstable; urgency=low
 
   * Ack NMU
diff -u pornview-0.2pre1/debian/patches/series pornview-0.2pre1/debian/patches/series
--- pornview-0.2pre1/debian/patches/series
+++ pornview-0.2pre1/debian/patches/series
@@ -14,0 +15 @@
+change-libs-param-order-with-ld.patch
only in patch2:
unchanged:
--- pornview-0.2pre1.orig/debian/patches/change-libs-param-order-with-ld.patch
+++ pornview-0.2pre1/debian/patches/change-libs-param-order-with-ld.patch
@@ -0,0 +1,33 @@
+Description: Change in libs parameter order to linker in order to build
+ successfully with ld --no-add-needed
+Origin/Author: Sebastian Carneiro <scarne...@fibertel.com.ar>
+Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=615765
+
+Index: pornview-0.2pre1/src/Makefile.am
+===================================================================
+--- pornview-0.2pre1.orig/src/Makefile.am	2011-07-30 00:40:44.000000000 -0300
++++ pornview-0.2pre1/src/Makefile.am	2011-07-30 00:41:10.000000000 -0300
+@@ -52,7 +52,7 @@
+ pornview_LDFLAGS = \
+ 	-export-dynamic
+ 
+-pornview_LDADD = $(GTK_LIBS) $(GDK_PIXBUF_LIBS) $(PNG_LIBS) $(MOVIELIB_LIBS) \
++pornview_LDADD = prefs_ui/libprefs_ui.la  support/widgets/libsupport_widgets.la support/libsupport_utils.la$ \
++	(GTK_LIBS) $(GDK_PIXBUF_LIBS) $(PNG_LIBS) $(MOVIELIB_LIBS) \
+ 	$(INTLLIBS) $(LIBICONV) $(LIBCHARSET) $(X_LIBS) $(XINERAMA_LIBS) \
+-	prefs_ui/libprefs_ui.la  support/widgets/libsupport_widgets.la \
+-	support/libsupport_utils.la $(LIBEXIF)
++	$(LIBEXIF)
+Index: pornview-0.2pre1/src/Makefile.in
+===================================================================
+--- pornview-0.2pre1.orig/src/Makefile.in	2011-07-30 00:41:00.000000000 -0300
++++ pornview-0.2pre1/src/Makefile.in	2011-07-30 00:41:10.000000000 -0300
+@@ -144,7 +144,7 @@
+ pornview_LDFLAGS =  	-export-dynamic
+ 
+ 
+-pornview_LDADD = $(GTK_LIBS) $(GDK_PIXBUF_LIBS) $(PNG_LIBS) $(MOVIELIB_LIBS) 	$(INTLLIBS) $(LIBICONV) $(LIBCHARSET) $(X_LIBS) $(XINERAMA_LIBS) 	prefs_ui/libprefs_ui.la  support/widgets/libsupport_widgets.la 	support/libsupport_utils.la $(LIBEXIF)
++pornview_LDADD = prefs_ui/libprefs_ui.la  support/widgets/libsupport_widgets.la        support/libsupport_utils.la $(GTK_LIBS) $(GDK_PIXBUF_LIBS) $(PNG_LIBS) $(MOVIELIB_LIBS)         $(INTLLIBS) $(LIBICONV) $(LIBCHARSET) $(X_LIBS) $(XINERAMA_LIBS) $(LIBEXIF)
+ 
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = ../config.h

Reply via email to