Fix for compiling 0.9.2 via RPM

James H. Cloos Jr. cloos at jhcloos.com
Thu Jan 21 01:23:25 CET 1999


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

RPM adds an extra -O2 flag, so this small patch is required if you are
using a version of gcc which goes into an infinite loop compiling
twofish.c w/ optimization:

==============================================================================
- --- gnupg-0.9.2/cipher/Makefile.am.~1~	Thu Jan 21 01:17:52 1999
+++ gnupg-0.9.2/cipher/Makefile.am	Thu Jan 21 01:18:07 1999
@@ -57,7 +57,7 @@

 twofish: $(srcdir)/twofish.c
 	`echo $(COMPILE) $(DYNLINK_MOD_CFLAGS) -o twofish $(srcdir)/twofish.c | \
- -	    sed -e 's/-O[0-9]*/  /' `
+	    sed -e 's/-O[0-9]*/  /g' `


 rndunix: $(srcdir)/rndunix.c
==============================================================================

(I've also attatched a b64-encoded copy of the patch, in case the one
line get's wrapped in transit...)

- -JimC
- --
James H. Cloos, Jr.  <http://www.jhcloos.com/cloos/public_key> 1024D/ED7DAEA6
<cloos at jhcloos.com>     E9E9 F828 61A4 6EA9 0F2B  63E7 997A 9F17 ED7D AEA6

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v0.9.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE2ptXNmXqfF+19rqYRAuAsAKCm6ciefmRDB7iLNSgPNt6DbxqcAwCfYITB
1fJqfwE/eRSsnNgIphDUk9Q=
=B6mt
-----END PGP SIGNATURE-----

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gnupg-rpm-patch
Type: application/octet-stream
Size: 349 bytes
Desc: patch file
Url : /pipermail/attachments/19990121/02c06e23/gnupg-rpm-patch.obj


More information about the Gnupg-devel mailing list