• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/beecrypt/beecrypt-0001-cppglue.cxx-cplusplus-only.patch
Thomas De SchampheleireThomas De Schampheleire committed 32d6473ab5f22 Nov 2013
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
Makefile.am: Only compile/link cppglue.cxx if --with-cplusplus is used
2
​
3
Bloats libbeecrypt for no use and breaks build on systems without a C++
4
compiler.
5
​
6
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
7
---
8
 Makefile.am |    7 ++++++-
9
 1 file changed, 6 insertions(+), 1 deletion(-)
10
​
11
Index: beecrypt-4.2.1/Makefile.am
12
===================================================================
13
--- beecrypt-4.2.1.orig/Makefile.am
14
+++ beecrypt-4.2.1/Makefile.am
15
@@ -62,7 +62,12 @@
16
 
17
 lib_LTLIBRARIES = libbeecrypt.la
18
 
19
-libbeecrypt_la_SOURCES = aes.c base64.c beecrypt.c blockmode.c blockpad.c blowfish.c dhies.c dldp.c dlkp.c dlpk.c dlsvdp-dh.c dsa.c elgamal.c endianness.c entropy.c fips186.c hmac.c hmacmd5.c hmacsha1.c hmacsha224.c hmacsha256.c md4.c md5.c hmacsha384.c hmacsha512.c memchunk.c mp.c mpbarrett.c mpnumber.c mpprime.c mtprng.c pkcs1.c pkcs12.c ripemd128.c ripemd160.c ripemd256.c ripemd320.c rsa.c rsakp.c rsapk.c sha1.c sha224.c sha256.c sha384.c sha512.c sha2k32.c sha2k64.c timestamp.c cppglue.cxx
20
+libbeecrypt_la_SOURCES = aes.c base64.c beecrypt.c blockmode.c blockpad.c blowfish.c dhies.c dldp.c dlkp.c dlpk.c dlsvdp-dh.c dsa.c elgamal.c endianness.c entropy.c fips186.c hmac.c hmacmd5.c hmacsha1.c hmacsha224.c hmacsha256.c md4.c md5.c hmacsha384.c hmacsha512.c memchunk.c mp.c mpbarrett.c mpnumber.c mpprime.c mtprng.c pkcs1.c pkcs12.c ripemd128.c ripemd160.c ripemd256.c ripemd320.c rsa.c rsakp.c rsapk.c sha1.c sha224.c sha256.c sha384.c sha512.c sha2k32.c sha2k64.c timestamp.c
21
+
22
+if WITH_CPLUSPLUS
23
+libbeecrypt_la_SOURCES += cppglue.cxx
24
+endif
25
+
26
 libbeecrypt_la_DEPENDENCIES = $(BEECRYPT_OBJECTS)
27
 libbeecrypt_la_LIBADD = blowfishopt.lo mpopt.lo sha1opt.lo $(OPENMP_LIBS)
28
 libbeecrypt_la_LDFLAGS = -no-undefined -version-info $(LIBBEECRYPT_LT_CURRENT):$(LIBBEECRYPT_LT_REVISION):$(LIBBEECRYPT_LT_AGE)
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.