summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Boshell <leonardop@gentoo.org>2007-03-14 20:17:41 +0000
committerLeonardo Boshell <leonardop@gentoo.org>2007-03-14 20:17:41 +0000
commit3c0b899c0437e62a43d64348424bd8a3f7cb4834 (patch)
tree30abf9879021ef37112f8fad1ab2e05ba5454ce6 /app-text/xml2doc/files
parentclean out non-modX ebuild (diff)
downloadhistorical-3c0b899c0437e62a43d64348424bd8a3f7cb4834.tar.gz
historical-3c0b899c0437e62a43d64348424bd8a3f7cb4834.tar.bz2
historical-3c0b899c0437e62a43d64348424bd8a3f7cb4834.zip
Avoid pre-stripping binaries (bug #152266). Added patch to fix pointer-related bug.
Package-Manager: portage-2.1.2.2
Diffstat (limited to 'app-text/xml2doc/files')
-rw-r--r--app-text/xml2doc/files/digest-xml2doc-20030510-r13
-rw-r--r--app-text/xml2doc/files/xml2doc-pointer_fix.patch20
2 files changed, 23 insertions, 0 deletions
diff --git a/app-text/xml2doc/files/digest-xml2doc-20030510-r1 b/app-text/xml2doc/files/digest-xml2doc-20030510-r1
new file mode 100644
index 000000000000..526f6d873c33
--- /dev/null
+++ b/app-text/xml2doc/files/digest-xml2doc-20030510-r1
@@ -0,0 +1,3 @@
+MD5 5cadf5d0c3ff8d9b150f332861c33f7e xml2doc-20030510.tgz 53307
+RMD160 d2f7d13ace6dc0a68a3ca4aec993ca78b18930e6 xml2doc-20030510.tgz 53307
+SHA256 dd675754a856f5ca40dfd12e0264ea51228c3d795f853d2310677fd25ea7866e xml2doc-20030510.tgz 53307
diff --git a/app-text/xml2doc/files/xml2doc-pointer_fix.patch b/app-text/xml2doc/files/xml2doc-pointer_fix.patch
new file mode 100644
index 000000000000..b6adabe3c1a3
--- /dev/null
+++ b/app-text/xml2doc/files/xml2doc-pointer_fix.patch
@@ -0,0 +1,20 @@
+diff -NurdpB xml2doc/src/output_info.c xml2doc-patched/src/output_info.c
+--- xml2doc/src/output_info.c 2003-04-25 05:11:27.000000000 -0500
++++ xml2doc-patched/src/output_info.c 2007-03-14 15:07:59.000000000 -0500
+@@ -9,11 +9,11 @@ void output_info()
+ *subject = xmlGetProp(Doc[n].cur,"subject"),
+ *keywords = xmlGetProp(Doc[n].cur,"keywords"),
+ *trapped = xmlGetProp(Doc[n].cur,"trapped");
+- struct time_t *timet;
+- struct tm *clk;
+-
+- time((time_t *)&timet);
+- clk=localtime((const time_t *)&timet);
++ time_t timet;
++ struct tm *clk;
++
++ time(&timet);
++ clk=localtime(&timet);
+
+ switch(DocS.output)
+ {