summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2004-05-25 19:05:12 +0000
committerkristerw <kristerw@pkgsrc.org>2004-05-25 19:05:12 +0000
commit803d17e4d555843e0eca02d4ab552695161bd8bb (patch)
treea2bc63e9b39531497e296f1b92046171639f6080 /misc
parent4b233f4297fc421be8a3284e4297569b395c146a (diff)
downloadpkgsrc-803d17e4d555843e0eca02d4ab552695161bd8bb.tar.gz
Fix multi-line strings, to make this package compile with gcc 3.3.
Diffstat (limited to 'misc')
-rw-r--r--misc/hitchhiker/distinfo3
-rw-r--r--misc/hitchhiker/patches/patch-aa31
2 files changed, 33 insertions, 1 deletions
diff --git a/misc/hitchhiker/distinfo b/misc/hitchhiker/distinfo
index 973da27af15..47f4c646eb7 100644
--- a/misc/hitchhiker/distinfo
+++ b/misc/hitchhiker/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.2 2001/05/09 20:52:35 wiz Exp $
+$NetBSD: distinfo,v 1.3 2004/05/25 19:05:12 kristerw Exp $
SHA1 (hh2000-0.6.tar.gz) = b1f24150e206984a502209357e9dff774813c159
Size (hh2000-0.6.tar.gz) = 4895884 bytes
+SHA1 (patch-aa) = 8deac20716e647140a099ff9d0c6b0a9af9f37f5
diff --git a/misc/hitchhiker/patches/patch-aa b/misc/hitchhiker/patches/patch-aa
new file mode 100644
index 00000000000..42fe3dc0de7
--- /dev/null
+++ b/misc/hitchhiker/patches/patch-aa
@@ -0,0 +1,31 @@
+$NetBSD: patch-aa,v 1.1 2004/05/25 19:05:12 kristerw Exp $
+
+--- src/gl_engine.c.orig 2004-05-25 20:59:41.000000000 +0200
++++ src/gl_engine.c 2004-05-25 21:00:20.000000000 +0200
+@@ -734,7 +734,7 @@
+ // if (!LoadRGBMipmaps(HHModel[i].Texture_File, GL_RGBA))
+ if (!LoadRGBMipmaps(w.Texture_File, 3))
+ {
+- printf("Sorry, couldn't find a texture file (#%i). \n
++ printf("Sorry, couldn't find a texture file (#%i). \n\
+ Please check the maps directory\n", i);
+ }
+
+@@ -793,7 +793,7 @@
+ glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP);
+ glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE); */
+ if (!LoadRGBMipmaps( milky_way_file, 3 ))
+- printf("Sorry, couldn't find milky way texture file. \n
++ printf("Sorry, couldn't find milky way texture file. \n\
+ Please check the maps directory\n");
+ }
+
+@@ -808,7 +808,7 @@
+ glBindTexture( GL_TEXTURE_2D, HaloTex[j] );
+
+ if (!LoadRGBMipmaps( SUNSHINE_PATH, 3 ))
+- printf("Sorry, couldn't find sunshine texture file. \n
++ printf("Sorry, couldn't find sunshine texture file. \n\
+ Please check the maps directory\n");
+ }
+