On Wed, Dec 20, 2006 at 04:10:06PM +0100, Andreas Barth wrote:
> * Enrico Zini ([EMAIL PROTECTED]) [061220 10:15]:
> > I've uploaded a new cnf to unstable that builds a .a library with -fPIC
> > code.  It's a very simple packaging change that just adds -fPIC to the
> > CFLAGS.
> Your change looks different to what you describe. Can you please
> recheck? (Still approved, because the change looks good as it is to me.)

What do you mean different?  Running debdiff, the only significant
change is this:

-       $(MAKE) -C cnf build TAR_IN='tar -cvhf' TAR_OUT='tar -xf' CC=$(CC) 
FC=$(FC)
+       $(MAKE) -C cnf build TAR_IN='tar -cvhf' TAR_OUT='tar -xf' CC=$(CC) 
FC=$(FC) CFLAGS+=-fPIC


Here's the output here:

$ debdiff cnf_4.0-1_i386.changes cnf_4.0-2_i386.changes
File lists identical (after any substitutions)

Control files: lines which differ (wdiff format)
------------------------------------------------
Version: [-4.0-1-] {+4.0-2+}
Installed-Size: [-1724-] {+1728+}
[EMAIL PROTECTED]:~/dev/deb/_uploaded/cnf$ debdiff cnf_4.0-1.dsc cnf_4.0-2.dsc
diff -u cnf-4.0/debian/changelog cnf-4.0/debian/changelog
--- cnf-4.0/debian/changelog
+++ cnf-4.0/debian/changelog
@@ -1,3 +1,9 @@
+cnf (4.0-2) unstable; urgency=medium
+
+  * Build with -fPIC to allow linking in shared libraries.
+
+ -- Enrico Zini <[EMAIL PROTECTED]>  Wed, 20 Dec 2006 15:22:49 +0800
+
 cnf (4.0-1) unstable; urgency=low

   * Initial Release.  Closes: bug#389773.
only in patch2:
unchanged:
--- cnf-4.0.orig/Makefile
+++ cnf-4.0/Makefile
@@ -13,7 +13,7 @@
        rm -rf cnf
        mkdir cnf
        tar -C cnf -zxf cnf.tar.Z
-       $(MAKE) -C cnf build TAR_IN='tar -cvhf' TAR_OUT='tar -xf' CC=$(CC) 
FC=$(FC)
+       $(MAKE) -C cnf build TAR_IN='tar -cvhf' TAR_OUT='tar -xf' CC=$(CC) 
FC=$(FC) CFLAGS+=-fPIC
        touch build-stamp

 install-stamp: build-stamp


Ciao,

Enrico

-- 
GPG key: 1024D/797EBFAB 2000-12-05 Enrico Zini <[EMAIL PROTECTED]>

Attachment: signature.asc
Description: Digital signature

Reply via email to