[packages/eqascii] Rel 4
arekm
arekm at pld-linux.org
Thu May 21 15:31:36 CEST 2026
commit 109a2d3a0cfaa1ff347e903c33d423e7519da927
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu May 21 15:31:20 2026 +0200
Rel 4
eqascii-implicit-decls.patch | 129 +++++++++++++++++++++++++++++++++++++++++++
eqascii.spec | 6 +-
2 files changed, 133 insertions(+), 2 deletions(-)
---
diff --git a/eqascii.spec b/eqascii.spec
index 0b56976..3b801ab 100644
--- a/eqascii.spec
+++ b/eqascii.spec
@@ -2,11 +2,12 @@ Summary: EQuation ASCII renderer
Summary(pl.UTF-8): Program wyświetlający równania jako ASCII
Name: eqascii
Version: 0.3.1
-Release: 3
+Release: 4
License: GPL
Group: Applications/Text
Source0: http://dione.ids.pl/~pborys/software/linux/%{name}-%{version}.tar.gz
# Source0-md5: 71b79c3d3987ed125293e9b6e0bd017c
+Patch0: %{name}-implicit-decls.patch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -35,10 +36,11 @@ przydatne przy pisaniu programów wyświetlających wzory jako ASCII.
%prep
%setup -q -n %{name}
+%patch -P0 -p1
%build
%{__make} \
- DEBUG="%{rpmcflags}"
+ DEBUG="%{rpmcflags} %{rpmcppflags}"
%install
rm -rf $RPM_BUILD_ROOT
diff --git a/eqascii-implicit-decls.patch b/eqascii-implicit-decls.patch
new file mode 100644
index 0000000..ef1c0b3
--- /dev/null
+++ b/eqascii-implicit-decls.patch
@@ -0,0 +1,129 @@
+diff -urN eqascii.orig/array.c eqascii/array.c
+--- eqascii.orig/array.c 2001-04-13 20:10:30.000000000 +0200
++++ eqascii/array.c 2026-05-21 01:24:26.579552353 +0200
+@@ -6,6 +6,7 @@
+ #include "utils.h"
+ #include "variables.h"
+ #include "dim.h"
++#include "draw.h"
+
+ #define USE_SPACING
+
+diff -urN eqascii.orig/dealloc.c eqascii/dealloc.c
+--- eqascii.orig/dealloc.c 2001-04-13 20:10:30.000000000 +0200
++++ eqascii/dealloc.c 2026-05-21 01:24:57.846219019 +0200
+@@ -1,5 +1,6 @@
+ /* This code is distributed under the terms of Gnu Publice License */
+ /* The author is Przemek Borys <pborys at dione.ids.pl> */
++#include <stdlib.h>
+ #include "variables.h"
+
+ void dealloc(struct Tgraph *graph)
+diff -urN eqascii.orig/dim.c eqascii/dim.c
+--- eqascii.orig/dim.c 2001-04-13 20:10:30.000000000 +0200
++++ eqascii/dim.c 2026-05-21 01:24:33.226219019 +0200
+@@ -13,6 +13,8 @@
+ #include "prod.h"
+ #include "brace.h"
+ #include "array.h"
++#include "int.h"
++#include "oint.h"
+
+ Tdim
+ dim (char *txt, struct Tgraph *graph)
+diff -urN eqascii.orig/draw.c eqascii/draw.c
+--- eqascii.orig/draw.c 2001-04-13 20:10:30.000000000 +0200
++++ eqascii/draw.c 2026-05-21 01:24:19.606219019 +0200
+@@ -1,6 +1,7 @@
+ /* This code is distributed under the terms of Gnu Publice License */
+ /* The author is Przemek Borys <pborys at dione.ids.pl> */
+ #include <stdio.h>
++#include <stdlib.h>
+ #include "variables.h"
+ #include "utils.h"
+ #include "frac.h"
+diff -urN eqascii.orig/frac.c eqascii/frac.c
+--- eqascii.orig/frac.c 2001-04-13 20:10:30.000000000 +0200
++++ eqascii/frac.c 2026-05-21 01:24:40.112885686 +0200
+@@ -1,11 +1,13 @@
+ /* This code is distributed under the terms of Gnu Publice License */
+ /* The author is Przemek Borys <pborys at dione.ids.pl> */
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <string.h>
+ #include "variables.h"
+ #include "utils.h"
+ #include "frac.h"
+ #include "dim.h"
++#include "draw.h"
+
+ int
+ dimFrac (char *found, char **Gpos, Tdim * Our, struct Tgraph *graph)
+diff -urN eqascii.orig/oint.h eqascii/oint.h
+--- eqascii.orig/oint.h 2001-04-13 20:10:36.000000000 +0200
++++ eqascii/oint.h 2026-05-21 01:24:46.239552353 +0200
+@@ -5,6 +5,6 @@
+
+ #include "variables.h"
+ int dimOint (char *found, char **Gpos, Tdim * Our, struct Tgraph *graph);
+-void drawIint (int *Kid, int *Curx, int *Cury, char ***screen, struct Tgraph *graph);
++void drawOint (int *Kid, int *Curx, int *Cury, char ***screen, struct Tgraph *graph);
+
+ #endif
+diff -urN eqascii.orig/sqrt.c eqascii/sqrt.c
+--- eqascii.orig/sqrt.c 2001-04-13 20:10:30.000000000 +0200
++++ eqascii/sqrt.c 2026-05-21 01:25:05.979552352 +0200
+@@ -1,9 +1,11 @@
+ /* This code is distributed under the terms of Gnu Publice License */
+ /* The author is Przemek Borys <pborys at dione.ids.pl> */
++#include <stdlib.h>
+ #include <string.h>
+ #include "utils.h"
+ #include "variables.h"
+ #include "dim.h"
++#include "draw.h"
+
+ int
+ dimSqrt (char *found, char **Gpos, Tdim * Our, struct Tgraph *graph)
+diff -urN eqascii.orig/subscript.c eqascii/subscript.c
+--- eqascii.orig/subscript.c 2001-04-13 20:10:30.000000000 +0200
++++ eqascii/subscript.c 2026-05-21 01:25:12.959552352 +0200
+@@ -1,10 +1,12 @@
+ /* This code is distributed under the terms of Gnu Publice License */
+ /* The author is Przemek Borys <pborys at dione.ids.pl> */
+
++#include <stdlib.h>
+ #include <string.h>
+ #include "utils.h"
+ #include "variables.h"
+ #include "dim.h"
++#include "draw.h"
+
+ int
+ dimSubscript (char *found, char **Gpos, Tdim * Our, struct Tgraph *graph)
+diff -urN eqascii.orig/superscript.c eqascii/superscript.c
+--- eqascii.orig/superscript.c 2001-04-13 20:10:30.000000000 +0200
++++ eqascii/superscript.c 2026-05-21 01:25:19.412885685 +0200
+@@ -1,9 +1,11 @@
+ /* This code is distributed under the terms of Gnu Publice License */
+ /* The author is Przemek Borys <pborys at dione.ids.pl> */
++#include <stdlib.h>
+ #include <string.h>
+ #include "utils.h"
+ #include "variables.h"
+ #include "dim.h"
++#include "draw.h"
+
+ int
+ dimSuperscript (char *found, char **Gpos, Tdim * Our, struct Tgraph *graph)
+diff -urN eqascii.orig/utils.c eqascii/utils.c
+--- eqascii.orig/utils.c 2001-04-13 20:10:30.000000000 +0200
++++ eqascii/utils.c 2026-05-21 01:24:13.979552354 +0200
+@@ -2,6 +2,7 @@
+ /* The author is Przemek Borys <pborys at dione.ids.pl> */
+ #include "utils.h"
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <string.h>
+
+ char *
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/eqascii.git/commitdiff/109a2d3a0cfaa1ff347e903c33d423e7519da927
More information about the pld-cvs-commit
mailing list