summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-09-10 18:14:05 +0000
committerMike Frysinger <vapier@gentoo.org>2003-09-10 18:14:05 +0000
commit5ce29dab6b88b9202c19ea19f36ea07ca2f4a16f (patch)
treef83f1d87bba32c391118e84f21fa0335fd7f26a5 /games-misc/fortune-mod/files
parentstable on x86/alpha (diff)
downloadhistorical-5ce29dab6b88b9202c19ea19f36ea07ca2f4a16f.tar.gz
historical-5ce29dab6b88b9202c19ea19f36ea07ca2f4a16f.tar.bz2
historical-5ce29dab6b88b9202c19ea19f36ea07ca2f4a16f.zip
games-misc
Diffstat (limited to 'games-misc/fortune-mod/files')
-rw-r--r--games-misc/fortune-mod/files/9708-Makefile.patch41
-rw-r--r--games-misc/fortune-mod/files/9708-ppc-rot.patch11
-rw-r--r--games-misc/fortune-mod/files/digest-fortune-mod-9708-r11
3 files changed, 53 insertions, 0 deletions
diff --git a/games-misc/fortune-mod/files/9708-Makefile.patch b/games-misc/fortune-mod/files/9708-Makefile.patch
new file mode 100644
index 000000000000..a49e9424307c
--- /dev/null
+++ b/games-misc/fortune-mod/files/9708-Makefile.patch
@@ -0,0 +1,41 @@
+--- Makefile.orig 2003-06-28 01:37:38.000000000 -0400
++++ Makefile 2003-06-28 01:39:44.000000000 -0400
+@@ -3,24 +3,24 @@
+ #
+
+ # Where does the fortune program go?
+-FORTDIR=/usr/local/games
++FORTDIR=$(DESTDIR)/usr/bin
+ # Where do the data files (fortunes, or cookies) go?
+-COOKIEDIR=/usr/local/share/games/fortunes
++COOKIEDIR=$(DESTDIR)/usr/share/fortune
+ # Offensive ones?
+ OCOOKIEDIR=$(COOKIEDIR)/off
+ # The ones with html tags?
+ WCOOKIEDIR=$(COOKIEDIR)/html
+ # Where do strfile and unstr go?
+-BINDIR=/usr/local/bin
++BINDIR=$(DESTDIR)/usr/bin
+ # What is the proper mode for strfile and unstr? 755= everyone, 700= root only
+ BINMODE=0755
+ #BINMODE=0700
+ # Where do the man pages for strfile and unstr go?
+-BINMANDIR=/usr/local/man/man1
++BINMANDIR=$(DESTDIR)/usr/share/man/man1
+ # What is their proper extension?
+ BINMANEXT=1
+ # And the same for the fortune man page
+-FORTMANDIR=/usr/local/man/man6
++FORTMANDIR=$(DESTDIR)/usr/share/man/man6
+ FORTMANEXT=6
+ # Do we want to install the offensive files? (0 no, 1 yes)
+ OFFENSIVE=1
+@@ -55,7 +55,7 @@
+ REGEXLIBS=
+
+ DEFINES=-DFORTDIR="\"$(COOKIEDIR)\"" -DOFFDIR="\"$(OCOOKIEDIR)\""
+-CFLAGS=-O2 $(DEFINES) -Wall -fomit-frame-pointer -pipe
++CFLAGS= $(DEFINES) $(OPTCFLAGS)
+ LDFLAGS=-s
+
+ # The above flags are used by default; the debug flags are used when make
diff --git a/games-misc/fortune-mod/files/9708-ppc-rot.patch b/games-misc/fortune-mod/files/9708-ppc-rot.patch
new file mode 100644
index 000000000000..c22863203faa
--- /dev/null
+++ b/games-misc/fortune-mod/files/9708-ppc-rot.patch
@@ -0,0 +1,11 @@
+--- util/rot.c.orig 2003-06-28 01:45:44.000000000 -0400
++++ util/rot.c 2003-06-28 01:45:51.000000000 -0400
+@@ -8,7 +8,7 @@
+
+ int main(void)
+ {
+- char a, b;
++ short int a, b;
+
+ while ((a = getchar()) != EOF)
+ {
diff --git a/games-misc/fortune-mod/files/digest-fortune-mod-9708-r1 b/games-misc/fortune-mod/files/digest-fortune-mod-9708-r1
new file mode 100644
index 000000000000..679b925ad361
--- /dev/null
+++ b/games-misc/fortune-mod/files/digest-fortune-mod-9708-r1
@@ -0,0 +1 @@
+MD5 81a87a44f9d94b0809dfc2b7b140a379 fortune-mod-9708.tar.gz 1408517