aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/giram
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2000-07-11 21:14:13 +0800
committerkevlo <kevlo@FreeBSD.org>2000-07-11 21:14:13 +0800
commit069791308d6b9b5cb3d55748a9144e104d00a83c (patch)
tree7fb3b3fc580a2fac01b55dc50fae2ccc01bb3ca9 /graphics/giram
parent366a44f7d4e4b2415c036da2c9388f07d8b575f7 (diff)
downloadfreebsd-ports-graphics-069791308d6b9b5cb3d55748a9144e104d00a83c.tar.gz
freebsd-ports-graphics-069791308d6b9b5cb3d55748a9144e104d00a83c.tar.zst
freebsd-ports-graphics-069791308d6b9b5cb3d55748a9144e104d00a83c.zip
- sort package list
- simple fix mktemp() warnings. IMHO, mkstemp() must be instead of mktemp() or tmpnam().
Diffstat (limited to 'graphics/giram')
-rw-r--r--graphics/giram/files/patch-aa19
-rw-r--r--graphics/giram/pkg-plist10
2 files changed, 24 insertions, 5 deletions
diff --git a/graphics/giram/files/patch-aa b/graphics/giram/files/patch-aa
new file mode 100644
index 00000000000..3a4d13537dc
--- /dev/null
+++ b/graphics/giram/files/patch-aa
@@ -0,0 +1,19 @@
+--- src/view.c.orig Tue Jul 11 20:34:10 2000
++++ src/view.c Tue Jul 11 20:52:40 2000
+@@ -223,6 +223,7 @@
+ {
+ ViewUserDataStruct *UserData;
+ FrameStruct *LocalFrame;
++ int fd;
+ char *TmpFileName;
+ gchar *CommandLine;
+
+@@ -230,7 +231,7 @@
+ strcpy(TmpFileName, "/tmp/GiramXXXXXX");
+ UserData = get_view_user_data();
+ LocalFrame = UserData->FrameView;
+- mktemp(TmpFileName);
++ fd = mkstemp(TmpFileName);
+ SavePovByName(LocalFrame, TmpFileName);
+ CommandLine = g_strdup_printf("povfront -p -s %s &", TmpFileName);
+ system(CommandLine);
diff --git a/graphics/giram/pkg-plist b/graphics/giram/pkg-plist
index 40572c6adc8..ac4d3513293 100644
--- a/graphics/giram/pkg-plist
+++ b/graphics/giram/pkg-plist
@@ -1,11 +1,8 @@
-share/locale/fr/LC_MESSAGES/Giram.mo
-share/locale/es/LC_MESSAGES/Giram.mo
-bin/povfront
bin/giram
-libexec/giram/plug-ins/Spheres
+bin/povfront
libexec/giram/plug-ins/Box
libexec/giram/plug-ins/Rotate
-share/doc/giram/Tutorial
+libexec/giram/plug-ins/Spheres
share/doc/giram/SampleScenes/Cone.pov
share/doc/giram/SampleScenes/Disc.pov
share/doc/giram/SampleScenes/Giram.pov
@@ -28,6 +25,9 @@ share/doc/giram/SampleScenes/superel3.pov
share/doc/giram/SampleScenes/test.pov
share/doc/giram/SampleScenes/torus.pov
share/doc/giram/SampleScenes/Giram.gsf
+share/doc/giram/Tutorial
+share/locale/fr/LC_MESSAGES/Giram.mo
+share/locale/es/LC_MESSAGES/Giram.mo
@dirrm share/doc/giram/SampleScenes
@dirrm share/doc/giram
@dirrm libexec/giram/plug-ins