]> Pileus Git - ~andy/sunrise/blob - app-crypt/yyyRSA/files/yyyRSA-1.0.2-build-fix.patch
app-crypt/yyyRSA: New Ebuild for bug 386971 thanks to binki and jlec for the review
[~andy/sunrise] / app-crypt / yyyRSA / files / yyyRSA-1.0.2-build-fix.patch
1 --- acinclude.m4        2001-02-17 10:47:11.000000000 -0600
2 +++ acinclude.m4        2011-10-13 09:53:23.496357037 -0500
3 @@ -1,4 +1,4 @@
4 -AC_DEFUN(AC_YYY_CC_CXX_BEGIN, [
5 +AC_DEFUN([AC_YYY_CC_CXX_BEGIN], [
6  
7  AC_ARG_ENABLE(debug,
8  [  --enable-debug          do not strip binaries but add debug info],
9 @@ -42,7 +42,7 @@
10  ])
11  
12  
13 -AC_DEFUN(AC_YYY_CC_INIT, [
14 +AC_DEFUN([AC_YYY_CC_INIT], [
15  
16  AC_ARG_WITH(ccpre,
17  [  --with-ccpre=x          add at beginning of C options],
18 @@ -52,7 +52,7 @@
19  [  --with-ccpost=x         add at end of C options],
20  yyyccpost="$withval",yyyccpost="")
21  
22 -# if not set then set it as empty, so that AC_PROG_CC doesn't set it
23 +dnl if not set then set it as empty, so that AC_PROG_CC doesn't set it
24  if test "$CFLAGS" = ""; then
25    CFLAGS=""
26  fi
27 @@ -74,8 +74,6 @@
28  
29  if test "$yyydebug" = "yes"; then
30    YYY_CFLAGS="$YYY_CFLAGS -g"
31 -else
32 -  YYY_LDFLAGS="$YYY_LDFLAGS -s"
33  fi
34  
35  if test "$yyynowarnerror" = "yes"; then
36 @@ -87,7 +85,7 @@
37  ])
38  
39  
40 -AC_DEFUN(AC_YYY_CXX_INIT, [
41 +AC_DEFUN([AC_YYY_CXX_INIT], [
42  
43  AC_ARG_WITH(cxxpre,
44  [  --with-cxxpre=x         add at beginning of C++ options],
45 @@ -97,7 +95,7 @@
46  [  --with-cxxpost=x        add at end of C++ options],
47  yyycxxpost="$withval",yyycxxpost="")
48  
49 -# if not set then set it as empty, so that AC_PROG_CXX doesn't set it
50 +dnl if not set then set it as empty, so that AC_PROG_CXX doesn't set it
51  if test "$CXXFLAGS" = ""; then
52    CXXFLAGS=""
53  fi
54 @@ -119,8 +117,6 @@
55  
56  if test "$yyydebug" = "yes"; then
57    YYY_CXXFLAGS="$YYY_CXXFLAGS -g"
58 -else
59 -  YYY_LDFLAGS="$YYY_LDFLAGS -s"
60  fi
61  
62  if test "$yyynowarnerror" = "yes"; then
63 @@ -132,7 +128,7 @@
64  ])
65  
66  
67 -AC_DEFUN(AC_YYY_CC_CXX_END, [
68 +AC_DEFUN([AC_YYY_CC_CXX_END], [
69  
70  CFLAGS="$yyyccpre $yyycccxxpre $YYY_CFLAGS $yyycccxxpost $yyyccpost"
71  CXXFLAGS="$yyycxxpre $yyycccxxpre $YYY_CXXFLAGS $yyycccxxpost $yyycxxpost"