Package: pwlib
Version: 1.8.4-1+sarge1
Severity: normal
Tags: patch

Hi,

Attached is the diff for my pwlib 1.8.4-1+sarge1.1 NMU.
diff -u pwlib-1.8.4/debian/changelog pwlib-1.8.4/debian/changelog
--- pwlib-1.8.4/debian/changelog
+++ pwlib-1.8.4/debian/changelog
@@ -1,3 +1,10 @@
+pwlib (1.8.4-1+sarge1.1) oldstable-proposed-updates; urgency=low
+
+  * Non-maintainer upload.
+  * Fix to build with sudo on the autobuilders. 
+
+ -- Luk Claes <[EMAIL PROTECTED]>  Sat, 22 Dec 2007 16:59:17 +0100
+
 pwlib (1.8.4-1+sarge1) oldstable-proposed-updates; urgency=high
 
   * Fix remote denial of service vulnerability caused
diff -u pwlib-1.8.4/debian/rules pwlib-1.8.4/debian/rules
--- pwlib-1.8.4/debian/rules
+++ pwlib-1.8.4/debian/rules
@@ -80,32 +80,32 @@
 
 build-arch-stamp:
 	# Compile it all, first static and then shared, so we get shared bins
-	$(MAKE) PWLIBDIR=$(PWD) optnoshared clean
-	$(MAKE) PWLIBDIR=$(PWD) -C samples/hello_world/ optnoshared
+	$(MAKE) PWLIBDIR=$(CURDIR) optnoshared clean
+	$(MAKE) PWLIBDIR=$(CURDIR) -C samples/hello_world/ optnoshared
 	samples/hello_world/obj_*_r/hello
-	$(MAKE) PWLIBDIR=$(PWD) -C samples/hello_world/ clean
+	$(MAKE) PWLIBDIR=$(CURDIR) -C samples/hello_world/ clean
 	
-	$(MAKE) PWLIBDIR=$(PWD) optshared
+	$(MAKE) PWLIBDIR=$(CURDIR) optshared
 
 	# try if our build actually works ;)
-	$(MAKE) PWLIBDIR=$(PWD) -C samples/hello_world/ optshared
+	$(MAKE) PWLIBDIR=$(CURDIR) -C samples/hello_world/ optshared
 	
-	LD_LIBRARY_PATH=$(PWD)/lib samples/hello_world/obj_*_r/hello
-	$(MAKE) PWLIBDIR=$(PWD) -C samples/hello_world/ clean
+	LD_LIBRARY_PATH=$(CURDIR)/lib samples/hello_world/obj_*_r/hello
+	$(MAKE) PWLIBDIR=$(CURDIR) -C samples/hello_world/ clean
 	# if this won't work, we needn't even try going any further...
 	
 	touch build-arch-stamp
 
 build-indep: build-indep-stamp
 build-indep-stamp:
-	$(MAKE) PWLIBDIR=$(PWD) docs
+	$(MAKE) PWLIBDIR=$(CURDIR) docs
 	touch build-indep-stamp
 
 clean: clean-patched unpatch
 clean-patched:
 	$(checkdir)
 	-rm -f build-arch-stamp build-indep-stamp patch-stamp
-	-$(MAKE) PWLIBDIR=$(PWD) clean
+	-$(MAKE) PWLIBDIR=$(CURDIR) clean
 	-rm -f include/ptbuildopts.h
 	-rm -f Makefile config.log config.status autotools
 	-rm -rf lib
@@ -149,7 +149,7 @@
 	dh_installdirs -a
 
 	#INSTALL#
-	$(MAKE) -C src/ptlib/unix install PWLIBDIR=$(PWD) INSTALL_DIR=`pwd`/debian/$(PACKAGE)/usr
+	$(MAKE) -C src/ptlib/unix install PWLIBDIR=$(CURDIR) INSTALL_DIR=`pwd`/debian/$(PACKAGE)/usr
 ifneq ($(SHLIBSVER),$(LIBPTCOMPAT))
 	ln -s libpt.so.$(SHLIBSVER) \
 	    debian/$(PACKAGE)/usr/lib/libpt.so.$(LIBPTCOMPAT)

Reply via email to