diff options
author | Pacho Ramos <pacho@gentoo.org> | 2018-04-23 21:16:35 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2018-04-23 21:17:24 +0200 |
commit | f2daf5fb7d2f7ab42aae5c739791e4ae8db2b31b (patch) | |
tree | 31439ebfa6d9d0445dcf249ebb95a88d24ed460a /games-arcade/rocksndiamonds/files | |
parent | games-arcade/rocksndiamonds: Version bump (diff) | |
download | gentoo-f2daf5fb7d2f7ab42aae5c739791e4ae8db2b31b.tar.gz gentoo-f2daf5fb7d2f7ab42aae5c739791e4ae8db2b31b.tar.bz2 gentoo-f2daf5fb7d2f7ab42aae5c739791e4ae8db2b31b.zip |
games-arcade/rocksndiamonds: Drop old
Package-Manager: Portage-2.3.31, Repoman-2.3.9
Diffstat (limited to 'games-arcade/rocksndiamonds/files')
-rw-r--r-- | games-arcade/rocksndiamonds/files/rocksndiamonds-3.3.1.2-parallel-build.patch | 12 | ||||
-rw-r--r-- | games-arcade/rocksndiamonds/files/rocksndiamonds-3.3.1.2-perms.patch | 29 |
2 files changed, 0 insertions, 41 deletions
diff --git a/games-arcade/rocksndiamonds/files/rocksndiamonds-3.3.1.2-parallel-build.patch b/games-arcade/rocksndiamonds/files/rocksndiamonds-3.3.1.2-parallel-build.patch deleted file mode 100644 index 0aa709652129..000000000000 --- a/games-arcade/rocksndiamonds/files/rocksndiamonds-3.3.1.2-parallel-build.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -ru rocksndiamonds-3.3.1.2.orig/src/Makefile rocksndiamonds-3.3.1.2/src/Makefile ---- rocksndiamonds-3.3.1.2.orig/src/Makefile 2013-11-24 08:05:56.000000000 -0500 -+++ rocksndiamonds-3.3.1.2/src/Makefile 2014-12-31 15:47:37.539941795 -0500 -@@ -255,7 +255,7 @@ - # build targets - # ----------------------------------------------------------------------------- - --all: $(AUTOCONF) libgame_dir game_em_dir game_sp_dir $(PROGNAME) -+all: $(PROGNAME) - - $(PROGNAME): $(RNDLIBS) $(TIMESTAMP_FILE) $(OBJS) $(ICON) - $(CC) $(PROFILING) $(OBJS) $(ICON) $(RNDLIBS) $(LDFLAGS) -o $(PROGNAME) diff --git a/games-arcade/rocksndiamonds/files/rocksndiamonds-3.3.1.2-perms.patch b/games-arcade/rocksndiamonds/files/rocksndiamonds-3.3.1.2-perms.patch deleted file mode 100644 index 65a06e6cdf77..000000000000 --- a/games-arcade/rocksndiamonds/files/rocksndiamonds-3.3.1.2-perms.patch +++ /dev/null @@ -1,29 +0,0 @@ -diff -up rocksndiamonds-3.3.0.1/src/libgame/setup.c.CVE-2011-4606 rocksndiamonds-3.3.0.1/src/libgame/setup.c ---- rocksndiamonds-3.3.0.1/src/libgame/setup.c.CVE-2011-4606 2011-12-12 14:28:30.083078680 -0500 -+++ rocksndiamonds-3.3.0.1/src/libgame/setup.c 2011-12-12 14:34:36.758744753 -0500 -@@ -1293,11 +1293,14 @@ void sortTreeInfo(TreeInfo **node_first) - #define MODE_W_ALL (S_IWUSR | S_IWGRP | S_IWOTH) - #define MODE_X_ALL (S_IXUSR | S_IXGRP | S_IXOTH) - -+#define MODE_R_PRIVATE (S_IRUSR) - #define MODE_W_PRIVATE (S_IWUSR) -+#define MODE_X_PRIVATE (S_IXUSR) -+ - #define MODE_W_PUBLIC (S_IWUSR | S_IWGRP) - #define MODE_W_PUBLIC_DIR (S_IWUSR | S_IWGRP | S_ISGID) - --#define DIR_PERMS_PRIVATE (MODE_R_ALL | MODE_X_ALL | MODE_W_PRIVATE) -+#define DIR_PERMS_PRIVATE (MODE_R_PRIVATE | MODE_X_PRIVATE | MODE_W_PRIVATE) - #define DIR_PERMS_PUBLIC (MODE_R_ALL | MODE_X_ALL | MODE_W_PUBLIC_DIR) - - #define FILE_PERMS_PRIVATE (MODE_R_ALL | MODE_W_PRIVATE) -@@ -1456,7 +1459,8 @@ void createDirectory(char *dir, char *te - if (running_setgid) - posix_umask(last_umask & group_umask); - else -- dir_mode |= MODE_W_ALL; -+ if (permission_class == PERMS_PUBLIC) -+ dir_mode |= MODE_W_ALL; - - if (!fileExists(dir)) - if (posix_mkdir(dir, dir_mode) != 0) |