Package: empty-expect
Version: 0.6.18b-3
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu oneiric ubuntu-patch

In Ubuntu, the attached patch was applied to achieve the following:

  * Update 03_makefile.diff to place libs in the correct place. Fixes
    FTBFS. (LP: #770753)


Thanks for considering the patch.


-- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric-updates
  APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 
'oneiric-proposed'), (500, 'oneiric')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-11-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru empty-expect-0.6.18b/debian/patches/03_makefile.diff empty-expect-0.6.18b/debian/patches/03_makefile.diff
--- empty-expect-0.6.18b/debian/patches/03_makefile.diff	2011-08-28 05:29:45.000000000 -0400
+++ empty-expect-0.6.18b/debian/patches/03_makefile.diff	2011-09-13 17:30:32.000000000 -0400
@@ -1,13 +1,19 @@
---- ../orig/empty-expect-0.6.18b/Makefile	2009-04-23 11:50:44.000000000 +0000
-+++ ./Makefile	2011-08-28 09:29:23.000000000 +0000
-@@ -14,6 +14,7 @@
+Index: empty-expect-0.6.18b/Makefile
+===================================================================
+--- empty-expect-0.6.18b.orig/Makefile	2009-04-23 07:50:44.000000000 -0400
++++ empty-expect-0.6.18b/Makefile	2011-09-13 17:30:27.000000000 -0400
+@@ -14,9 +14,10 @@
  LIBS =	-lutil
  
  PREFIX = /usr/local
 +PREFIX = $(DESTDIR)/usr
  
  all:
- 	${CC} ${CFLAGS} -Wall ${LIBS} -o empty empty.c
+-	${CC} ${CFLAGS} -Wall ${LIBS} -o empty empty.c
++	${CC} ${CFLAGS} -Wall -o empty empty.c ${LIBS}
+ 
+ FreeBSD:	all
+ NetBSD:		all
 @@ -40,6 +41,8 @@
  	gcc ${CFLAGS} -Wall -o empty empty.c
  
@@ -22,4 +28,4 @@
  
  clean:
 -	rm empty 
-+	rm -f empty 
++	rm -f empty

Reply via email to