[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: New cnf upload



On Wed, Dec 20, 2006 at 04:10:06PM +0100, Andreas Barth wrote:
> * Enrico Zini (enrico@enricozini.org) [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+}
enrico@viaza:~/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 <enrico@debian.org>  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 <enrico@debian.org>

Attachment: signature.asc
Description: Digital signature


Reply to: