summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/pyqt_memaid/distinfo3
-rw-r--r--misc/pyqt_memaid/patches/patch-aa18
2 files changed, 20 insertions, 1 deletions
diff --git a/misc/pyqt_memaid/distinfo b/misc/pyqt_memaid/distinfo
index 7f58b08b15e..8da0210437d 100644
--- a/misc/pyqt_memaid/distinfo
+++ b/misc/pyqt_memaid/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2005/10/12 20:18:11 wiz Exp $
+$NetBSD: distinfo,v 1.2 2005/11/30 19:08:54 rillig Exp $
SHA1 (pyqt_memaid_0.2.4.tgz) = 25a6f7e3df7e3170ce026bcb881352c8b6b73d87
RMD160 (pyqt_memaid_0.2.4.tgz) = 4eb36acf081303ee65b0c805af3adfa74a29c6a6
Size (pyqt_memaid_0.2.4.tgz) = 170549 bytes
+SHA1 (patch-aa) = df1b3fd23f278b9babca51aea9c64801caf4a28b
diff --git a/misc/pyqt_memaid/patches/patch-aa b/misc/pyqt_memaid/patches/patch-aa
new file mode 100644
index 00000000000..bd5a32a9eea
--- /dev/null
+++ b/misc/pyqt_memaid/patches/patch-aa
@@ -0,0 +1,18 @@
+$NetBSD: patch-aa,v 1.1 2005/11/30 19:08:54 rillig Exp $
+
+In ISO C90, declarations may not be intermixed with code.
+
+--- pyqt_memaid/ann/memaid.c.orig Thu Sep 29 11:36:02 2005
++++ pyqt_memaid/ann/memaid.c Wed Nov 30 20:04:42 2005
+@@ -949,10 +949,10 @@ u_short ma_rpts_upto (u_short to_day) {
+ u_short ma_rpts_drill (u_short grade_threshold) { /* bruno: how many to drill */
+ register u_short count = 0;
+ register struct elem *e = List;
++ u_short to_day;
+
+ if (e == NULL)
+ return 0;
+- u_short to_day;
+ to_day = days(0) ;
+
+ /*if (e->tm_t_rpt - e->ivl > to_day )