Date: Friday, July 29, 2022 @ 19:47:40
  Author: arojas
Revision: 451745

archrelease: copy trunk to extra-x86_64

Added:
  aiksaurus/repos/extra-x86_64/PKGBUILD
    (from rev 451744, aiksaurus/trunk/PKGBUILD)
  aiksaurus/repos/extra-x86_64/aiksaurus-gcc44.patch
    (from rev 451744, aiksaurus/trunk/aiksaurus-gcc44.patch)
  aiksaurus/repos/extra-x86_64/format-security.patch
    (from rev 451744, aiksaurus/trunk/format-security.patch)
Deleted:
  aiksaurus/repos/extra-x86_64/PKGBUILD
  aiksaurus/repos/extra-x86_64/aiksaurus-gcc44.patch

-----------------------+
 PKGBUILD              |   65 +++++++++++++++++++++++++-----------------------
 aiksaurus-gcc44.patch |   62 ++++++++++++++++++++++-----------------------
 format-security.patch |   29 +++++++++++++++++++++
 3 files changed, 95 insertions(+), 61 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-07-29 19:47:29 UTC (rev 451744)
+++ PKGBUILD    2022-07-29 19:47:40 UTC (rev 451745)
@@ -1,30 +0,0 @@
-# Maintainer: Ronald van Haren <ronald.archlinux.org>
-# Contributor: Jan de Groot <j...@archlinux.org>
-
-pkgname=aiksaurus
-pkgver=1.2.1
-pkgrel=7
-pkgdesc="A cross-platform, open-source thesaurus"
-url="http://aiksaurus.sourceforge.net/";
-license=('GPL')
-arch=('x86_64')
-depends=('gtk2')
-source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz";
-        'aiksaurus-gcc44.patch')
-sha512sums=('48591850f28f1a8f4b4986df14090ef7bd57cbfbad739cb0013db021f6f5bcb3c592b38e36774735499e27b9e99330504f8d9c6022158e25469cbc81d13f7463'
-            
'66db53f7499425eb1ff572df4a674f378ed681edeb48ea5926b21d39c8a399c36740e03de101e23a47e043fcce29f66a03c64dc813dc5beda1043d0057711fa5')
-
-build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-
-  # gcc44 build patch
-  patch -Np0 -i ${srcdir}/aiksaurus-gcc44.patch
-
-  ./configure --prefix=/usr --with-gtk
-  make
-}
-
-package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  make DESTDIR=${pkgdir} install
-}

Copied: aiksaurus/repos/extra-x86_64/PKGBUILD (from rev 451744, 
aiksaurus/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-07-29 19:47:40 UTC (rev 451745)
@@ -0,0 +1,35 @@
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Jan de Groot <j...@archlinux.org>
+
+pkgname=aiksaurus
+pkgver=1.2.1
+pkgrel=8
+pkgdesc="A cross-platform, open-source thesaurus"
+url="http://aiksaurus.sourceforge.net/";
+license=('GPL')
+arch=('x86_64')
+source=(https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz
+        aiksaurus-gcc44.patch
+        format-security.patch)
+sha512sums=('48591850f28f1a8f4b4986df14090ef7bd57cbfbad739cb0013db021f6f5bcb3c592b38e36774735499e27b9e99330504f8d9c6022158e25469cbc81d13f7463'
+            
'66db53f7499425eb1ff572df4a674f378ed681edeb48ea5926b21d39c8a399c36740e03de101e23a47e043fcce29f66a03c64dc813dc5beda1043d0057711fa5'
+            
'72ebdc63cbb2c56bd8274f92501cbbae8c66e7d81b11b8fdeda38149da4bf44ab88699d248093eedc9813f6cd60e2a1f360fb39d778b4b7827777b1d003ab1dc')
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -p1 < ../format-security.patch
+  patch -p0 < ../aiksaurus-gcc44.patch
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+
+  export CXXFLAGS+=' -std=c++14'
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+}

Deleted: aiksaurus-gcc44.patch
===================================================================
--- aiksaurus-gcc44.patch       2022-07-29 19:47:29 UTC (rev 451744)
+++ aiksaurus-gcc44.patch       2022-07-29 19:47:40 UTC (rev 451745)
@@ -1,31 +0,0 @@
---- base/aiksaurus.t.cpp~      2003-06-26 21:44:38.000000000 -0400
-+++ base/aiksaurus.t.cpp       2009-05-31 20:02:29.172988678 -0400
-@@ -22,6 +22,7 @@
- #include "Aiksaurus.h"
- #include "AsciiCompare.h"
- #include "config.h"
-+#include <cstdlib>
- #include <iostream>
- #include <string>
- using namespace std;
-
---- ./gtk/src/Display.cpp~     2003-05-27 19:56:54.000000000 -0400
-+++ ./gtk/src/Display.cpp      2009-06-02 18:09:36.198627551 -0400
-@@ -22,6 +22,7 @@
- #include "Meaning.h"
- #include "DialogMediator.h"
- #include "Exception.h"
-+#include <cstring>
- using namespace std;
- 
- namespace AiksaurusGTK_impl
---- ./gtk/src/gtkAiksaur.t.cpp~        2002-01-11 21:02:12.000000000 -0500
-+++ ./gtk/src/gtkAiksaur.t.cpp 2009-06-02 18:12:06.815277325 -0400
-@@ -21,6 +21,7 @@
- #include <AiksaurusGTK.h>
- #include "config.h"
- #include <gtk/gtk.h>
-+#include <cstdlib>
- #include <iostream>
- #include <string>
- using namespace std;

Copied: aiksaurus/repos/extra-x86_64/aiksaurus-gcc44.patch (from rev 451744, 
aiksaurus/trunk/aiksaurus-gcc44.patch)
===================================================================
--- aiksaurus-gcc44.patch                               (rev 0)
+++ aiksaurus-gcc44.patch       2022-07-29 19:47:40 UTC (rev 451745)
@@ -0,0 +1,31 @@
+--- base/aiksaurus.t.cpp~      2003-06-26 21:44:38.000000000 -0400
++++ base/aiksaurus.t.cpp       2009-05-31 20:02:29.172988678 -0400
+@@ -22,6 +22,7 @@
+ #include "Aiksaurus.h"
+ #include "AsciiCompare.h"
+ #include "config.h"
++#include <cstdlib>
+ #include <iostream>
+ #include <string>
+ using namespace std;
+
+--- ./gtk/src/Display.cpp~     2003-05-27 19:56:54.000000000 -0400
++++ ./gtk/src/Display.cpp      2009-06-02 18:09:36.198627551 -0400
+@@ -22,6 +22,7 @@
+ #include "Meaning.h"
+ #include "DialogMediator.h"
+ #include "Exception.h"
++#include <cstring>
+ using namespace std;
+ 
+ namespace AiksaurusGTK_impl
+--- ./gtk/src/gtkAiksaur.t.cpp~        2002-01-11 21:02:12.000000000 -0500
++++ ./gtk/src/gtkAiksaur.t.cpp 2009-06-02 18:12:06.815277325 -0400
+@@ -21,6 +21,7 @@
+ #include <AiksaurusGTK.h>
+ #include "config.h"
+ #include <gtk/gtk.h>
++#include <cstdlib>
+ #include <iostream>
+ #include <string>
+ using namespace std;

Copied: aiksaurus/repos/extra-x86_64/format-security.patch (from rev 451744, 
aiksaurus/trunk/format-security.patch)
===================================================================
--- format-security.patch                               (rev 0)
+++ format-security.patch       2022-07-29 19:47:40 UTC (rev 451745)
@@ -0,0 +1,29 @@
+--- aiksaurus-1.2.1/base/caiksaurus.cpp.orig   2014-06-07 21:14:03.869649696 
+0100
++++ aiksaurus-1.2.1/base/caiksaurus.cpp        2014-06-07 21:33:06.241471066 
+0100
+@@ -254,7 +254,7 @@
+         /* see if we got --version. */
+         if ( !strcmp(arg, "--version") || !strcmp(arg, "-v") )
+         {
+-            printf(version);
++            printf("%s", version);
+             exit(0);
+         }
+ 
+@@ -262,7 +262,7 @@
+         else if ( !strcmp(arg, "--help") || !strcmp(arg, "-h") )
+         {
+             printf("Usage: %s [word]\n\n", argv[0]);
+-            printf(help);
++            printf("%s", help);
+             exit(0);
+         }   
+     }
+@@ -271,7 +271,7 @@
+     if (argc != 2)
+     {
+         printf("Usage: %s [word]\n", argv[0]);
+-        printf(help);
++        printf("%s", help);
+         exit(1);
+     }
+ }

Reply via email to