diff options
author | pi <pi@FreeBSD.org> | 2016-05-10 02:38:47 +0800 |
---|---|---|
committer | pi <pi@FreeBSD.org> | 2016-05-10 02:38:47 +0800 |
commit | 032bb060a0f6a9bab529cf8b2de5470d888af938 (patch) | |
tree | c97df017b89c15c7d9bddfbd8a1a52c163fa3e23 /x11-clocks | |
parent | a4f321731ac02b9dbc2545295cd34e68a6d4a0d0 (diff) | |
download | freebsd-ports-gnome-032bb060a0f6a9bab529cf8b2de5470d888af938.tar.gz freebsd-ports-gnome-032bb060a0f6a9bab529cf8b2de5470d888af938.tar.zst freebsd-ports-gnome-032bb060a0f6a9bab529cf8b2de5470d888af938.zip |
x11-clocks/glclock: Removed -fforce-mem -fforce-addr to fix build with clang
- make patches conform to recommended format (makepatch)
PR: 209399
Submitted by: yuri@rawbw.com
Diffstat (limited to 'x11-clocks')
-rw-r--r-- | x11-clocks/glclock/Makefile | 2 | ||||
-rw-r--r-- | x11-clocks/glclock/files/patch-GLObject.H | 4 | ||||
-rw-r--r-- | x11-clocks/glclock/files/patch-GLextensions.H | 18 | ||||
-rw-r--r-- | x11-clocks/glclock/files/patch-MString.H | 6 | ||||
-rw-r--r-- | x11-clocks/glclock/files/patch-MString.cpp | 2 | ||||
-rw-r--r-- | x11-clocks/glclock/files/patch-glclock.H | 6 |
6 files changed, 19 insertions, 19 deletions
diff --git a/x11-clocks/glclock/Makefile b/x11-clocks/glclock/Makefile index 4a21097e3c7b..1121e5f3e23c 100644 --- a/x11-clocks/glclock/Makefile +++ b/x11-clocks/glclock/Makefile @@ -23,7 +23,7 @@ OPTIONS_DEFINE= OPTIMIZED_CFLAGS OPTIMIZED_CFLAGS_CFLAGS=\ -O3 -fexpensive-optimizations -ffast-math \ - -fomit-frame-pointer -fforce-mem -fforce-addr + -fomit-frame-pointer PROGRAMS= glclock glclockmark SCRIPTS= chromeclock chromeclock_L crystalclock crystalclock_L \ diff --git a/x11-clocks/glclock/files/patch-GLObject.H b/x11-clocks/glclock/files/patch-GLObject.H index fb077d7fb10e..6f204f2827a7 100644 --- a/x11-clocks/glclock/files/patch-GLObject.H +++ b/x11-clocks/glclock/files/patch-GLObject.H @@ -1,5 +1,5 @@ ---- GLObject.H.orig Sun Oct 1 20:06:31 2006 -+++ GLObject.H Sun Oct 1 20:06:40 2006 +--- GLObject.H.orig 2000-06-22 14:36:07 UTC ++++ GLObject.H @@ -11,7 +11,7 @@ #pragma warning(disable : 4051) // ALPHA #endif diff --git a/x11-clocks/glclock/files/patch-GLextensions.H b/x11-clocks/glclock/files/patch-GLextensions.H index 484d6200f53a..41081cd4a32b 100644 --- a/x11-clocks/glclock/files/patch-GLextensions.H +++ b/x11-clocks/glclock/files/patch-GLextensions.H @@ -1,5 +1,5 @@ ---- GLextensions.H.orig Thu Jun 22 16:36:07 2000 -+++ GLextensions.H Sun Oct 1 20:52:59 2006 +--- GLextensions.H.orig 2000-06-22 14:36:07 UTC ++++ GLextensions.H @@ -12,6 +12,7 @@ #pragma warning(disable : 4051) // ALPHA #endif @@ -8,7 +8,7 @@ #include <GL/gl.h> #include <GL/glut.h> -@@ -202,7 +203,7 @@ +@@ -202,7 +203,7 @@ float GetOpenGLVersion() ; // multitexture をサポートするバージョン(未定) @@ -17,7 +17,7 @@ #define GL_VERSION_multitexture #endif #define GL_VERSION_multitexture_F 9999.9f -@@ -232,13 +233,13 @@ +@@ -232,13 +233,13 @@ float GetOpenGLVersion() ; #define GL_VERSION_polygon_offset_F 1.1f // texture_cube_map をサポートするバージョン(未定) @@ -33,7 +33,7 @@ #define GL_VERSION_texture_compression #endif #define GL_VERSION_texture_compression_F 9999.9f -@@ -592,6 +593,8 @@ +@@ -592,6 +593,8 @@ char *IsSupported_multitexture(int flag_ #endif // #ifndef GL_ARB_texture_cube_map @@ -42,12 +42,12 @@ // EXT_texture_cube_map #ifndef GL_EXT_texture_cube_map #define GL_EXT_texture_cube_map -@@ -687,6 +690,8 @@ - #define GL_COMPRESSED_RGBA_S3TC_DXT3 ((GLenum)0x83F2) +@@ -688,6 +691,8 @@ char *IsSupported_texture_compression_En #define GL_COMPRESSED_RGBA_S3TC_DXT5 ((GLenum)0x83F3) #endif // #ifndef GL_VERSION_texture_compression_s3tc -+ -+#define GL_EXT_texture_compression_s3tc ++#define GL_EXT_texture_compression_s3tc ++ #ifndef GL_EXT_texture_compression_s3tc #define GL_EXT_texture_compression_s3tc + diff --git a/x11-clocks/glclock/files/patch-MString.H b/x11-clocks/glclock/files/patch-MString.H index a64f02735c5d..43349127840d 100644 --- a/x11-clocks/glclock/files/patch-MString.H +++ b/x11-clocks/glclock/files/patch-MString.H @@ -1,5 +1,5 @@ ---- MString.H.orig 2000-06-22 23:58:26.000000000 +0900 -+++ MString.H 2014-04-01 01:01:42.000000000 +0900 +--- MString.H.orig 2000-06-22 14:58:26 UTC ++++ MString.H @@ -66,7 +66,7 @@ #ifndef ___STRING_H___ #define ___STRING_H___ @@ -17,7 +17,7 @@ //#define STRING_DEBUG -@@ -307,15 +308,15 @@ +@@ -307,15 +308,15 @@ class String // m 文字目から n 文字 String& Mid(int m, int n = 1) ; diff --git a/x11-clocks/glclock/files/patch-MString.cpp b/x11-clocks/glclock/files/patch-MString.cpp index f43b3a283105..35c23ebb4828 100644 --- a/x11-clocks/glclock/files/patch-MString.cpp +++ b/x11-clocks/glclock/files/patch-MString.cpp @@ -1,4 +1,4 @@ ---- MString.cpp.orig +--- MString.cpp.orig 2000-06-22 14:58:41 UTC +++ MString.cpp @@ -1,6 +1,9 @@ diff --git a/x11-clocks/glclock/files/patch-glclock.H b/x11-clocks/glclock/files/patch-glclock.H index cdcc4198851c..fe24905509f9 100644 --- a/x11-clocks/glclock/files/patch-glclock.H +++ b/x11-clocks/glclock/files/patch-glclock.H @@ -1,6 +1,6 @@ ---- glclock.H.orig Sun Oct 1 21:29:41 2006 -+++ glclock.H Sun Oct 1 21:29:57 2006 -@@ -279,7 +279,7 @@ +--- glclock.H.orig 2000-06-23 03:16:20 UTC ++++ glclock.H +@@ -279,7 +279,7 @@ typedef int (APIENTRY * PFNGLCLOCKARGPRO #define DEFAULT_GAME_MODE_STRING "" // デフォルトイメージパス |